bug-gnu-utils
[Top][All Lists]
Advanced

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

gnu ld 2.12 segmentation fault on Solaris 2.8 -- followup


From: Andrew Koenig
Subject: gnu ld 2.12 segmentation fault on Solaris 2.8 -- followup
Date: Sat, 8 Jun 2002 11:01:53 -0400 (EDT)

It turns out that the python.o is not necessary:  merely trying to
link the libtcl8.3.so file will cause a core dump:

$ ld libtcl8.3.so
Segmentation Fault - core dumped
$ gdb /usr/gnu/bin/ld core
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
Core was generated by `ld libtcl8.3.so'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Reading symbols from 
/usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2...done.
Loaded symbols for /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
#0  _bfd_elf_section_from_bfd_section (abfd=0xe74f0, asect=0x0) at elf.c:4064
4064    elf.c: No such file or directory.
        in elf.c
(gdb) bt
#0  _bfd_elf_section_from_bfd_section (abfd=0xe74f0, asect=0x0) at elf.c:4064
#1  0x000423e0 in elf_link_add_object_symbols (abfd=0xe74f0, info=0xd43b8)
    at elflink.h:1452
#2  0x0001896c in load_symbols (entry=0xd6328, place=0xffbef1e8) at 
ldlang.c:1570
#3  0x000193d4 in open_input_bfds (s=0xd6328, force=false) at ldlang.c:1968
#4  0x0001c45c in lang_process () at ldlang.c:4102
#5  0x0001ef70 in main (argc=2, argv=0xffbef35c) at ldmain.c:402



reply via email to

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