https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111
--- Comment #6 from Jan <jan at jki dot io> --- -fno-semantic-interposition with -flto seems to be the culprit if I drop either compile works fine. minimum cflags for error: -march=native -O2 -flto -fno-semantic-interposition