--- Additional Comments From Ralf dot Wildenhues at gmx dot de 2009-06-04
06:00 ---
Which system and shell is this on exactly? Including version, please. Thanks.
--
What|Removed |Added
-
--- Additional Comments From apratt at us dot ibm dot com 2009-06-04 01:14
---
Created an attachment (id=3981)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3981&action=view)
Shell script test case, demonstrates the bug. Edit GOLDBINDIR before running.
This shell script demonst
The "gold" linker in the weekly build 2.19.51 does not resolve unresolved
symbols using indirect dependent shared libraries, while the default linker does
do so.
I found this on x86_64 Linux RHEL 4 U6. The default linker I have is GNU ld
version 2.15.92.0.2 20040927.
If you have an object file "t
$ ./ld-new -v
GNU gold (GNU Binutils 2.19.51.20090603) 1.9
$ touch shared.c
$ gcc -shared -o libfoo.so shared.c
$ ./ld-new -r libfoo.so
./ld-new: error: cannot mix -r with dynamic object libfoo.so
./ld-new: internal error in dynsym_index, at ../../gold/symtab.h:335
Also, gold returns a fatal erro
--
What|Removed |Added
AssignedTo|unassigned at sources dot |gingold at adacore dot com
|redhat dot com |
Status|NEW