https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Václav Zeman from comment #9) > (In reply to H.J. Lu from comment #8) > > Your compiler doesn't have proper LTO support. Please turn it > > off with -fno-lto. > > How/why is it improper? Your LTO generates binary files targeting Linux from LTO IR.