https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117199
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ``` /home/apinski/upstream-gcc/bin/gcc -O3 -shared -fPIC -Wl,--whole-archive mceliece6688128f.i -Wl,--no-whole-archive -flto=auto -mtls-dialect=gnu2 -march=znver2 -fno-semantic-interposition ``` Is enough.