[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12742] ld error "unrecognized option '-plugin'" on mingw and how
From: |
gjl at gcc dot gnu.org |
Subject: |
[Bug ld/12742] ld error "unrecognized option '-plugin'" on mingw and how to build with plugins enabled on mingw |
Date: |
Thu, 01 Mar 2012 21:29:25 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12742
--- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-01
21:29:25 UTC ---
Tried again today and I can do a Canadian cross build and LTO works :-))
Configuration was
Build = i686-pc-linux-gnu
Host = i386-pc-mingw32
Target = avr-unknown-none
With GCC 3.4.5 as linux -> mingw32 cross
and GCC from trunk with 50616 fixed.
Binutils were from trunk but some days/weeks old.
There was no fake libdl or dlfcn-win32 in the build environment.
The last problem I had was that the linker calls the plugin but failed to
operate properly on it; presumably unloading the dll but I don't know enough of
that stuff.
Anyways, now it works and a small LTO compile finished without error and
produced reasonable results and optimizations that only LTO can perform. Great!
Hope I will find the time to bundle the snapshot build so that more people can
test and experiment with it and report problems.
--
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.