From nobody Wed Jan 10 19:51:41 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T9JMy3GR5z55lhg; Wed, 10 Jan 2024 19:51:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9JMy196Qz4YMD; Wed, 10 Jan 2024 19:51:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704916302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8+Vf91SaMoYScTw5zk5Eu2NY8U3f9Uschz8AYNgBLcU=; b=m3hc1XWJVlIKsemdIHHP59WLJYGEQQiJ+mg19Y5AMzxQ/RaOamp4yYxGNkLb6yc2qmWWV6 k0Zlkvib9UsdAmoA37hikK94UZ6nWsfzWsmlIXsysT5B/qRlDNO+Os7NZPoS8DjzwWJTSs S13BWCUlUd+Vwjs0YZlzQ0PZs6+pgfvOSz7iQvB4NKNyAwxZx8T61ftOybEK6lGzOgUbrA M4+f/hOHzlnt/Urahyqj4C9znCM0OFXCRzSBrSUhNr8MQ/r/R3jzPiAQs5WVtERZvvEGTs bvesilcQfpgYXZ3gqxA6TVVPg1Xm1PLKN99boXcJlFjSA2MLyYmFFK/SMf2Ixg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704916302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8+Vf91SaMoYScTw5zk5Eu2NY8U3f9Uschz8AYNgBLcU=; b=W0asVPPDXxFupKgxkHsLRZynlwVTrWSaHftjL8JNV/NUr2h3c/w/wqI+LrxNxQIThYpV9x JeY8rGDXdGYBYt2PIG3XuVRPSupvWEV89V7Qo4Nf011VumwEcJ8eqaE2gra5cEK5bNwpyg /acwwDXDQs9UCAe6DoR9loA4fRi+WcFzDKkRMTut2h0ZcPjUNzjMTrqZsdo7sEV7l9GbPw DOKb4Jve466N7jHrDPTCaFGg9DMw3egNZTxpn1Q6PnvM6QWVXLf7EeBo68Qx8MxjX1QcMK O5P0pMlB0gKMrUVdCo2hNC4SLjv66GOJpyebBjY2WbazQuGpi5b9/v2yZ99QHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704916302; a=rsa-sha256; cv=none; b=Xz50bExu1tISycnjx+sn9UiqHKlD07XczmZN2anbTSwVoL55I+KmtPeViEYTVwx6AER3od 6lxgeo9DTRTUao2UjGTATH1Z7qJqGgD+j7Hfh7v8L+y4WjLB0JgMLz6NrZwCGJ+C+O1zmn 5CteOkHSg2CNM2orVjVQO/MlGLyeCD86KfV1Q1lhqPqNllOUrtaxFaWlvdX/jxaUO0KsMv j12LdWyAVfHGH+S9jzJ1VQM5z2LDuoxsDKHBU5d1lH+RYr2zg1aCjIwm5a4ShyyH2g9m4n LsozkDdoxjfCBp0oDWuTx2Lsyyd7E4eERiIASWDj2o5ZS0sDtwvP2Dm8jw7NvQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T9JMy0DrMzpnX; Wed, 10 Jan 2024 19:51:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40AJpfI4012979; Wed, 10 Jan 2024 19:51:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40AJpfTZ012976; Wed, 10 Jan 2024 19:51:41 GMT (envelope-from git) Date: Wed, 10 Jan 2024 19:51:41 GMT Message-Id: <202401101951.40AJpfTZ012976@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: John Baldwin Subject: git: 4c019c2a4e49 - main - devel/freebsd-gcc9: Remove old GCC system toolchain List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4c019c2a4e490d7d4bae0621e1c89224105e6551 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c019c2a4e490d7d4bae0621e1c89224105e6551 commit 4c019c2a4e490d7d4bae0621e1c89224105e6551 Author: John Baldwin AuthorDate: 2024-01-10 19:51:09 +0000 Commit: John Baldwin CommitDate: 2024-01-10 19:51:09 +0000 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 --- MOVED | 1 + devel/Makefile | 1 - devel/freebsd-gcc9/Makefile | 133 ------ devel/freebsd-gcc9/distinfo | 3 - devel/freebsd-gcc9/files/patch-clang-vec_step | 21 - .../files/patch-freebsd-format-extensions | 110 ----- devel/freebsd-gcc9/files/patch-freebsd-libdir | 43 -- devel/freebsd-gcc9/files/patch-gcc-configure | 13 - devel/freebsd-gcc9/files/patch-gcc-freebsd-mips | 399 ------------------ devel/freebsd-gcc9/files/patch-gcc_system.h | 42 -- devel/freebsd-gcc9/files/patch-i686 | 13 - devel/freebsd-gcc9/files/xtoolchain.mk.in | 5 - devel/freebsd-gcc9/pkg-descr | 2 - devel/freebsd-gcc9/pkg-plist | 458 --------------------- devel/freebsd-gcc9/pkg-plist.aarch64 | 10 - devel/freebsd-gcc9/pkg-plist.amd64 | 3 - devel/freebsd-gcc9/pkg-plist.arm | 5 - devel/freebsd-gcc9/pkg-plist.arm_gnueabi | 14 - devel/freebsd-gcc9/pkg-plist.i386 | 88 ---- devel/freebsd-gcc9/pkg-plist.mips | 9 - devel/freebsd-gcc9/pkg-plist.powerpc | 31 -- devel/freebsd-gcc9/pkg-plist.powerpc64 | 32 -- devel/freebsd-gcc9/pkg-plist.riscv64 | 4 - 23 files changed, 1 insertion(+), 1439 deletions(-) diff --git a/MOVED b/MOVED index 5df38907494b..564e2fe8cb3b 100644 --- a/MOVED +++ b/MOVED @@ -2931,3 +2931,4 @@ x11/hyprland-share-picker|x11/xdg-desktop-portal-hyprland|2024-01-05|Merged into sysutils/signon-qt5|sysutils/signond|2024-01-05|Renamed to match upstream and support flavors net-im/libaccounts-qt5|net-im/libaccounts-qt|2024-01-05|Renamed to support flavors devel/py-pygithub|devel/py-PyGithub|2024-01-06|Rename port match upstream +devel/freebsd-gcc9||2024-01-09|No longer able to build base system, use GCC 12 or later instead diff --git a/devel/Makefile b/devel/Makefile index 830d248fdaa7..bbd9ecc63b8c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -685,7 +685,6 @@ SUBDIR += fpp SUBDIR += freebsd-gcc12 SUBDIR += freebsd-gcc13 - SUBDIR += freebsd-gcc9 SUBDIR += freebsd-git-devtools SUBDIR += freebsd-sysroot SUBDIR += frink diff --git a/devel/freebsd-gcc9/Makefile b/devel/freebsd-gcc9/Makefile deleted file mode 100644 index 832a03bc3c0c..000000000000 --- a/devel/freebsd-gcc9/Makefile +++ /dev/null @@ -1,133 +0,0 @@ -PORTNAME= gcc -DISTVERSION= 9.5.0 -PORTREVISION= 11 -CATEGORIES= devel -MASTER_SITES= GCC -PKGNAMEPREFIX= ${TARGETARCH}- -PKGNAMESUFFIX= ${SUFFIX} - -MAINTAINER= jhb@FreeBSD.org -COMMENT= Cross GNU Compiler ${SUFFIX} for FreeBSD/${TARGETARCH} -WWW= https://gcc.gnu.org/ - -LICENSE= GPLv3 GPLv3RLE -LICENSE_COMB= multi - -BUILD_DEPENDS= ${BU_PREFIX}-as:devel/binutils@${BU_FLAVOR} \ - objdump:devel/binutils -LIB_DEPENDS= libgmp.so:math/gmp \ - libmpfr.so:math/mpfr \ - libmpc.so:math/mpc -RUN_DEPENDS= ${BU_PREFIX}-as:devel/binutils@${BU_FLAVOR} - -FLAVORS= aarch64 amd64 armv6 armv7 i386 mips mips64 powerpc powerpc64 riscv64 -TARGETARCH= ${FLAVOR} - -USES= compiler:c++11-lang cpe gmake iconv libtool makeinfo tar:xz -CPE_VENDOR= gnu - -USE_CXXSTD= c++11 - -PLIST_SUB= OPSYS=${OPSYS:tl} \ - SUFFIX=${SUFFIX} \ - TARGETARCH=${TARGETARCH} \ - GCC_TARGET=${GCC_TARGET} \ - GCC_VERSION=${PORTVERSION} - -SUB_FILES= xtoolchain.mk -SUB_LIST= BU_PREFIX=${BU_PREFIX} \ - GCC_TARGET=${GCC_TARGET} \ - SUFFIX=${SUFFIX} - -SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} - -GNU_CONFIGURE= yes -CONFIGURE_OUTSOURCE= yes -CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \ - --enable-gnu-indirect-function \ - --enable-initfini-array \ - --program-prefix=${GCC_TARGET}- \ - --program-suffix=${SUFFIX} \ - --without-headers \ - --with-gmp=${LOCALBASE} \ - --with-pkgversion="FreeBSD Ports Collection for ${PKGNAMEPREFIX:C/-//g}" \ - --with-system-zlib \ - --without-zstd \ - --with-gxx-include-dir=/usr/include/c++/v1/ \ - --with-sysroot="/" \ - --with-as=${LOCALBASE}/bin/${BU_PREFIX}-as \ - --with-ld=${LOCALBASE}/bin/${BU_PREFIX}-ld - -.if ${TARGETARCH:Mpowerpc64*} -CONFIGURE_ARGS+=--with-abi=elfv2 -.endif - -ALL_TARGET= all-gcc -INSTALL_TARGET= install-gcc - -.include - -.if ${TARGETARCH:Marm*} -TARGET_ABI= gnueabi -BU_FLAVOR= arm_${TARGET_ABI} -BU_PREFIX= arm-${TARGET_ABI}-${OPSYS:tl}${OSREL} -.else -TARGET_ABI= unknown -BU_FLAVOR= ${TARGETARCH} -BU_PREFIX= ${GCC_TARGET} -.endif -GCC_TARGET= ${TARGETARCH:S/amd64/x86_64/}-${TARGET_ABI}-${OPSYS:tl}${OSREL} - -post-patch: - @${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \ - ${WRKSRC}//gcc/cp/g++spec.c - @${REINPLACE_CMD} -e '/LOCAL_INCLUDE_DIR/ d ' \ - ${WRKSRC}//gcc/Makefile.in - -.if ${ARCH} == "amd64" -CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL} -.else -CONFIGURE_TARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL} -.endif - -.if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "powerpc64" -CONFIGURE_ARGS+=--enable-multilib -.endif - -.if ${ARCH} == "aarch64" -PLIST_SUB+= PLUGINS="@comment plugin does not build" -.else -PLIST_SUB+= PLUGINS="" -.endif - -.if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "i386" -PLIST_SUB+= FLOAT_H="@comment " -.else -PLIST_SUB+= FLOAT_H="" -.endif - -PLIST= ${.CURDIR}/pkg-plist -PLISTARCH= ${TARGETARCH:C/armv[67]/arm_gnueabi/:C/mips.*/mips/} -PLIST+= ${.CURDIR}/pkg-plist.${PLISTARCH} - -.if ${TARGETARCH} == "aarch64" || ${TARGETARCH:Marm*} -PLIST+= ${.CURDIR}/pkg-plist.arm -.endif -.if ${TARGETARCH} == "amd64" -PLIST+= ${.CURDIR}/pkg-plist.i386 -.endif - -post-install: - ${RM} ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-${GCC_TARGET}-* - ${RM} ${STAGEDIR}${PREFIX}/share/info/* - ${RM} ${STAGEDIR}${PREFIX}/man/man7/* - ${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed -.if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "i386" - # Conflicts with sys/x86/include/float.h - ${RM} ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include/float.h -.endif - ${MKDIR} ${STAGEDIR}${PREFIX}/share/toolchains/ - ${INSTALL_DATA} ${WRKDIR}/xtoolchain.mk \ - ${STAGEDIR}${PREFIX}/share/toolchains/${TARGETARCH}-gcc${SUFFIX}.mk - -.include diff --git a/devel/freebsd-gcc9/distinfo b/devel/freebsd-gcc9/distinfo deleted file mode 100644 index 3495406ad131..000000000000 --- a/devel/freebsd-gcc9/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1654895134 -SHA256 (gcc-9.5.0.tar.xz) = 27769f64ef1d4cd5e2be8682c0c93f9887983e6cfd1a927ce5a0a2915a95cf8f -SIZE (gcc-9.5.0.tar.xz) = 72462752 diff --git a/devel/freebsd-gcc9/files/patch-clang-vec_step b/devel/freebsd-gcc9/files/patch-clang-vec_step deleted file mode 100644 index 68fbeedad582..000000000000 --- a/devel/freebsd-gcc9/files/patch-clang-vec_step +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 reports how -clang unfortunately poisons user namespace by default (without any -special options). - -Until that changes (or GCC changes) we need to avoid using vec_step -as a variable. - ---- UTC -Index: gcc/tree-vect-loop.c -=================================================================== ---- gcc/tree-vect-loop.c (revision 273856) -+++ gcc/tree-vect-loop.c (working copy) -@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see - #include "vec-perm-indices.h" - #include "tree-eh.h" - -+#define vec_step vec_step_ -+ - /* Loop Vectorization Pass. - - This pass tries to vectorize loops. diff --git a/devel/freebsd-gcc9/files/patch-freebsd-format-extensions b/devel/freebsd-gcc9/files/patch-freebsd-format-extensions deleted file mode 100644 index 0a69abe3b2a2..000000000000 --- a/devel/freebsd-gcc9/files/patch-freebsd-format-extensions +++ /dev/null @@ -1,110 +0,0 @@ ---- gcc/c-family/c-format.c.orig 2019-02-25 15:43:51.000000000 -0800 -+++ gcc/c-family/c-format.c 2019-11-28 17:36:16.788253000 -0800 -@@ -683,6 +683,26 @@ static const format_char_info print_char_table[] = - { NULL, 0, STD_C89, NOLENGTHS, NULL, NULL, NULL } - }; - -+static const format_char_info fbsd_ext_char_info = -+{ NULL, 1, STD_EXT, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "", "cR", NULL }; -+ -+static const format_char_info fbsd_print_char_table[] = -+{ -+ /* BSD conversion specifiers. */ -+ /* FreeBSD kernel extensions (src/sys/kern/subr_prf.c). -+ The format %b is supported to decode error registers. -+ Its usage is: printf("reg=%b\n", regval, "*"); -+ which produces: reg=3 -+ The format %D provides a hexdump given a pointer and separator string: -+ ("%6D", ptr, ":") -> XX:XX:XX:XX:XX:XX -+ ("%*D", len, ptr, " ") -> XX XX XX XX ... -+ */ -+ { "D", 1, STD_EXT, { T89_V, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "cR", &fbsd_ext_char_info }, -+ { "b", 0, STD_EXT, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "", &fbsd_ext_char_info }, -+ { "ry", 0, STD_EXT, { T89_I, BADLEN, BADLEN, T89_L, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp0 +#", "i", NULL }, -+ { NULL, 0, STD_C89, NOLENGTHS, NULL, NULL, NULL } -+}; -+ - static const format_char_info asm_fprintf_char_table[] = - { - /* C89 conversion specifiers. */ -@@ -959,6 +979,12 @@ static const format_kind_info format_types_orig[] = - strfmon_flag_specs, strfmon_flag_pairs, - FMT_FLAG_ARG_CONVERT, 'w', '#', 'p', 0, 'L', 0, - NULL, NULL -+ }, -+ { "printf0", printf_length_specs, print_char_table, " +#0-'I", NULL, -+ printf_flag_specs, printf_flag_pairs, -+ FMT_FLAG_ARG_CONVERT|FMT_FLAG_DOLLAR_MULTIPLE|FMT_FLAG_USE_DOLLAR|FMT_FLAG_EMPTY_PREC_OK|FMT_FLAG_NULL_FORMAT_OK, -+ 'w', 0, 'p', 0, 'L', 0, -+ &integer_type_node, &integer_type_node - } - }; - -@@ -1572,6 +1598,9 @@ check_format_arg (void *ctx, tree format_tree, - - if (integer_zerop (format_tree)) - { -+ if (!(format_types[info->format_type].flags & FMT_FLAG_NULL_FORMAT_OK)) -+ warning (OPT_Wformat_, "null format string"); -+ - /* Skip to first argument to check, so we can see if this format - has any arguments (it shouldn't). */ - while (arg_num + 1 < info->first_arg_num) -@@ -2401,6 +2430,13 @@ argument_parser::read_any_length_modifier () - while (fli->name != 0 - && strncmp (fli->name, format_chars, strlen (fli->name))) - fli++; -+ -+ /* Make sure FreeBSD's D format char takes preference over new DD -+ length specifier if FreeBSD format extensions are requested. */ -+ if (fli->index == FMT_LEN_D && flag_format_extensions -+ && fki->conversion_specs == print_char_table) -+ while (fli->name != 0) -+ fli++; - if (fli->name != 0) - { - format_chars += strlen (fli->name); -@@ -2473,6 +2509,14 @@ argument_parser::find_format_char_info (char format_ch - while (fci->format_chars != 0 - && strchr (fci->format_chars, format_char) == 0) - ++fci; -+ if (fci->format_chars == 0 && flag_format_extensions -+ && fki->conversion_specs == print_char_table) -+ { -+ fci = fbsd_print_char_table; -+ while (fci->format_chars != 0 -+ && strchr (fci->format_chars, format_char) == 0) -+ ++fci; -+ } - if (fci->format_chars == 0) - { - format_warning_at_char (format_string_loc, format_string_cst, ---- gcc/c-family/c-format.h.orig 2019-01-01 04:31:55.000000000 -0800 -+++ gcc/c-family/c-format.h 2019-11-28 17:24:29.601936000 -0800 -@@ -75,11 +75,12 @@ enum - FMT_FLAG_DOLLAR_GAP_POINTER_OK = 128, - /* The format arg is an opaque object that will be parsed by an external - facility. */ -- FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL = 256 -+ FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL = 256, - /* Not included here: details of whether width or precision may occur - (controlled by width_char and precision_char); details of whether - '*' can be used for these (width_type and precision_type); details - of whether length modifiers can occur (length_char_specs). */ -+ FMT_FLAG_NULL_FORMAT_OK = 512 - }; - - /* Structure describing a length modifier supported in format checking, and ---- gcc/config/freebsd.opt.orig 2019-01-01 04:31:55.000000000 -0800 -+++ gcc/config/freebsd.opt 2019-11-28 17:24:29.602437000 -0800 -@@ -34,6 +34,10 @@ Driver Separate - defsym= - Driver JoinedOrMissing - -+fformat-extensions -+Common Report Var(flag_format_extensions) Init(0) -+Allow FreeBSD kernel-specific printf format specifiers. -+ - posix - Driver - diff --git a/devel/freebsd-gcc9/files/patch-freebsd-libdir b/devel/freebsd-gcc9/files/patch-freebsd-libdir deleted file mode 100644 index 12c3fcaabca0..000000000000 --- a/devel/freebsd-gcc9/files/patch-freebsd-libdir +++ /dev/null @@ -1,43 +0,0 @@ -diff --git gcc/config/freebsd.h gcc/config/freebsd.h -index e7ea42370c5..191e7da2071 100644 ---- gcc/config/freebsd.h -+++ gcc/config/freebsd.h -@@ -44,6 +44,9 @@ along with GCC; see the file COPYING3. If not see - #undef LIB_SPEC - #define LIB_SPEC FBSD_LIB_SPEC - -+#undef STARTFILE_PREFIX_SPEC -+#define STARTFILE_PREFIX_SPEC "/usr/lib/ " -+ - #if defined(HAVE_LD_EH_FRAME_HDR) - #define LINK_EH_SPEC "%{!static|static-pie:--eh-frame-hdr} " - #endif -diff --git gcc/gcc.c gcc/gcc.c -index f70755679f4..890ef20fd43 100644 ---- gcc/gcc.c -+++ gcc/gcc.c -@@ -4298,10 +4298,12 @@ process_command (unsigned int decoded_options_count, - } - - set_std_prefix (gcc_exec_prefix, len); -+#if 0 - add_prefix (&exec_prefixes, gcc_libexec_prefix, "GCC", - PREFIX_PRIORITY_LAST, 0, 0); - add_prefix (&startfile_prefixes, gcc_exec_prefix, "GCC", - PREFIX_PRIORITY_LAST, 0, 0); -+#endif - } - - /* COMPILER_PATH and LIBRARY_PATH have values -@@ -4585,9 +4587,11 @@ process_command (unsigned int decoded_options_count, - add_prefix (&exec_prefixes, - concat (tooldir_prefix, "bin", dir_separator_str, NULL), - "BINUTILS", PREFIX_PRIORITY_LAST, 0, 0); -+#if 0 - add_prefix (&startfile_prefixes, - concat (tooldir_prefix, "lib", dir_separator_str, NULL), - "BINUTILS", PREFIX_PRIORITY_LAST, 0, 1); -+#endif - free (tooldir_prefix); - - #if defined(TARGET_SYSTEM_ROOT_RELOCATABLE) && !defined(VMS) diff --git a/devel/freebsd-gcc9/files/patch-gcc-configure b/devel/freebsd-gcc9/files/patch-gcc-configure deleted file mode 100644 index 77263f826378..000000000000 --- a/devel/freebsd-gcc9/files/patch-gcc-configure +++ /dev/null @@ -1,13 +0,0 @@ ---- gcc/configure.orig 2019-11-29 16:01:46.850423000 -0800 -+++ gcc/configure 2019-11-29 16:05:09.818243000 -0800 -@@ -3673,7 +3673,9 @@ if test x${gcc_gxx_include_dir} = x; then - fi - elif test "${with_sysroot+set}" = set; then - gcc_gxx_without_sysroot=`expr "${gcc_gxx_include_dir}" : "${with_sysroot}"'\(.*\)'` -- if test "${gcc_gxx_without_sysroot}"; then -+ if test "${with_sysroot}" = "/"; then -+ gcc_gxx_include_dir_add_sysroot=1 -+ elif test "${gcc_gxx_without_sysroot}"; then - gcc_gxx_include_dir="${gcc_gxx_without_sysroot}" - gcc_gxx_include_dir_add_sysroot=1 - fi diff --git a/devel/freebsd-gcc9/files/patch-gcc-freebsd-mips b/devel/freebsd-gcc9/files/patch-gcc-freebsd-mips deleted file mode 100644 index db01e153bafe..000000000000 --- a/devel/freebsd-gcc9/files/patch-gcc-freebsd-mips +++ /dev/null @@ -1,399 +0,0 @@ ---- gcc/config.gcc.orig 2019-08-03 13:16:22.000000000 -0700 -+++ gcc/config.gcc 2019-11-29 14:01:59.942656000 -0800 -@@ -2243,6 +2243,22 @@ riscv*-*-freebsd*) - # automatically detect that GAS supports it, yet we require it. - gcc_cv_initfini_array=yes - ;; -+mips*-*-freebsd*) # FreeBSD/mips[64], either endian. -+ tm_file="${tm_file} elfos.h ${fbsd_tm_file} mips/elf.h mips/freebsd.h" -+ target_cpu_default="MASK_ABICALLS|MASK_SOFT_FLOAT_ABI" -+ tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3" -+ case ${target} in -+ mips64*-*-freebsd*) -+ tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_64" -+ ;; -+ mipsn32*-*-freebsd*) -+ tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" -+ ;; -+ mips*-*-freebsd*) -+ tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_32 MIPS_ISA_DEFAULT=3" -+ ;; -+ esac -+ ;; - mips*-*-netbsd*) # NetBSD/mips, either endian. - target_cpu_default="MASK_ABICALLS" - tm_file="elfos.h ${tm_file} mips/elf.h ${nbsd_tm_file} mips/netbsd.h" -diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h -index c1d5553..5d882e3 100644 ---- gcc/config/elfos.h -+++ gcc/config/elfos.h -@@ -198,7 +198,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - #define ASCII_DATA_ASM_OP "\t.ascii\t" - - /* Support a read-only data section. */ -+#ifndef READONLY_DATA_SECTION_ASM_OP - #define READONLY_DATA_SECTION_ASM_OP "\t.section\t.rodata" -+#endif - - /* On svr4, we *do* have support for the .init and .fini sections, and we - can put stuff in there to be executed before and after `main'. We let -@@ -292,6 +294,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - #define USE_GNU_UNIQUE_OBJECT 0 - #endif - -+#ifndef ASM_DECLARE_OBJECT_NAME - #define ASM_DECLARE_OBJECT_NAME(FILE, NAME, DECL) \ - do \ - { \ -@@ -320,6 +323,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - ASM_OUTPUT_LABEL (FILE, NAME); \ - } \ - while (0) -+#endif - - /* Output the size directive for a decl in rest_of_decl_compilation - in the case where we did not do so before the initializer. -diff --git a/gcc/config/mips/freebsd.h b/gcc/config/mips/freebsd.h -new file mode 100644 -index 0000000..56a921e ---- /dev/null -+++ gcc/config/mips/freebsd.h -@@ -0,0 +1,325 @@ -+/* Definitions for MIPS varients running FreeBSD with ELF format -+ Copyright (C) 2008 Free Software Foundation, Inc. -+ Continued by David O'Brien -+ -+This file is part of GCC. -+ -+GCC is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 2, or (at your option) -+any later version. -+ -+GCC is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with GCC; see the file COPYING. If not, write to -+the Free Software Foundation, 51 Franklin Street, Fifth Floor, -+Boston, MA 02110-1301, USA. */ -+ -+/* $FreeBSD$ */ -+ -+#undef SUBTARGET_EXTRA_SPECS /* mips.h bogusly defines it. */ -+#define SUBTARGET_EXTRA_SPECS \ -+ { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER}, \ -+ { "fbsd_link_spec", FBSD_LINK_SPEC } -+ -+/* config/mips/mips.h defines CC1_SPEC, -+ but gives us an "out" with SUBTARGET_CC1_SPEC. */ -+#undef SUBTARGET_CC1_SPEC -+#define SUBTARGET_CC1_SPEC "%{profile:-p}" -+ -+/* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support -+ for the special GCC options -static and -shared, which allow us to -+ link things in one of these three modes by applying the appropriate -+ combinations of options at link-time. We like to support here for -+ as many of the other GNU linker options as possible. But I don't -+ have the time to search for those flags. I am sure how to add -+ support for -soname shared_object_name. H.J. -+ -+ When the -shared link option is used a final link is not being -+ done. */ -+ -+#define FBSD_LINK_SPEC "\ -+ %{p:%nconsider using `-pg' instead of `-p' with gprof(1) } \ -+ %{v:-V} \ -+ %{assert*} %{R*} %{rpath*} %{defsym*} \ -+ %{shared:-Bshareable %{h*} %{soname*}} \ -+ %{!static:--enable-new-dtags} \ -+ %{!shared: \ -+ %{!static: \ -+ %{rdynamic: -export-dynamic} \ -+ %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \ -+ %{static:-Bstatic}} \ -+ %{symbolic:-Bsymbolic} " -+ -+#undef LINK_SPEC -+#define LINK_SPEC "\ -+ %{EB} %{EL} %(endian_spec) \ -+ %{G*} %{mips1} %{mips2} %{mips3} %{mips4} \ -+ %{mips32} %{mips32r2} %{mips64} %{mips64r2} \ -+ %{bestGnum} %{call_shared} %{no_archive} %{exact_version} \ -+ %{mabi=32:-melf32%{EB:b}%{EL:l}tsmip_fbsd} \ -+ %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32_fbsd} \ -+ %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip_fbsd} \ -+ %{mabi=o64:-melf64%{EB:b}%{EL:l}tsmip_fbsd} \ -+ %(fbsd_link_spec)" -+ -+#undef LINK_GCC_C_SEQUENCE_SPEC -+#define LINK_GCC_C_SEQUENCE_SPEC \ -+ "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}" -+ -+/* Reset our STARTFILE_SPEC which was properly set in config/freebsd.h -+ but trashed by config/mips/elf.h. */ -+#undef STARTFILE_SPEC -+#define STARTFILE_SPEC FBSD_STARTFILE_SPEC -+ -+/* Provide an ENDFILE_SPEC appropriate for FreeBSD/mips. */ -+#undef ENDFILE_SPEC -+#define ENDFILE_SPEC FBSD_ENDFILE_SPEC -+ -+/* Reset our LIB_SPEC which was properly set in config/freebsd.h -+ but trashed by config/mips/elf.h. */ -+#undef LIB_SPEC -+#define LIB_SPEC FBSD_LIB_SPEC -+ -+/* config/mips/mips.h defines CPP_SPEC, and it expects SUBTARGET_CPP_SPEC. */ -+#undef SUBTARGET_CPP_SPEC -+#define SUBTARGET_CPP_SPEC FBSD_CPP_SPEC -+ -+ -+/************************[ Target stuff ]***********************************/ -+ -+/* Define the actual types of some ANSI-mandated types. -+ Needs to agree with . GCC defaults come from c-decl.c, -+ c-common.c, and config//.h. */ -+ -+#undef TARGET_DEFAULT -+#define TARGET_DEFAULT (MASK_ABICALLS | MASK_SOFT_FLOAT_ABI) -+ -+/* The generic MIPS TARGET_CPU_CPP_BUILTINS are incorrect for FreeBSD. -+ Specifically, they define too many namespace-invasive macros. Override -+ them here. Note this is structured for easy comparison to the version -+ in mips.h. */ -+ -+#undef TARGET_CPU_CPP_BUILTINS -+#define TARGET_CPU_CPP_BUILTINS() \ -+ do \ -+ { \ -+ builtin_assert ("machine=mips"); \ -+ builtin_assert ("cpu=mips"); \ -+ builtin_define ("__mips__"); \ -+ \ -+ if (TARGET_64BIT) \ -+ builtin_define ("__mips64"); \ -+ \ -+ if (TARGET_FLOAT64) \ -+ builtin_define ("__mips_fpr=64"); \ -+ else \ -+ builtin_define ("__mips_fpr=32"); \ -+ \ -+ if (TARGET_MIPS16) \ -+ builtin_define ("__mips16"); \ -+ \ -+ if (mips_abi == ABI_N32) \ -+ { \ -+ builtin_define ("__mips_n32"); \ -+ builtin_define ("_ABIN32=2"); \ -+ builtin_define ("_MIPS_SIM=_ABIN32"); \ -+ builtin_define ("_MIPS_SZLONG=32"); \ -+ builtin_define ("_MIPS_SZPTR=32"); \ -+ } \ -+ else if (mips_abi == ABI_64) \ -+ { \ -+ builtin_define ("__mips_n64"); \ -+ builtin_define ("_ABI64=3"); \ -+ builtin_define ("_MIPS_SIM=_ABI64"); \ -+ builtin_define ("_MIPS_SZLONG=64"); \ -+ builtin_define ("_MIPS_SZPTR=64"); \ -+ } \ -+ else if (mips_abi == ABI_O64) \ -+ { \ -+ builtin_define ("__mips_o64"); \ -+ builtin_define ("_ABIO64=4"); \ -+ builtin_define ("_MIPS_SIM=_ABIO64"); \ -+ builtin_define ("_MIPS_SZLONG=64"); \ -+ builtin_define ("_MIPS_SZPTR=64"); \ -+ } \ -+ else if (mips_abi == ABI_EABI) \ -+ { \ -+ builtin_define ("__mips_eabi"); \ -+ builtin_define ("_ABIEMB=5"); \ -+ builtin_define ("_MIPS_SIM=_ABIEMB"); \ -+ if (TARGET_LONG64) \ -+ builtin_define ("_MIPS_SZLONG=64"); \ -+ else \ -+ builtin_define ("_MIPS_SZLONG=32"); \ -+ if (TARGET_64BIT) \ -+ builtin_define ("_MIPS_SZPTR=64"); \ -+ else \ -+ builtin_define ("_MIPS_SZPTR=32"); \ -+ } \ -+ else \ -+ { \ -+ builtin_define ("__mips_o32"); \ -+ builtin_define ("_ABIO32=1"); \ -+ builtin_define ("_MIPS_SIM=_ABIO32"); \ -+ builtin_define ("_MIPS_SZLONG=32"); \ -+ builtin_define ("_MIPS_SZPTR=32"); \ -+ } \ -+ if (TARGET_FLOAT64) \ -+ builtin_define ("_MIPS_FPSET=32"); \ -+ else \ -+ builtin_define ("_MIPS_FPSET=16"); \ -+ \ -+ builtin_define ("_MIPS_SZINT=32"); \ -+ \ -+ MIPS_CPP_SET_PROCESSOR ("_MIPS_ARCH", mips_arch_info); \ -+ MIPS_CPP_SET_PROCESSOR ("_MIPS_TUNE", mips_tune_info); \ -+ \ -+ if (ISA_MIPS1) \ -+ { \ -+ builtin_define ("__mips=1"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS1"); \ -+ } \ -+ else if (ISA_MIPS2) \ -+ { \ -+ builtin_define ("__mips=2"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS2"); \ -+ } \ -+ else if (ISA_MIPS3) \ -+ { \ -+ builtin_define ("__mips=3"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS3"); \ -+ } \ -+ else if (ISA_MIPS4) \ -+ { \ -+ builtin_define ("__mips=4"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS4"); \ -+ } \ -+ else if (ISA_MIPS32) \ -+ { \ -+ builtin_define ("__mips=32"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS32"); \ -+ builtin_define ("__mips_isa_rev=1"); \ -+ } \ -+ else if (ISA_MIPS32R2) \ -+ { \ -+ builtin_define ("__mips=32"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS32"); \ -+ builtin_define ("__mips_isa_rev=2"); \ -+ } \ -+ else if (ISA_MIPS64) \ -+ { \ -+ builtin_define ("__mips=64"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS64"); \ -+ builtin_define ("__mips_isa_rev=1"); \ -+ } \ -+ else if (ISA_MIPS64R2) \ -+ { \ -+ builtin_define ("__mips=64"); \ -+ builtin_define ("_MIPS_ISA=_MIPS_ISA_MIPS64"); \ -+ builtin_define ("__mips_isa_rev=2"); \ -+ } \ -+ \ -+ if (TARGET_HARD_FLOAT) \ -+ builtin_define ("__mips_hard_float"); \ -+ else if (TARGET_SOFT_FLOAT) \ -+ builtin_define ("__mips_soft_float"); \ -+ \ -+ if (TARGET_SINGLE_FLOAT) \ -+ builtin_define ("__mips_single_float"); \ -+ \ -+ if (TARGET_BIG_ENDIAN) \ -+ builtin_define ("__MIPSEB__"); \ -+ else \ -+ builtin_define ("__MIPSEL__"); \ -+ \ -+ /* No language dialect defines. */ \ -+ if (TARGET_ABICALLS) \ -+ builtin_define ("__ABICALLS__"); \ -+ } \ -+ while (0) -+ -+/* Always pass ISA to drivers */ -+#undef DRIVER_SELF_SPECS -+#define DRIVER_SELF_SPECS \ -+ MIPS_DEFAULT_ISA_LEVEL_SPEC, \ -+ MIPS_ISA_LEVEL_SPEC, \ -+ \ -+ /* Make sure that an endian option is always present. This makes \ -+ things like LINK_SPEC easier to write. */ \ -+ "%{!EB:%{!EL:%(endian_spec)}}", \ -+ \ -+ BASE_DRIVER_SELF_SPECS -+ -+#if 0 -+/* Don't default to pcc-struct-return, we want to retain compatibility with -+ older gcc versions AND pcc-struct-return is nonreentrant. -+ (even though the SVR4 ABI for the i386 says that records and unions are -+ returned in memory). */ -+ -+#undef DEFAULT_PCC_STRUCT_RETURN -+#define DEFAULT_PCC_STRUCT_RETURN 0 -+#endif -+ -+ -+/************************[ Assembler stuff ]********************************/ -+ -+#undef SUBTARGET_ASM_SPEC -+#define SUBTARGET_ASM_SPEC \ -+ "%{!mno-abicalls: %{!fno-PIC:%{!fno-pic:-KPIC}}}" -+ -+/* -G is incompatible with -KPIC which is the default, so only allow objects -+ in the small data section if the user explicitly asks for it. */ -+ -+#undef MIPS_DEFAULT_GVALUE -+#define MIPS_DEFAULT_GVALUE 0 -+ -+/* If defined, a C expression whose value is a string containing the -+ assembler operation to identify the following data as -+ uninitialized global data. If not defined, and neither -+ `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined, -+ uninitialized global data will be output in the data section if -+ `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be -+ used. */ -+#undef BSS_SECTION_ASM_OP -+#define BSS_SECTION_ASM_OP "\t.section\t.bss" -+ -+/* Like `ASM_OUTPUT_BSS' except takes the required alignment as a -+ separate, explicit argument. If you define this macro, it is used -+ in place of `ASM_OUTPUT_BSS', and gives you more flexibility in -+ handling the required alignment of the variable. The alignment is -+ specified as the number of bits. -+ -+ Try to use function `asm_output_aligned_bss' defined in file -+ `varasm.c' when defining this macro. */ -+#undef ASM_OUTPUT_ALIGNED_BSS -+#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ -+ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) -+ -+/* Standard AT&T UNIX 'as' local label spelling. */ -+#undef LOCAL_LABEL_PREFIX -+#define LOCAL_LABEL_PREFIX "." -+ -+/* Currently we don't support 128bit long doubles, so for now we force -+ n32 to be 64bit. */ -+#undef LONG_DOUBLE_TYPE_SIZE -+#define LONG_DOUBLE_TYPE_SIZE 64 -+ -+#ifdef IN_LIBGCC2 -+#undef LIBGCC2_LONG_DOUBLE_TYPE_SIZE -+#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64 -+#endif -+ -+/************************[ Debugger stuff ]*********************************/ -+#undef DBX_DEBUGGING_INFO -+ -+#if MIPS_ABI_DEFAULT == ABI_64 -+#undef STANDARD_STARTFILE_PREFIX_1 -+#define STANDARD_STARTFILE_PREFIX_1 "/lib/" -+#undef STANDARD_STARTFILE_PREFIX_2 -+#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/" -+#endif -diff --git a/libgcc/config.host b/libgcc/config.host -index f4a7428..5e5c33e 100644 ---- libgcc/config.host -+++ libgcc/config.host -@@ -783,6 +783,8 @@ microblaze*-*-rtems*) - tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" - extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" - ;; -+mips*-*-freebsd*) # FreeBSD/mips, either endian. -+ ;; - mips*-*-netbsd*) # NetBSD/mips, either endian. - ;; - mips*-*-linux*) # Linux MIPS, either endian. diff --git a/devel/freebsd-gcc9/files/patch-gcc_system.h b/devel/freebsd-gcc9/files/patch-gcc_system.h deleted file mode 100644 index e28d9e4acc58..000000000000 --- a/devel/freebsd-gcc9/files/patch-gcc_system.h +++ /dev/null @@ -1,42 +0,0 @@ ---- gcc/system.h.orig 2022-05-27 07:21:11 UTC -+++ gcc/system.h -@@ -203,19 +203,6 @@ extern int fprintf_unlocked (FILE *, const char *, ... - #endif - #endif - --/* There are an extraordinary number of issues with . -- The last straw is that it varies with the locale. Use libiberty's -- replacement instead. */ --#include "safe-ctype.h" -- --#include -- --#include -- --#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO --extern int errno; --#endif -- - #ifdef __cplusplus - #if defined (INCLUDE_ALGORITHM) || !defined (HAVE_SWAP_IN_UTILITY) - # include -@@ -235,6 +222,19 @@ extern int errno; - # include - # include - # include -+#endif -+ -+/* There are an extraordinary number of issues with . -+ The last straw is that it varies with the locale. Use libiberty's -+ replacement instead. */ -+#include "safe-ctype.h" -+ -+#include -+ -+#include -+ -+#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO -+extern int errno; - #endif - - /* Some of glibc's string inlines cause warnings. Plus we'd rather diff --git a/devel/freebsd-gcc9/files/patch-i686 b/devel/freebsd-gcc9/files/patch-i686 deleted file mode 100644 index 67dd1c248fe8..000000000000 --- a/devel/freebsd-gcc9/files/patch-i686 +++ /dev/null @@ -1,13 +0,0 @@ ---- gcc/config.gcc.orig 2020-08-19 09:37:17.455916000 -0700 -+++ gcc/config.gcc 2020-08-19 10:19:33.883084000 -0700 -@@ -3346,7 +3346,9 @@ arch_without_sse2=no - arch_without_64bit=no - case ${target} in - i386-*-freebsd*) -- if test $fbsd_major -ge 6; then -+ if test $fbsd_major -ge 11; then -+ arch=i686 -+ elif test $fbsd_major -ge 6; then - arch=i486 - else - arch=i386 diff --git a/devel/freebsd-gcc9/files/xtoolchain.mk.in b/devel/freebsd-gcc9/files/xtoolchain.mk.in deleted file mode 100644 index 7cacd42f1609..000000000000 --- a/devel/freebsd-gcc9/files/xtoolchain.mk.in +++ /dev/null @@ -1,5 +0,0 @@ -XCC=%%LOCALBASE%%/bin/%%GCC_TARGET%%-gcc%%SUFFIX%% -XCXX=%%LOCALBASE%%/bin/%%GCC_TARGET%%-g++%%SUFFIX%% -XCPP=%%LOCALBASE%%/bin/%%GCC_TARGET%%-cpp%%SUFFIX%% -CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%BU_PREFIX%%/bin/ -X_COMPILER_TYPE=gcc diff --git a/devel/freebsd-gcc9/pkg-descr b/devel/freebsd-gcc9/pkg-descr deleted file mode 100644 index 505ca21589ce..000000000000 --- a/devel/freebsd-gcc9/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -GCC, the GNU C/C++ Compiler, customized to build the FreeBSD base system. -To use GCC for other purposes, please use one of the lang/gcc* packages. diff --git a/devel/freebsd-gcc9/pkg-plist b/devel/freebsd-gcc9/pkg-plist deleted file mode 100644 index 5b5516af9f69..000000000000 --- a/devel/freebsd-gcc9/pkg-plist +++ /dev/null @@ -1,458 +0,0 @@ -bin/%%GCC_TARGET%%-c++%%SUFFIX%% -bin/%%GCC_TARGET%%-cpp%%SUFFIX%% -bin/%%GCC_TARGET%%-g++%%SUFFIX%% -bin/%%GCC_TARGET%%-gcc%%SUFFIX%% -bin/%%GCC_TARGET%%-gcc-%%GCC_VERSION%% -bin/%%GCC_TARGET%%-gcc-ar%%SUFFIX%% -bin/%%GCC_TARGET%%-gcc-nm%%SUFFIX%% -bin/%%GCC_TARGET%%-gcc-ranlib%%SUFFIX%% -bin/%%GCC_TARGET%%-gcov%%SUFFIX%% -bin/%%GCC_TARGET%%-gcov-dump%%SUFFIX%% -bin/%%GCC_TARGET%%-gcov-tool%%SUFFIX%% -%%FLOAT_H%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/float.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/iso646.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdalign.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdarg.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdatomic.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdbool.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stddef.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdfix.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdint-gcc.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdint.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdnoreturn.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/tgmath.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/varargs.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/fixinc_list -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/gsyslimits.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/include/README -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/include/limits.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/macro_list -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/mkheaders.conf -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/gtype.state -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/ada/gcc-interface/ada-tree.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/addresses.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/alias.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/align.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/all-tree.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/alloc-pool.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/ansidecl.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/asan.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/attribs.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/auto-host.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/auto-profile.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/b-header-vars -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/backend.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/basic-block.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/bb-reorder.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/bitmap.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/brig-builtins.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/builtin-attrs.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/builtin-types.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/builtins.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/builtins.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/bversion.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/c-family/c-common.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/c-family/c-common.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/c-family/c-objc.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/c-family/c-pragma.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/c-family/c-pretty-print.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/c-tree.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/calls.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/ccmp.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/cfg-flags.def -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/cfg.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/cfganal.h -%%PLUGINS%%lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/cfgbuild.h *** 643 LINES SKIPPED ***