https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60160
--- Comment #9 from Andre Heider <a.heider at gmail dot com> --- See also https://github.com/rui314/mold/issues/977 mold v1.10.1 can't handle crt files which are built with LTO enabled. But it sounds more like LTO on crt as-is produces the wrong thing? __EH_FRAME_BEGIN__.lto_priv.0 resides in .eh_frame then.