Since at least 2022 (see https://reviews.freebsd.org/D36754), 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
libc.
Details
Details
- Reviewers
imp jhb andrew - Commits
- rG4c0dfd5959bd: arm: fail early on gcc builds
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I have a few fixes for some of the build issues with gcc, but c++ bits of world and kernel modules are broken.
Makefile.inc1 | ||
---|---|---|
180 | I've seen more issues than that with gcc 13 |
Comment Actions
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.