This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/48447] LTO link fails to link libgcc correctly when -nostdlib option is specified


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>.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]