This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: coolypf at qq dot com <gcc-bugzilla at gcc dot gnu dot org>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 8 Jan 2011 16:17:45 +0100
- Subject: Re: [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
- References: <bug-47223-4@http.gcc.gnu.org/bugzilla/> <bug-47223-4-fZexwp7U3w@http.gcc.gnu.org/bugzilla/>
> 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
Yes, I've changed the default when linker is detected to have linker support and
lto-plugin is build.
>
> 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
How this worked before?
On windows I would expect LTOPLUGINSONAME to point to the plugin DLL...
Honza