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 under Solaris


From: Andrew Koenig
Subject: gnu ld 2.12 segmentation fault under Solaris
Date: Mon, 5 Aug 2002 16:35:12 -0400 (EDT)

In early June, I reported a bug that causes gnu ld 2.12 to crash
under Solaris 2.8.  I can now also reproduce the problem under
Solaris 2.7.

Version:  Gnu ld 2.12.1, compiled on gcc 3.1.1

Symptom:

$ ld <Tcl library>/libtcl8.3.so
Segmentation Fault - core dumped
$ gdb <Gnu ld binary> core
GNU gdb 5.2.1
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.7"...
Core was generated by `ld <Tcl library>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-60/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
#0  _bfd_elf_section_from_bfd_section (abfd=0xea4c8, asect=0x0) at elf.c:4083
4083    elf.c: No such file or directory.
        in elf.c
(gdb) bt
#0  _bfd_elf_section_from_bfd_section (abfd=0xea4c8, asect=0x0) at elf.c:4083
#1  0x000424b0 in elf_link_add_object_symbols (abfd=0xea4c8, info=0xd77e0)
    at elflink.h:1450
#2  0x00018974 in load_symbols (entry=0xd8c10, place=0xffbefbc8) at 
ldlang.c:1571
#3  0x000193dc in open_input_bfds (s=0xd8c10, force=false) at ldlang.c:1969
#4  0x0001c4b4 in lang_process () at ldlang.c:4126
#5  0x0001f010 in main (argc=2, argv=0xffbefd3c) at ldmain.c:402


As before, libtcl8.3.so is as distributed by ActiveState.

I won't repeat the mistake of posting its entire contents to this list,
but if you send me email, I'll send you a copy.

-- 
Andrew Koenig, address@hidden, http://www.research.att.com/info/ark



reply via email to

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