https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125182
--- Comment #11 from Mark Millard <markmigm at gmail dot com> --- (In reply to Mark Millard from comment #10) > > How is the similar issue resolved for libgcc/config/aarch64/lse-init.c? Looks to me like the lang/gcc* and devel/freebsd-gcc* ports never had identified this area as something needing FreeBSD specifics. The: #ifdef __gnu_linux__ . . . #endif /* __gnu_linux__ */ structure avoided having init_have_lse_atomics or its independent AT_HWCAP 16 definition involved so it was not made obvious by a build failure historically, nor by making __getauxval(16) calls that would be odd to FreeBSD 's code for the context but possibly hard to notice. (Note: devel/freebsd-gcc* has not progressed beyond gcc15 yet.)
