I wrote: > >I'll check HP-UX/HPPA and let you know; since I didn't have a recent > >bootstrap of the trunk it will take a bit.
On Mon, Apr 04, 2005 at 03:45:26PM -0700, Geoffrey Keating wrote: > Even a relatively old bootstrap will do, assembler/linker > nondeterminism is what I'm really concerned about. I didn't even have an old bootstrap of the trunk for HP-UX; I tried to do one and it died with ./xgcc -B./ -B/u/jbuck/cvs.hp/trunk/hppa2.0w-hp-hpux11.00/bin/ -isystem /u/jbuck/cvs.hp/trunk/hppa2.0w-hp-hpux11.00/include -isystem /u/jbuck/cvs.hp/trunk/hppa2.0w-hp-hpux11.00/sys-include -L/remote/atg2/jbuck/hpux.tmp/trunk/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/u/jbuck/gnu/src/cvs/trunk/gcc/gcc -I/u/jbuck/gnu/src/cvs/trunk/gcc/gcc/. -I/u/jbuck/gnu/src/cvs/trunk/gcc/gcc/../include -I./../intl -I/u/jbuck/gnu/src/cvs/trunk/gcc/gcc/../libcpp/include -DL_muldi3 -c /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/libgcc2.c -o libgcc/./_muldi3.o /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/libgcc2.c: In function '__muldi3': /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/libgcc2.c:533: internal compiler error: in ?, at varasm.c:4828 This is of course completely unrelated to Geoff's patch. #0 fancy_abort (file=0x75caa8 "/u/jbuck/gnu/src/cvs/trunk/gcc/gcc/varasm.c", line=4828, function=0x75c9b0 "?") at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/diagnostic.c:559 The context around the abort reads 4825 { 4826 /* Some object formats don't support named sections at all. The 4827 front-end should already have flagged this as an error. */ 4828 gcc_unreachable (); 4829 } so evidently something is trying to use a named section on a platform that does not support it. Here's more backtrace. I have a somewhat older gdb (6.0), so not sure if the next message matters. The section name is ".text.unlikely". During symbol reading, block end address 0x2e6161 less than block start address 0x2e6170 (patched it). During symbol reading, block end address 0x2f10c1 less than block start address 0x2f10e0 (patched it). #1 0x002ef85c in default_no_named_section (name=0x40062e48 ".text.unlikely", flags=256, decl=0x0) at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/varasm.c:4828 #2 0x002e4b6c in named_section_real (name=0x40062e48 ".text.unlikely", flags=256, decl=0x0) at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/varasm.c:433 #3 0x002e4d68 in named_section (decl=0x0, name=0x40062e48 ".text.unlikely", reloc=0) at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/varasm.c:484 #4 0x002e46b0 in unlikely_text_section () at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/varasm.c:263 #5 0x002e722c in assemble_end_function (decl=0x67daac40, fnname=0x4008a318 "@__muldi3") at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/varasm.c:1381 #6 0x0030a0fc in rest_of_handle_final () at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/passes.c:303 #7 0x0030d930 in rest_of_compilation () at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/passes.c:1763 #8 0x00109018 in execute_one_pass (pass=0x400154f8) at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/tree-optimize.c:541 #9 0x00109158 in execute_pass_list (pass=0x400154f8) at /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/tree-optimize.c:578