[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/268] New: ld cores during builing gcc-3.4.1

From: andreas at florath dot net
Subject: [Bug ld/268] New: ld cores during builing gcc-3.4.1
Date: 16 Jul 2004 08:47:24 -0000

When using binutils-2.15 to build the gcc-3.4.1, the compilation fails with:

gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o genattrtab \
 genattrtab.o genautomata.o \
 rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o
insn-conditions.o print-rtl1.o errors.o \
 varray.o ../libiberty/libiberty.a -lm
collect2: ld terminated with signal 11 [Segmentation Fault], core dumped
make[2]: *** [genattrtab] Error 1
make[2]: Leaving directory `/appl/tmo/be4/tmp/gcc-compile/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/appl/tmo/be4/tmp/gcc-compile/gcc'
make: *** [bootstrap] Error 2

Stack trace:

(gdb) bt
#0  elf_sort_symbol (arg1=0x0, arg2=0x57dbe0) at elflink.c:2698
#1  0xff2cb588 in qsort () from /usr/lib/libc.so.1
#2  0x00166534 in bfd_elf_link_add_symbols (abfd=0x69a2a8, info=0x570690)
    at elflink.c:3919
#3  0x000395b4 in load_symbols (entry=0x574cd8, place=0xffbed608)
    at ldlang.c:1475
#4  0x00039a44 in open_input_bfds (s=0x574cd8, force=0) at ldlang.c:1888
#5  0x0003b804 in lang_process () at ldlang.c:4172
#6  0x0003ddb0 in main (argc=37, argv=0xffbed79c) at ldmain.c:466

If you want I can upload the core - but it's about 1.8M.

The binutils were themselfs build with gcc-3.4.1 - but this instance of the gcc
used the system ld.

           Summary: ld cores during builing gcc-3.4.1
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: critical
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: andreas at florath dot net
                CC: bug-binutils at gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]