Posted on 2008-12-17 06:12:59-08 by gcb in response to 9549
Re: failing to compile in USE_ARCH=64 guise?
Compiltion warnings are of the form ;

GObject.xs: In function 'gperl_register_object': GObject.xs:333: warning: cast to pointer from integer of different size

That is just one example of many same warnings in various files - if you want the whole spray let me know. Yeah, the multiarch wrapper for perl seems to work most everywhere else but here..so...telling valgrind to use the perl-64 binary instead results in;
==1441== Conditional jump or move depends on uninitialised value(s) ==1441== at 0x444449: Perl_re_compile (in /usr/bin/perl-64) ==1441== by 0x426B48: Perl_pmruntime (in /usr/bin/perl-64) ==1441== by 0x50F883: Perl_yyparse (in /usr/bin/perl-64) ==1441== by 0x49C62F: S_doeval (in /usr/bin/perl-64) ==1441== by 0x49EC04: Perl_pp_require (in /usr/bin/perl-64) ==1441== by 0x468C4D: Perl_runops_standard (in /usr/bin/perl-64) ==1441== by 0x463CF0: Perl_call_sv (in /usr/bin/perl-64) ==1441== by 0x464148: Perl_call_list (in /usr/bin/perl-64) ==1441== by 0x41FBA0: S_process_special_blocks (in /usr/bin/perl-64) ==1441== by 0x42B248: Perl_newATTRSUB (in /usr/bin/perl-64) ==1441== by 0x42A02C: Perl_utilize (in /usr/bin/perl-64) ==1441== by 0x5105F4: Perl_yyparse (in /usr/bin/perl-64) ==1441== by 0x49C62F: S_doeval (in /usr/bin/perl-64) ==1441== by 0x49EC04: Perl_pp_require (in /usr/bin/perl-64) ==1441== by 0x468C4D: Perl_runops_standard (in /usr/bin/perl-64) ==1441== by 0x463CF0: Perl_call_sv (in /usr/bin/perl-64) ==1441== by 0x464148: Perl_call_list (in /usr/bin/perl-64) ==1441== by 0x41FBA0: S_process_special_blocks (in /usr/bin/perl-64) ==1441== by 0x42B248: Perl_newATTRSUB (in /usr/bin/perl-64) ==1441== by 0x42A02C: Perl_utilize (in /usr/bin/perl-64) ==1441== by 0x5105F4: Perl_yyparse (in /usr/bin/perl-64) ==1441== by 0x465EFF: S_parse_body (in /usr/bin/perl-64) ==1441== by 0x466D16: perl_parse (in /usr/bin/perl-64) ==1441== by 0x41EC82: main (in /usr/bin/perl-64) ==1441== ==1441== Conditional jump or move depends on uninitialised value(s) ==1441== at 0x444449: Perl_re_compile (in /usr/bin/perl-64) ==1441== by 0x426B48: Perl_pmruntime (in /usr/bin/perl-64) ==1441== by 0x426D3D: Perl_ck_split (in /usr/bin/perl-64) ==1441== by 0x42728B: Perl_convert (in /usr/bin/perl-64) ==1441== by 0x510330: Perl_yyparse (in /usr/bin/perl-64) ==1441== by 0x49C62F: S_doeval (in /usr/bin/perl-64) ==1441== by 0x49EC04: Perl_pp_require (in /usr/bin/perl-64) ==1441== by 0x468C4D: Perl_runops_standard (in /usr/bin/perl-64) ==1441== by 0x463CF0: Perl_call_sv (in /usr/bin/perl-64) ==1441== by 0x464148: Perl_call_list (in /usr/bin/perl-64) ==1441== by 0x41FBA0: S_process_special_blocks (in /usr/bin/perl-64) ==1441== by 0x42B248: Perl_newATTRSUB (in /usr/bin/perl-64) ==1441== by 0x42A02C: Perl_utilize (in /usr/bin/perl-64) ==1441== by 0x5105F4: Perl_yyparse (in /usr/bin/perl-64) ==1441== by 0x49C62F: S_doeval (in /usr/bin/perl-64) ==1441== by 0x49EC04: Perl_pp_require (in /usr/bin/perl-64) ==1441== by 0x468C4D: Perl_runops_standard (in /usr/bin/perl-64) ==1441== by 0x463CF0: Perl_call_sv (in /usr/bin/perl-64) ==1441== by 0x464148: Perl_call_list (in /usr/bin/perl-64) ==1441== by 0x41FBA0: S_process_special_blocks (in /usr/bin/perl-64) ==1441== by 0x42B248: Perl_newATTRSUB (in /usr/bin/perl-64) ==1441== by 0x42A02C: Perl_utilize (in /usr/bin/perl-64) ==1441== by 0x5105F4: Perl_yyparse (in /usr/bin/perl-64) ==1441== by 0x465EFF: S_parse_body (in /usr/bin/perl-64) ==1441== by 0x466D16: perl_parse (in /usr/bin/perl-64) ==1441== by 0x41EC82: main (in /usr/bin/perl-64) Loaded 8 extra types from doctypes ==1441== ==1441== Conditional jump or move depends on uninitialised value(s) ==1441== at 0xB6CB84B: newSVGSignalQuery (in /mnt/store/Glib-1.200/blib/arch/auto/Glib/Glib.so) ==1441== by 0xB6BA36C: XS_Glib__Type_list_signals (in /mnt/store/Glib-1.200/blib/arch/auto/Glib/ +Glib.so) ==1441== by 0x46A6BB: Perl_pp_entersub (in /usr/bin/perl-64) ==1441== by 0x468C4D: Perl_runops_standard (in /usr/bin/perl-64) ==1441== by 0x4646ED: perl_run (in /usr/bin/perl-64) ==1441== by 0x41ECBB: main (in /usr/bin/perl-64) ==1441== ==1441== Invalid read of size 8 ==1441== at 0xB6B8DA3: XS_Glib__Type_list_values (in /mnt/store/Glib-1.200/blib/arch/auto/Glib/G +lib.so) ==1441== by 0x46A6BB: Perl_pp_entersub (in /usr/bin/perl-64) ==1441== by 0x468C4D: Perl_runops_standard (in /usr/bin/perl-64) ==1441== by 0x464678: perl_run (in /usr/bin/perl-64) ==1441== by 0x41ECBB: main (in /usr/bin/perl-64) ==1441== Address 0x18 is not stack'd, malloc'd or (recently) free'd ==1441== ==1441== Process terminating with default action of signal 11 (SIGSEGV) ==1441== Access not within mapped region at address 0x18 ==1441== at 0xB6B8DA3: XS_Glib__Type_list_values (in /mnt/store/Glib-1.200/blib/arch/auto/Glib/G +lib.so) ==1441== by 0x46A6BB: Perl_pp_entersub (in /usr/bin/perl-64) ==1441== by 0x468C4D: Perl_runops_standard (in /usr/bin/perl-64) ==1441== by 0x464678: perl_run (in /usr/bin/perl-64) ==1441== by 0x41ECBB: main (in /usr/bin/perl-64) ==1441== ==1441== ERROR SUMMARY: 13 errors from 4 contexts (suppressed: 2 from 1) ==1441== malloc/free: in use at exit: 4,037,860 bytes in 47,757 blocks. ==1441== malloc/free: 78,690 allocs, 30,933 frees, 6,650,302 bytes allocated. ==1441== For counts of detected errors, rerun with: -v ==1441== searching for pointers to 47,757 not-freed blocks. ==1441== checked 4,214,824 bytes. ==1441== ==1441== LEAK SUMMARY: ==1441== definitely lost: 2,864 bytes in 48 blocks. ==1441== possibly lost: 1,752 bytes in 30 blocks. ==1441== still reachable: 4,033,244 bytes in 47,679 blocks. ==1441== suppressed: 0 bytes in 0 blocks. ==1441== Rerun with --leak-check=full to see details of leaked memory. Segmentation fault

Hmm...could this at all be related to UTF-8 support (or lack thereof)?
Direct Responses: 9659 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.