This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48447] LTO link fails to link libgcc correctly when -nostdlib option is specified
- From: "patrick at motec dot com.au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 7 Apr 2011 22:16:04 +0000
- Subject: [Bug lto/48447] LTO link fails to link libgcc correctly when -nostdlib option is specified
- Auto-submitted: auto-generated
- References: <bug-48447-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48447
--- Comment #8 from Patrick Oppenlander <patrick at motec dot com.au> 2011-04-07 22:15:56 UTC ---
> The correct fix is going to be in the linker, not the compiler, by implementing
> a second library scan pass and obsoleting the pass-through mechanism. I've got
> a revised version of that experimental patch that I'll attach to this PR for
> reference.
How does this affect circular dependencies between user supplied libraries. ld
used to resolve these ok, and from the outside it seems like a similar problem.