https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125182
--- Comment #10 from Mark Millard <markmigm at gmail dot com> --- (In reply to Wilco from comment #9) > It should be easy to add the > > #if __has_include(<asm/hwcap.h>) > > back in if that is what worked in the past (or use __gnu_linux__). > > . . . As for going in that direction . . . It was also the use of #ifndef . . . #endif that was in place to allow overrides of the gcc16+ defaults in the original code structure. Now the linux API values are AT_HWCAP* are hard coded without allowing for such. > Should there be a #elif that includes a different header for FreeBSD? That is getting into specifics that the actual maintainer folks should be answering for anything done that is FreeBSD OS specific directly in the gcc code. > Does it support the ABI for ifuncs? The FreeBSD OS does use ifuncs. But I'm not familiar with the details. > How is the similar issue resolved for libgcc/config/aarch64/lse-init.c? I'm not familiar with that. I only had looked into the known build breakage as an independent set of eyes. I'm not a maintainer of any lang/gcc* or freebsd-gcc* ports or anything associated with the system clang/clang++ or devel/llvm* ports either. So I'll have to look around and to get a clue.
