Page MenuHomeFreeBSD

arm: fail early on gcc builds

Authored by brooks on May 14 2024, 12:11 AM.
Referenced Files
F88232953: D45193.diff
Fri, Jul 12, 8:17 PM
Unknown Object (File)
Fri, Jun 21, 8:52 PM
Unknown Object (File)
Tue, Jun 18, 11:51 AM
Unknown Object (File)
May 22 2024, 12:13 PM
Unknown Object (File)
May 22 2024, 4:35 AM
Unknown Object (File)
May 20 2024, 4:17 AM
Unknown Object (File)
May 18 2024, 1:07 AM
Unknown Object (File)
May 17 2024, 4:45 PM



Since at least 2022 (see, it has
not been possible to build armv6/armv7 with gcc due to atomics macros
gcc doesn't like. Prevent developers doing due diligance from wasting
time and CPU cycles on this combination as it just fails to build in

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

I'd be more inclined to land the other review, but until it does, this isn't bad.

This revision is now accepted and ready to land.May 14 2024, 6:31 PM

I have a few fixes for some of the build issues with gcc, but c++ bits of world and kernel modules are broken.


I've seen more issues than that with gcc 13

Only amd64 and i386 successfully build with GCC currently. risc-v needs GCC's libatomic to link, powerpc and arm break in various ways. There's a reason that only amd64 GCC builds are enabled in CI. The toolchains do exist for all of our platforms, but getting things to build there is more of an aspiration.

This revision was automatically updated to reflect the committed changes.