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: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 5 Apr 2011 07:13:41 +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
Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |davek at gcc dot gnu.org
--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-05 07:13:35 UTC ---
I believe it's a linker bug. I can reproduce it with analogous testcase on
i686-pc-linux-gnu. It fails only with BFD ld. Works with:
1) Gold;
2) BFD ld from Hongjiu Lu's lto-mixed branch
<http://git.kernel.org/?p=devel/binutils/hjl/x86.git;a=summary>;
3) BFD ld with Dave Korn's experimental patch
<http://sourceware.org/ml/binutils/2011-02/msg00337.html>.