summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-02-06 17:27:31 +0100
committerFabian Groffen <grobian@gentoo.org>2021-02-06 17:27:31 +0100
commit45d474ef31c19c28e7021e9cb4e4d18b0d000280 (patch)
treeb3d0913bbaf00e7aadea21c7902ecd5269854e43
parentsys-apps/man: drop package (diff)
downloadprefix-45d474ef31c19c28e7021e9cb4e4d18b0d000280.tar.gz
prefix-45d474ef31c19c28e7021e9cb4e4d18b0d000280.tar.bz2
prefix-45d474ef31c19c28e7021e9cb4e4d18b0d000280.zip
sys-devel/gcc: add special 11 pre-release for Apple SI (arm64)
Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r--sys-devel/gcc/Manifest4
-rw-r--r--sys-devel/gcc/gcc-11_pre20200206.ebuild (renamed from sys-devel/gcc/gcc-10.1.0-r1.ebuild)25
-rw-r--r--sys-devel/gcc/metadata.xml13
3 files changed, 18 insertions, 24 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 4e50982ccb..cbcbd2a082 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -1,8 +1,7 @@
DIST ecj-4.5.jar 1470676 BLAKE2B 793c10ba09fd8040c0e1181204141aea16780c9c9088e07126e00da2b510af2ad6f58d876357d7e98cbb02d783a3be434469d5de1df134ccb8cc508e45028d80 SHA512 d4e1bf7538ace56e3d69fa91da5bbd16c272923b4de0a9d8dee23ea2b75f9f38c603de72fc4061df49285c450b63f3df211cee5270e9fffc5447445d1a9c9e4e
-DIST gcc-10.1.0-patches-2.tar.bz2 15808 BLAKE2B 8275c2ac3eda8e87255fefe2bb4ed2a10d790bf6085517cd26589fa6a98aa417f4578da88da91b4639d78ed9c897a07447d2048698b4e003f3adc397881c7ee5 SHA512 f3ef55103346a0ca40a5633a520091e93e98a3226d24a2b677f791af511460ea5bb5f6dbda6cdf706af2aeb22eb39d37cf226e012bd378c330db17246da88d09
-DIST gcc-10.1.0.tar.xz 74591240 BLAKE2B d64cf01beaaff7af9e7d5b1d5e6fdfb37cce5667b4455c1c9bbfd190e631f03555d63d52d31e7be5ac232256be11058f89d5bc7d0dcb01de44e90a52645ad87f SHA512 0cb2a74c793face751f42bc580960b00e2bfea785872a0a2155f1f1dbfaa248f9591b67f4322db0f096f8844aca9243bc02732bda106c3b6e43b02bb67eb3096
DIST gcc-10.2.0-patches-6.tar.bz2 24103 BLAKE2B f719012f86136ad9c4ea1397548caca6e69687534599a88cc25fe0e4f83dd7fd34c07375fa6e612e2b430e078c1a59913160cce07312e94fa1ce575a33e5457b SHA512 61d97dba29024c7a22806689ebf33f5cb9ce099230bcc344f2865b976c3fdfd8ebec5962eaffd0156de75eca58499ba785867bd4a4ac92c6f799ab1bee8844a1
DIST gcc-10.2.0.tar.xz 75004144 BLAKE2B 1d79397330354e61439283cac96a109bf78ffc726265442e6d3ec131f107589ab7349d6612836edd8c8512f7bcc1d901a65a0d5d925d28a5bf3ef5cc3f9787ee SHA512 42ae38928bd2e8183af445da34220964eb690b675b1892bbeb7cd5bb62be499011ec9a93397dba5e2fb681afadfc6f2767d03b9035b44ba9be807187ae6dc65e
+DIST gcc-11.0.0-patches-6.tar.bz2 12744 BLAKE2B 05e8d8b87cd1069bc6c03a6cbd61e5414148b7c6467e5b2ebf03af1493075280d8f1a5a123148f786724e3f813ef7fbb5f2728598ab4ab7879b4e649f592156b SHA512 9e873a40eca07e471a9832ed062575063144554ca306b60a9b5f7da61fa1f148a13fd5ea933c852d105931e452de1c6ab3cd7baf4f80da17b9d81eeb36c5b3fd
DIST gcc-4.1.2-patches-1.5.tar.bz2 53576 BLAKE2B 16dcbf8bac85c3e95a8526ffd504f298ac09fbd79d8ee9f633782ffcd177eb0de256dc8ff36d45dc40dd8582b712e2ea0cd3b2063e3205d51cc022ad7befa7cc SHA512 3c7c15f740ec80aaa6f9c1ad77daeb2a2527f1719fbcc5d96d956e1fe1f24da961b1b030cf2bb631f1a0cc970f6462823e9a78441c9fd6b57f3645b04cd6a362
DIST gcc-4.1.2-uclibc-patches-1.0.tar.bz2 20980 BLAKE2B cfc7dd4c7a0b1ed80c491d4ad56b05b05ff308fdbed2faa1b9f15b10c0f7834ee4ffcb0df1619f959f7a1a5f315305b550665c232404a8a3306e3e615539a0c8 SHA512 57789f4236a3085136afa83be3cef677bd813afd258d67bfdbecd2058f497cd459366d5515044c0208ab753946dc951dac6a3889752ca6dae836d837c22ce33b
DIST gcc-4.1.2.tar.bz2 39707720 BLAKE2B 966b6a64c118456c7fb66eb2ad0dd84b1d53ad88dcbd146f446ef097a6975f5d6a7f1bcbbc4bfcd4e48b00eeb8054728e412db3d9818cff1f195e37859a4e510 SHA512 b97d3b72a3b0355611d5090b2c715b7a774f0e466a89326a0226c2809d12dfafb2d7c5a7af54bd5e00c135bbb6596f535e1a484740f7f1f691e8a57e6f0425cc
@@ -35,3 +34,4 @@ DIST gcc-9.2.0.tar.xz 70607648 BLAKE2B 41a5e148f9a6857d6599679964c203533f76f330a
DIST gcc-cygwinports-0de6b2ae6b6577eb0891a7ca8d551bdfa79bf5e8.tar.gz 20183 BLAKE2B dc9a4c78f98851ed77720d4c06d3fbf9f2d7d0e81a825cc89026994060fd29214f111fd3a52cec6518417cab2be89caf4a844a0869136287f174147ca7a6ebf3 SHA512 d01ee85a1327e7f6f16b3c2de6659699764f365215bd3e58247c5c65594153b9232bdc43ff89420cac75ad908ed39c7ff9fa4006818f5dd209b792d34d9ae7de
DIST gcc-cygwinports-11fa2eec213324d64673ad41358f726f6523667f.tar.gz 23047 BLAKE2B 83e44a2eed9e134ea2531e3ecff4479f4d305a55d14729ed11c91199c1f56ec7e2d4df48d56de11ba43a9e936019943edc370a04a26f6b3bfd5616230feeffa5 SHA512 f8cbf3b2b20c1950d0984fe672536d92f7d05b065495d93205d72b7578e696847f074430c6e642668d1c0c26fa9d98a4dfd3fce7030d45f2d04f80499437587c
DIST gcc-cygwinports-f44d762eb3551ea0d81aa8e4b428bcb7caabb628.tar.gz 32780 BLAKE2B 364353bf379a2a950050148caf2cef86239f2418a98f72b3edec4cf56e43e7d07601f4d1ca8103c691ddddff0fca96a6a8c728e2e50bca373c34441bdc7505be SHA512 d5bc37965745fa32a3ddd357e658bd066d4aadf19eee7a30047f4dc6f47450d320e33cbbe4bf22fa6f5e30f7f41ec6ec3a250df56760a38df0f14fea3e34a83e
+DIST gcc-pre11-apple-si-f1bedb9.tar.gz 124531876 BLAKE2B b7450b5b3cafce9f92e4f793439d767193aa609f924ae8a8d07dc353d9e64c6d2881252706ffec93ff91c1a3970a8688a3d9454b880e5d7587795ad284790fe7 SHA512 2cc21803e9236db234f31584aaabb503b7a9612b82ac54fac389aeb19c4e36d70f60e3660f63e35462f8a494862c88951f4d6434fad7e4dafc0f5a041e906b28
diff --git a/sys-devel/gcc/gcc-10.1.0-r1.ebuild b/sys-devel/gcc/gcc-11_pre20200206.ebuild
index ce7e8d3a7d..4db1e5c92f 100644
--- a/sys-devel/gcc/gcc-10.1.0-r1.ebuild
+++ b/sys-devel/gcc/gcc-11_pre20200206.ebuild
@@ -1,13 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
-PATCH_VER="2"
+GCC_TARBALL_SRC_URI="https://dev.gentoo.org/~grobian/distfiles/gcc-pre11-apple-si-f1bedb9.tar.gz"
+PATCH_GCC_VER="11.0.0"
+PATCH_VER="6"
+TOOLCHAIN_GCC_PV=11.0.0
inherit toolchain
-KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+#KEYWORDS="~ppc-macos ~x64-macos"
RDEPEND=""
BDEPEND="
@@ -16,11 +19,12 @@ BDEPEND="
|| ( ${CATEGORY}/binutils-apple ${CATEGORY}/native-cctools )
)"
+S="${WORKDIR}"/gcc-darwin-arm64-master-wip-apple-si
+
src_prepare() {
+ has_version '>=sys-libs/glibc-2.32-r1' && rm -v "${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch"
toolchain_src_prepare
- use vanilla && return 0
-
if use elibc_Cygwin; then
sed -e '/0001-share-mingw-fset-stack-executable-with-cygwin.patch/d' \
-i "${WORKDIR}/gcc-${CYGWINPORTS_GITREV}/gcc.cygport" || die
@@ -43,17 +47,6 @@ src_prepare() {
sed -i -e 's|^ifeq (/usr/lib,|ifneq (/usr/lib,|' \
libgcc/config/t-slibgcc-darwin || die
fi
-
- # fix for Big Sur versioning, remove with 11
- eapply -p1 "${FILESDIR}"/${PN}-10.1.0-macos-bigsur.patch
- find . -name "configure" | xargs \
- sed -i -e '/^\s*10\.\*)/N' \
- -e '/^\s*10\.\*)\s*_lt_dar_allow_undefined/s/10\.\*/10.*|11.*/' || die
-
- # fix complaint about Authorization Framework
- eapply -p1 "${FILESDIR}"/${PN}-10.1.0-darwin-auth-fixincludes.patch
-
- eapply_user
}
src_configure() {
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
index 076f7eba42..bebbcd1011 100644
--- a/sys-devel/gcc/metadata.xml
+++ b/sys-devel/gcc/metadata.xml
@@ -6,14 +6,14 @@
<name>Gentoo Toolchain Project</name>
</maintainer>
<use>
- <flag name="ada">Build the GCC ADA language frontend.</flag>
+ <flag name="ada">Build the ADA language (GNAT) frontend</flag>
<flag name="awt">Useful only when building GCJ, this enables Abstract Window Toolkit
(AWT) peer support on top of GTK+</flag>
<flag name="cilk">Support the Cilk Plus language (C/C++ based languages for parallel programming)</flag>
<flag name="d">Enable support for the D programming language</flag>
<flag name="fixed-point">Enable fixed-point arithmetic support for MIPS targets
in gcc (Warning: significantly increases compile time!)</flag>
- <flag name="gcj">Build the GCC GCJ language frontend.</flag>
+ <flag name="gcj">Build the GCJ Java language frontend.</flag>
<flag name="go">Build the GCC Go language frontend.</flag>
<flag name="graphite">Add support for the framework for loop
optimizations based on a polyhedral intermediate representation</flag>
@@ -21,11 +21,11 @@
This will slow down the compiler a bit as it forces all of the toolchain to be shared libs.</flag>
<flag name="libssp">Build SSP support into a dedicated library rather than use the
code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES)</flag>
- <flag name="lto">Enable support for Link Time Optimisation.</flag>
+ <flag name="lto">Build using Link Time Optimizations (LTO)</flag>
<flag name="mpx">Enable support for Intel Memory Protection Extensions (MPX)</flag>
- <flag name="nopie">Disable PIE support (NOT FOR GENERAL USE)</flag>
- <flag name="nossp">Disable SSP support (NOT FOR GENERAL USE)</flag>
- <flag name="nptl">Use Native Posix Threads for Linux (NOT FOR GENERAL USE)</flag>
+ <flag name="nopie">Disable PIE support (NOT FOR GENERAL USE)</flag>
+ <flag name="nossp">Disable SSP support (NOT FOR GENERAL USE)</flag>
+ <flag name="nptl">Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)</flag>
<flag name="objc">Build support for the Objective C code language</flag>
<flag name="objc++">Build support for the Objective C++ language</flag>
<flag name="objc-gc">Build support for the Objective C code language Garbage
@@ -34,6 +34,7 @@
<flag name="sanitize">Build support for various sanitizer functions (ASAN/TSAN/etc...)</flag>
<flag name="ssp">Build packages with stack smashing protector on by default</flag>
<flag name="systemtap">enable systemtap static probe points</flag>
+ <flag name="valgrind">Enable valgrind annotations for gcc internals (useful for gcc debugging).</flag>
<flag name="vtv">Build support for virtual table verification (a C++ hardening feature)</flag>
</use>
<upstream>