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.
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
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.
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