This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48947] 4.6.0 fails to link ffmpeg with LTO and gold
- From: "leif.walsh at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 Jul 2012 20:44:46 +0000
- Subject: [Bug lto/48947] 4.6.0 fails to link ffmpeg with LTO and gold
- Auto-submitted: auto-generated
- References: <bug-48947-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48947
leif.walsh at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |leif.walsh at gmail dot com
--- Comment #10 from leif.walsh at gmail dot com 2012-07-14 20:44:46 UTC ---
I have this error too, with 4.7.1 and ld.gold. I've confirmed that all my
objects are being compiled with fPIC, and even made it the first argument to
g++ (someone suggested that). It only seems to be an issue for c++ symbols. I
have a large codebase in c to which I'm trying to add a few c++11 features. The
linker only complains about c++ (templated) functions.