[Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32

coolypf at qq dot com gcc-bugzilla@gcc.gnu.org
Sat Jan 8 15:12:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #5 from coolypf <coolypf at qq dot com> 2011-01-08 15:05:29 UTC ---
(In reply to comment #4)
> > when configuring target-libgcc,
> > failed with xgcc cannot create executable
> > config.log shows 'liblto_plugin-0.dll not found'
> > maybe -fuse-linker-plugin option not handled correctly
> 
> Yes, it seems that linker plugin handling on cygwin is not done well.
> Is linker plugin built for you and does the linker support it?
> 
> Honza

lto and linker plugin was OK in 20110101 snapshot
in which '-fuse-linker-plugin' was off by default
but in rev 168594, the option becomes on by default

this option causes checking LTOPLUGINSONAME in gcc/gcc.c (line
6812 around), which is not built with '--disable-shared'

something is wrong either with makefile or with gcc/gcc.c



More information about the Gcc-bugs mailing list