devel/freebsd-gcc6: Retire obsolete port.
Supported FreeBSD versions can no longer be built with GCC 6 and
users wishing to compile FreeBSD with GCC are encouraged to use
devel/freebsd-gcc9 or devel/freebsd-gcc12 instead.
Reviewed by: manu, otis
Differential Revision: https://reviews.freebsd.org/D39218
Rename base/gcc to base/gcc6.
This is in preparation for adding a base/gcc9 port.
While here, update to GCC 6.5.0.
Share packing lists with the freebsd-gcc6 port as much as posible.
Split most of the freebsd-gcc6 pkg-plist into a pkg-plist.common that
lists arch-independent files under lib/. Change base/gcc6 to use the
arch-specific packing lists and pkg-list.common from freebsd-gcc6. In
addition, hook up packing lists for the remaining archs supported by
freebsd-gcc6 but not base/gcc6: aarch64 and sparc64.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D22900
Add freebsd-gcc6 port.
This port is basically identical to the existing <arch>-gcc ports
that use GCC6. However, it uses flavors for the different
architectures instead of slave ports. It also includes the external
toolchain makefile and thus subsumes the <arch>-xtoolchain-gcc
port into the new packages.
This should permit us to have ports for different major versions of
GCC (e.g. a freebsd-gcc9 port).
aarch64-gcc6 disables LTO support to work with aaarch64-binutils
which builds a static ld.bfd binary by default which is unable to work
Reviewed by: imp, brooks
Approved by: portmgr (swills)
Differential Revision: https://reviews.freebsd.org/D22147