https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87085
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, AFAIK endbr32 should just be a nop. But -fcf-protection=none should work. I guess your GCC was configured to enable cf-protection by default and somehow that interferes... HJ?