|
From: | xunxun1982 at gmail dot com |
Subject: | [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++ |
Date: | Sun, 18 Sep 2011 22:30:42 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12762 --- Comment #26 from xunxun <xunxun1982 at gmail dot com> 2011-09-18 22:30:42 UTC --- (In reply to comment #25) > Created attachment 5936 [details] > mingw64-testcase > > ar cru libm1.a sin.o sinl_internal.o > It's very strange that if I don't use libm1.a, and use the obj directly, it works well. As is: gcc -flto -fuse-linker-plugin main.c sin.o sinl_internal.o merr.o That results in no errors. -- 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.
[Prev in Thread] | Current Thread | [Next in Thread] |