[Bug lto/89166] -static prevents liblto_plugin to be created

2019-02-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89166 --- Comment #4 from Richard Biener --- You could try BOOT_LDFLAGS=-static, not sure if that also applies to the (also host) lto-plugin.

[Bug lto/89166] -static prevents liblto_plugin to be created

2019-02-03 Thread ilg at livius dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89166 --- Comment #3 from Liviu Ionescu --- I tried all sort of configurations to build static executables, but I could not find one that works while building Windows binaries (with mingw) and still allow the liblto_plugin-0.dll to be created. If the

[Bug lto/89166] -static prevents liblto_plugin to be created

2019-02-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89166 --- Comment #2 from Andrew Pinski --- If you use -static in LDFLAGS, you will have other issues. What are you trying to do? This is like telling the doctor it hurts when I bend my arm the wrong way and then the doctor tells you stop doing that.

[Bug lto/89166] -static prevents liblto_plugin to be created

2019-02-03 Thread ilg at livius dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89166 --- Comment #1 from Liviu Ionescu --- a related bug is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84995