https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54568
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-08-31 Ever confirmed|0 |1 --- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- -static -flto may not work without --eh-frame-hdr: https://sourceware.org/ml/binutils/2017-08/msg00365.html since LTO may pull in object files after crtend.o.