bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/148] New: ld segfaults in elf_sort_symbol() of binutils-2.15.90.


From: niki dot waibel at newlogic dot com
Subject: [Bug ld/148] New: ld segfaults in elf_sort_symbol() of binutils-2.15.90.0.3/bfd/elflink.c
Date: 5 May 2004 23:25:36 -0000

when compiling libpng-1.2.5 with gcc-3.4.0 and binutils-2.15.90.0.3, ld
segfaults at the end:
=====
gcc -o pngtest -I/misc/sparc-sun-solaris2.8/include -Wall -O3 -funroll-loops   p
ngtest.o -L. -Wl,-rpath,. -L/misc/sparc-sun-solaris2.8/lib -Wl,-rpath,/misc/spar
c-sun-solaris2.8/lib -lpng12 -lz -lm
collect2: ld terminated with signal 11 [Segmentation Fault]
make: *** [pngtest] Error 1
=====
gdb says:
===
Program received signal SIGSEGV, Segmentation fault.
0x0005e534 in elf_sort_symbol ()
(gdb) bt
#0  0x0005e534 in elf_sort_symbol ()
#1  0xff2cb07c in qsort () from /usr/lib/libc.so.1
#2  0x00060050 in bfd_elf_link_add_symbols ()
(gdb) quit
===
changelog says that this code is new since
2004-03-26  Alan Modra  <address@hidden>

ld of binutils-2.14.90.0.7 if fine.

-- 
           Summary: ld segfaults in elf_sort_symbol() of binutils-
                    2.15.90.0.3/bfd/elflink.c
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: niki dot waibel at newlogic dot com
                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


http://sources.redhat.com/bugzilla/show_bug.cgi?id=148

------- 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]