bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/453] New: Segmentation fault in bfd_getl32 ()


From: pluto at pld-linux dot org
Subject: [Bug ld/453] New: Segmentation fault in bfd_getl32 ()
Date: 16 Oct 2004 08:20:29 -0000

# cat z.c 
int main(int argc,char **argv){return 0;} 
 
# gcc z.c -o z 
 
# ld ./z -lpthread 
/usr/bin/../lib/libpthread.so(.dynamic+0x0): multiple definition of `_DYNAMIC' 
./z(.dynamic+0x0): first defined here 
/usr/bin/../lib/libpthread.so(.got.plt+0x0): multiple definition of 
`_GLOBAL_OFFSET_TABLE_' 
./z(.got.plt+0x0): first defined here 
Segmentation fault 
 
# gdb --args ld ./z -lpthread 
 
(gdb) r 
Starting program: /usr/bin/ld ./z -lpthread 
 
.../usr/bin/../lib/libpthread.so(.dynamic+0x0): multiple definition of 
`_DYNAMIC' 
./z(.dynamic+0x0): first defined here 
/usr/bin/../lib/libpthread.so(.got.plt+0x0): multiple definition of 
`_GLOBAL_OFFSET_TABLE_' 
./z(.got.plt+0x0): first defined here 
 
Program received signal SIGSEGV, Segmentation fault. 
0xb7f5e4c7 in bfd_getl32 () from /usr/lib/libbfd-2.15.92.0.2.so 
 
(gdb) bt 
#0  0xb7f5e4c7 in bfd_getl32 () from /usr/lib/libbfd-2.15.92.0.2.so 
#1  0xb7f97bd8 in bfd_elf_final_link () from /usr/lib/libbfd-2.15.92.0.2.so 
#2  0x0805d413 in ?? () 
#3  0x080bd000 in ?? () 
#4  0x080b3c80 in optind () 
#5  0x00000004 in ?? () 
#6  0x00000000 in ?? () 
#7  0xb7f3c800 in __malloc_initialize_hook () from /lib/libc.so.6 
#8  0x00000000 in ?? () 
#9  0x00000011 in ?? () 
#10 0x00000000 in ?? () 
#11 0x0804970b in ?? () 
#12 0x00000000 in ?? () 
#13 0x08049700 in ?? () 
#14 0x080bd000 in ?? () 
#15 0x0804970f in ?? () 
#16 0x00000000 in ?? () 
#17 0x0804970c in ?? () 
#18 0x00000000 in ?? () 
#19 0xb7e8b4e1 in malloc () from /lib/libc.so.6 
#20 0x0805af3e in ?? () 
#21 0x080b5568 in ?? () 
#22 0x08081141 in _IO_stdin_used () 
#23 0x08081138 in _IO_stdin_used () 
#24 0x00000000 in ?? () 
#25 0x0177ff8e in ?? () 
#26 0xbffff520 in ?? () 
#27 0xb8001508 in ?? () 
#28 0x080499e2 in ?? () 
#29 0x00000000 in ?? () 
#30 0x00000000 in ?? () 
#31 0x00000000 in ?? () 
#32 0x00000000 in ?? () 
#33 0xb7f3c378 in ?? () from /lib/libc.so.6 
#34 0x080b2aec in ?? () 
#35 0xbffff4c8 in ?? () 
#36 0x0804a1f5 in _init () 
#37 0xb7e3cb4d in __libc_start_main () from /lib/libc.so.6 
#38 0x0804ab11 in ?? ()

-- 
           Summary: Segmentation fault in bfd_getl32 ()
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: pluto at pld-linux dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: pentium3-pld-linux
  GCC host triplet: pentium3-pld-linux
GCC target triplet: pentium3-pld-linux


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

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