devel/freebsd-gcc9: Remove old GCC system toolchain
FreeBSD 13.0 and later can be compiled with devel/freebsd-gcc12
or devel/freebsd-gcc13 and GCC 9 is unsupported upstream.
PR: 269659
Reviewed by: diizzy, brooks, emaste
Differential Revision: https://reviews.freebsd.org/D43379
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
devel/freebsd-gcc{9,12}: Various cleanups, no functional change
- Use DISTVERSION instead of PORTVERISON
- Don't silence post-install commands to remove various files from the
staging area
- Simplify logic to handle arch-specific packing lists
- Clarify package comment and description
- Clarify FreeBSD 12 ignore rule for gcc12
Reviewed by: fuz
Differential Revision: https://reviews.freebsd.org/D42590
devel/freebsd-gcc9: fix build with libc++ 17
When building relatively recent gcc ports (with C++ in them) against
libc++ 17, you get errors similar to:
In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/cp/module.cc:208:
In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/system.h:239:
In file included from /usr/include/c++/v1/vector:321:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
In file included from /usr/include/c++/v1/locale:202:
/usr/include/c++/v1/__locale:546:5: error: '__abi_tag__' attribute only
applies to structs, variables, functions, and namespaces
546 | _LIBCPP_INLINE_VISIBILITY
| ^
/usr/include/c++/v1/__config:813:37: note: expanded from macro
'_LIBCPP_INLINE_VISIBILITY'
(Only the first 15 lines of the commit message are shown above )
devel/freebsd-gcc9: Build with -std=c++11.
This works around errors from clang from LLVM16 due to -Wregister
warnings that are fatal in the default C++ standard (C++17) used by
clang 16.
devel/freebsd-gcc*: Drop stale workaround for arm targets.
This workaround to force -fbracket-depth=512 was removed from lang/gcc
during the upgrade from gcc 4.8 to gcc 5.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
compiler: use CHOSEN_COMPILER_TYPE instead of COMPILER_TYPE
CHOSEN_COMPILER_TYPE is the only safe variable to let a port know which
typer of compiler has been elected to be used by the framework
PR: 199098
devel/freebsd-gcc9: Bump to 9.5.0.
While here, switch the default ABI for powerpc64 to ELFv2.
Reviewed by: lwhsu
Differential Revision: https://reviews.freebsd.org/D35684
devel/freebsd-gcc9: Add flavors for armv6 and armv7.
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.
Differential Revision: https://reviews.freebsd.org/D35110
Update to MPC version 1.2.0 with the following changes:
- New functions:
. mpc_sum
. mpc_dot
- Several functions are more robust with a reduced exponent range
(for example corresponding to IEEE 754 binary formats).
- New mpcheck tool for comparison with the native C library (which
is not installed by default).
Bump all directly dependent ports. Do not bump those indirectly
dependent via the lang/gcc* family since their run-time dependencies
and code generated should not be affected.
PR: 249950
Submitted by: wen
Tidy the Makefiles for devel/freebsd-gcc*. No functional change.
- Sort BUILD_DEPENDS before LIB_DEPENDS and RUN_DEPENDS.
- Quiet other warnings noted by portlint.
- Sort USES.
Requested by: mat (1), lwhsu (3)
Reviewed by: lwhsu
Differential Revision: https://reviews.freebsd.org/D29072
Update to GCC 9.3.0.
While here, switch i386 to assume a default architecture of "i686"
for FreeBSD 11+ to match clang. This permits lldb to link without
needing libatomic.
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D26205
Don't disable LTO for aarch64-gcc[69].
aarch64-binutils is no longer built static by default, so aarch64-gcc
can now enable LTO.
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25783
devel/freebsd-gcc*: add objdump dependency on devel/binutils
/usr/bin/objdump has been removed from the FreeBSD base system in advance
of FreeBSD 13.0.
Reported by: antoine
Approved by: bapt
Sponsored by: The FreeBSD Foundation
devel/freebsd-gcc9: fix build on powerpc64 elfv2
Use the same patch that was committed for lang/gcc9 to fix build.
PR: 243932
Approved by: jhb (maintainer)
Add a new port for an external FreeBSD toolchain based on GCC 9.
This port provides external GCC toolchains for GCC 9.2.0 for the aarch64,
amd64, i386, mips, mips64, powerpc, powerpc64, riscv64, and sparc64
platforms.
Note that at present I am not yet able to build a full FreeBSD system
on any of these platforms, but it will be easier to debug the remaining
issues (which may be issues to fix in FreeBSD rather than the port) with
the packages available to other developers.
Reviewed by: bapt, cem
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D22863