Page MenuHomeFreeBSD

Update base/gcc to work with devel/freebsd-gcc6.
ClosedPublic

Authored by jhb on Nov 28 2019, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 14, 10:48 PM
Unknown Object (File)
Wed, Aug 13, 7:25 AM
Unknown Object (File)
Sun, Aug 3, 7:02 AM
Unknown Object (File)
Sat, Aug 2, 8:30 PM
Unknown Object (File)
Sat, Jul 26, 10:47 PM
Unknown Object (File)
Jul 18 2025, 8:47 AM
Unknown Object (File)
Jul 3 2025, 1:50 PM
Unknown Object (File)
Jul 1 2025, 12:15 PM
Subscribers

Details

Summary
  • Explicitly set all the toolchain <foo>_FOR_TARGET variables. GCC's default guess for CC, etc. happened to work with the powerpc64-gcc port, but fails when the binaries have a suffix like the '6' suffix in freebsd-gcc6. Setting these variables explicitly keeps GCC's build from having to guess.
  • Pull patches from freebsd6-gcc instead of powerpc64-gcc.
  • Use per-arch plists.
  • Simplify the post-install steps to keep the hard links the normal install performs and avoid renaming binaries. Keep links to 'cc' and 'c++'.
Test Plan
  • built base/gcc for amd64 (native), i386 and mips (using freebsd6-gcc via CROSS_TOOLCHAIN)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 27837
Build 26015: arc lint + arc unit