https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117862
--- Comment #3 from Jonathan Gruber <jonathan.gruber.jg at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Optimize-Options.html#index- > fsemantic-interposition > > This is by design. You need -fno-semantic-interposition.. (In reply to Andreas Schwab from comment #2) > Or declare the function with hidden visibility. Thanks for the tips. Sorry to have wasted y'all's time.