http://sourceware.org/bugzilla/show_bug.cgi?id=12762
--- Comment #25 from xunxun <xunxun1982 at gmail dot com> 2011-09-18 22:26:00 UTC --- Created attachment 5936 --> http://sourceware.org/bugzilla/attachment.cgi?id=5936 mingw64-testcase Add mingw64 testcase, the source is from mingw64 CRT source. You can build the source code using mingw64 compiler as follows to reproduce the issue: gcc -flto -DHAVE_CONFIG_H -I. -m32 -I./include -D_CRTBLD -pipe -std=gnu99 -c ./math/sin.c gcc -flto -DHAVE_CONFIG_H -I. -m32 -I./include -D_CRTBLD -pipe -std=gnu99 -c ./math/sinl_internal.S gcc -flto -DHAVE_CONFIG_H -I. -m32 -D_SYSCRT=1 -DCRTDLL=1 -I./include -D_CRTBLD -pipe -std=gnu99 -c ./crt/merr.c ar cru libm1.a sin.o sinl_internal.o gcc -flto -fuse-linker-plugin main.c libm1.a merr.o In the end, it will show like this: `___mingw_raise_matherr' referenced in section `.text' of e:/mypack/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/lib/../lib/libmingwex.a(lib32_libmingwex_a-sin.o): defined in discarded section `.text' of merr.o (symbol from plugin) `___mingw_raise_matherr' referenced in section `.text' of e:/mypack/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/lib/../lib/libmingwex.a(lib32_libmingwex_a-sin.o): defined in discarded section `.text' of merr.o (symbol from plugin) collect2: ld returned 1 exit status -- 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils