[Bug target/16304] [3.4/3.5? regression] bootstrap failure on AIX 4.3.3: cannot build strstream in libstdc++

redi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 16 23:42:00 GMT 2005


------- Additional Comments From redi at gcc dot gnu dot org  2005-01-16 23:41 -------
I get a bootstrap failure on 3.4 using x86_64 Linux with this patch.
(mainline bootstraps fine).

../../gcc-3.4/gcc/crtstuff.c:320: internal compiler error: Segmentation fault

gdb shows

Program received signal SIGSEGV, Segmentation fault.
0x0000000000638a4a in process_pending_assemble_output_defs ()
    at ../../gcc-3.4/gcc/varasm.c:4430
4430      for (i = 0; i < VARRAY_ACTIVE_SIZE (output_defs); i++)
(gdb)  p output_defs
$1 = 0x0

I can bootstrap by adding "if (output_defs)" before the for-loop at
varasm.c:4430 but I don't know if that's the right thing to do.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16304



More information about the Gcc-bugs mailing list