This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug lto/47225] [4.6.0 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"


> I.e. only static library of lto-plugin gets built.
Ahh, static library for lto-plugin is of course pointless thing.  I guess we
want to disable plugin when --disable-shared is passed.  I will see if my
autoconf-fu is on par to do so.

Still, it is bit sad situation - you are right that you are not interested in
shared libraries for cross, but you might be still interested in plugin for
LTO.  Either we need to document the dependency (and warn when plugin is
available but shared libs are disabled) or just enable shared libs for the
plugin itself.

I am adding paolo to CC, he should know best what to do here.

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]