--- Additional Comments From rmansfield at qnx dot com 2009-06-24 13:29
---
In the classic GNU ld, -r changes the search order for ld and opens libfoo.a. If
it's the desired behavior for gold I will update my makefiles.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10237
--
--- Additional Comments From ian at airs dot com 2009-06-24 13:17 ---
Offhand, I don't think this is a bug. I don't see why -r should necessarily
change the search path used for archives. You can easily change the search path
by using the -Bstatic option.
--
http://sourceware.org/bu
--- Additional Comments From rmansfield at qnx dot com 2009-06-24 13:00
---
Thanks Ian.
I think there is still an issue with the handling of -r. The gold will report an
error if it encounters a shared object and will not continue searching for the
static archive.
For example:
$ cat
--- Additional Comments From ian at airs dot com 2009-06-24 05:03 ---
Thanks for the bug report. I fixed these cases. Rather than worry about the
internal data structures when using -r with a shared library, I just made it a
fatal error.
--
What|Removed
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-06-24
05:01 ---
Subject: Bug 10237
CVSROOT:/cvs/src
Module name:src
Changes by: i...@sourceware.org 2009-06-24 05:01:17
Modified files:
gold : ChangeLog gold.cc options.cc options.