Page MenuHomeFreeBSD

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

Authored by jhb on May 2 2022, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 10, 4:30 PM
Unknown Object (File)
Fri, Apr 26, 3:41 PM
Unknown Object (File)
Fri, Apr 26, 3:41 PM
Unknown Object (File)
Fri, Apr 26, 3:41 PM
Unknown Object (File)
Fri, Apr 26, 10:19 AM
Unknown Object (File)
Wed, Apr 24, 6:45 AM
Unknown Object (File)
Mon, Apr 22, 6:59 AM
Unknown Object (File)
Wed, Apr 17, 11:50 AM
Subscribers

Details

Summary

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

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
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 <bsd.cpu.mk> 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 bsd.cpu.mk 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.