On Mon, 3 Feb 2014 13:03 +0100, "H.Merijn Brand" <[email protected]> wrote:
HP-UX + gcc is broken for some time now for 64bit builds Below the core dump stack trace. What's next? > v5.19.8-272-gbfa0ee7 Configuration (common) -Dcc=gcc > ----------- --------------------------------------------------------- > O O O O O O > M - - M - - -Duse64bitall > O O O O O O -Duseithreads > M - - M - - -Duseithreads -Duse64bitall > > Compiler messages(gcc): > try.c: In function 'main': > make ...toke.c: In function 'Perl_yylex': > toke.c:5404:4: warning: null argument where non-null required (argument 1) > [-Wnonnull] Mmm, that doesn't sound right > compress.c: In function 'sendMTFValues': > compress.c:243:19: warning: variable 'nBytes' set but not used > [-Wunused-but-set-variable] ignorable > make ...op.c: In function 'Perl_custom_op_get_field': > op.c:12098:2: warning: 'any.xop_name' may be used uninitialized in this > function [-Wmaybe-uninitialized] maybe important > toke.c: In function 'Perl_yylex': > taint.c: In function 'Perl_taint_proper': > taint.c:38:2: warning: format '%ld' expects argument of type 'long int', but > argument 5 has type 'uid_t' [-Wformat] > taint.c:38:2: warning: format '%ld' expects argument of type 'long int', but > argument 6 has type 'uid_t' [-Wformat] ignorable for now > op.c: In function 'Perl_custom_op_get_field': > toke.c:5404:4: warning: null argument where non-null required (argument 2) > [-Wnonnull] > sv.c: In function 'Perl_dirp_dup': > sv.c:11899:11: warning: comparison between signed and unsigned integer > expressions [-Wsign-compare] perl-current > gdb64 miniperl Detected IPF executable. Invoking /opt/langtools/bin/gdb. HP gdb 6.2 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3. Copyright 1986 - 2011 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 6.2 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. (gdb) run -Ilib -f write_buildcustomize.pl Starting program: /pro/3gl/CPAN/perl-current/miniperl -Ilib -f write_buildcustomize.pl Program received signal SIGBUS, Bus error si_code: 1 - BUS_ADRALN - Invalid address alignment. Please refer to the following link that helps in handling unaligned data: http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3. 0x40000000002117a0:0 in S_ssc_and (pRExC_state=0x9fffffffffffd308, ssc=0x9fffffffffffd158, and_with=0x6000000000097d44) (gdb) where #0 0x40000000002117a0:0 in S_ssc_and (pRExC_state=0x9fffffffffffd308, ssc=0x9fffffffffffd158, and_with=0x6000000000097d44) #1 0x4000000000258200:0 in S_study_chunk (pRExC_state=0x9fffffffffffd308, scanp=0x9fffffffffffd0b0, minlenp=0x9fffffffffffd260, deltap=0x9fffffffffffd1e8, last=0x6000000000097d70, data=0x9fffffffffffd0b8, stopparen=-1, recursed_depth=0, and_withp=<not available>, flags=10240, depth=1) #2 0x40000000002505d0:0 in S_study_chunk (pRExC_state=0x9fffffffffffd308, scanp=0x9fffffffffffd620, minlenp=0x9fffffffffffd260, deltap=0x9fffffffffffd630, last=0x6000000000097da0, data=0x9fffffffffffd270, stopparen=-1, recursed_depth=0, and_withp=<not available>, flags=11264, depth=0) #3 0x4000000000264c90:0 in Perl_re_op_compile (patternp=Unhandled dwarf expression opcode ) #4 0x400000000042b390:0 in Perl_pp_regcomp () #5 0x4000000000288880:0 in Perl_runops_debug () #6 0x40000000000ab540:0 in Perl_call_sv (sv=0x600000000008ff58, flags=Error accessing memory address 0x15000100000000: Bad address. ) #7 0x40000000000b42b0:0 in Perl_call_list (oldscope=2, paramList=0x60000000000a3f40) #8 0x40000000000c9140:0 in S_process_special_blocks (floor=37, fullname=0x60000000000734f0 "BEGIN", gv=Unhandled dwarf expression opcode ) #9 0x4000000000118c70:0 in Perl_newATTRSUB_x (floor=37, o=0x60000000000a3db8, proto=Error accessing memory address 0x15000100000000: Bad address. ) #10 0x400000000011a020:0 in Perl_utilize (aver=1, floor=37, version=0x0, idop=0x60000000000a3c98, arg=Unhandled dwarf expression opcode ) #11 0x40000000001ca540:0 in Perl_yyparse (gramtype=Unhandled dwarf expression opcode ) #12 0x40000000000c4130:0 in perl_parse (my_perl=0x600000000002ce50, xsinit=0x40000000001274d0:0 <xs_init>, argc=4, argv=0x9fffffffffffee70, env=0x0) #13 0x4000000000127640:0 in main (argc=Error accessing memory address 0x15000100000000: Bad address. ) at miniperlmain.c:116 -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.19 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
