bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12762] lto produces multiple definition errors for all symbols (


From: xunxun1982 at gmail dot com
Subject: [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++
Date: Mon, 1 Aug 2011 20:58:57 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12762

--- Comment #11 from PcX <xunxun1982 at gmail dot com> 2011-08-01 20:58:52 UTC 
---
(In reply to comment #8)
> Created attachment 5869 [details]
> Possible patch

I test the patch using ruben's testcase, and it seems to work very well.

--------------------------------------------
g++ -flto -c main.cpp
g++ -flto -c class.cpp
g++ -flto -fuse-linker-plugin main.o class.o
--------------------------------------------

No errors and no warnings.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]