Page MenuHomeFreeBSD

devel/freebsd-gcc9: Add flavors for armv6 and armv7.

Authored by jhb on May 2 2022, 5:20 PM.
Referenced Files
Unknown Object (File)
Wed, Apr 17, 11:50 AM
Unknown Object (File)
Tue, Apr 16, 5:26 PM
Unknown Object (File)
Sun, Mar 31, 8:29 AM
Unknown Object (File)
Wed, Mar 27, 6:44 AM
Unknown Object (File)
Wed, Mar 27, 6:42 AM
Unknown Object (File)
Feb 29 2024, 9:01 AM
Unknown Object (File)
Feb 29 2024, 7:21 AM
Unknown Object (File)
Feb 10 2024, 6:47 AM



These build GCC compilers for the armv6 and armv7 architectures
suitable for use with CROSS_TOOLCHAIN. These toolchains use
the existing arm_gnueabi flavor of binutils.

Diff Detail

R11 FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

jhb requested review of this revision.May 2 2022, 5:20 PM

I haven't gotten a full world build to finish with this, but it makes it pretty far. I'm up to the same failures I currently see on amd64 in rescue.

In theory we could have a single toolchain instead of separate armv6 and armv7 compilers, but we would need to start setting -march unconditionally for arm in <> whereas separate compilers here avoids requiring that.

This is fine. armv6 likely has a more limited time frame than armv7 and it certainly has a much smaller audience.
Having said that, this may help unless we wanted to opt for the more intrusive idea. We did it for MIPS, but there were always issues with that for edge cases, users of gmake not picking it up, etc.

This revision was not accepted when it landed; it landed in state Needs Review.May 20 2022, 5:14 PM
This revision was automatically updated to reflect the committed changes.