summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest4
-rw-r--r--sys-devel/gcc/gcc-11.4.1_p20240111.ebuild64
-rw-r--r--sys-devel/gcc/metadata.xml2
3 files changed, 67 insertions, 3 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 1caa14f2d9aa..cf0f59255b4b 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -9,6 +9,7 @@ DIST gcc-11-20231214.tar.xz 76228348 BLAKE2B fded6ed91e9376d23652490f6b36cf847d1
DIST gcc-11-20231221.tar.xz 76242656 BLAKE2B 279076c197fc9f666985c3f0a5f7e1dc0879ef2fa677e2fb5aeecbd605f52727f5591c58e8e9380f98c4de43f4aedfacd10ee78e450f6f549ac8424df901784d SHA512 004f5380a558f03195fd2988a03d6f1988d5ef13ab8be99a1ca0560950764019001fcd09178bc587e7c0a5c90cd7c147538d3e68d9194d1bf1888011e5565c1f
DIST gcc-11-20231228.tar.xz 76245188 BLAKE2B acac14d2915c08bfee3e64f8711c8bdc086a728093d6083f33f23c8db565da334a19d3f5b451788ad5f21f2005a8964890b467728886d85a34356c3908659bc9 SHA512 b30f115f1753195355ac31c59c111a5ed3a8dc1da08d0095fe0aa9107eb210487f3a1557b741c3d3e0c52744e20ace5788a98c642a1bd65d01c506bdafd8e5e3
DIST gcc-11-20240104.tar.xz 76252696 BLAKE2B 6105b2f9a90c11b792f6fc9693bf8c6d880310b68ee83aa3df062dbdd34979fe86a660f198485ec1ffccd913d42d681f34688bbff7b4c966d4af9fe22ff7125e SHA512 9b36c6b81fd875fc739b82c8d6539c4245509ea2125bf25be5b55e8a8305b2ebdb84f46c9cea46b82d4fc67f447e3c39c2e9399064ac0f3b91e12c039f400861
+DIST gcc-11-20240111.tar.xz 76240620 BLAKE2B dcf3b2493ca6ba1a9cd0137186cfbf1b96296ff9c5625e40ec7b89e5903b07dc151b61ad54b885fc57ccc02214e2cfa7b9249cbd755ac2554c6ca0008f0704d8 SHA512 aaed094cb6dd99166e0ec59886014108574ddab52701581f0f8e7f0abb966320d01f1bce6ff646170618ca7c2819d20523a23615f20114dbe412de43b937caf4
DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B a2335e155fc57816fed822a648e0eaefafcba9d04e1ad0fd7baeea5a694ab6f5e3c1678cb406f2a1bd17bab25cb01699d032713a1ccf337948dfda2093844607 SHA512 17b84f907cb1bd763873655e6f35fd3ed55a40b602b70a626f04f83b4cc89c6261db1661de78d4d969187a8c56e9f6305b742515a3836b962248a21df0df5d0c
DIST gcc-11.4.0-patches-10.tar.xz 13852 BLAKE2B 54937d13e30e2a5303c7e197fae09eeed35ca0b9783625e02578fcee829b5503fb22d664366322b304df7d01ae807d00af7c93db3e3ceebe4851e15647724f87 SHA512 31b4d7a2e7cc589e92e12c3583d13d41c523cafbd309bc0532df9b68ea2473c89daef4c0edd3ce2917b5823d81a7792f145b9449f16277d0d64c22ceff50bbb9
DIST gcc-11.4.0-patches-12.tar.xz 13824 BLAKE2B e4df9e0dc9512882022aaf325ebf65c540169454c91dd31f913c6f57f6eb291c79ae919671b53db1549799d4a70c09298bf45ed82ad05eb1f961443cc958369d SHA512 87fed0c3f8e28c9f702443db58350bb615110b27ebe334b5de2ea60678e2548c56cd75cffade210d69634e2ac0a9311f5100ddb45d97645aa76d5688bc421a61
@@ -46,6 +47,7 @@ EBUILD gcc-11.4.1_p20231214.ebuild 1614 BLAKE2B 034251f9a0ccff2432eeec6f8ad98fbf
EBUILD gcc-11.4.1_p20231221.ebuild 1615 BLAKE2B c5e2cb6b3f33a4b191291cbacf881c5ac3a1cc96f0f96d1956a0e53c5bb8150d8d78d46637c8fb7281da81b7b6f36a2a05c24bb72551258a04e8a2104a1c4c3b SHA512 7ac5f6c291498e8853ef945c5996b10f7572c068170613e1f2b4132ff1c6b35c836ee8c23d6b01c712f071e89d261f524b5e43fc54318295b3b0ad2536c21427
EBUILD gcc-11.4.1_p20231228.ebuild 1615 BLAKE2B c5e2cb6b3f33a4b191291cbacf881c5ac3a1cc96f0f96d1956a0e53c5bb8150d8d78d46637c8fb7281da81b7b6f36a2a05c24bb72551258a04e8a2104a1c4c3b SHA512 7ac5f6c291498e8853ef945c5996b10f7572c068170613e1f2b4132ff1c6b35c836ee8c23d6b01c712f071e89d261f524b5e43fc54318295b3b0ad2536c21427
EBUILD gcc-11.4.1_p20240104.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b42462968a10d6ef99d048018317345f6de7847a8648da53131ddf3fd21c2b9ee9753b067d602c099600c97c495bf566b024d10 SHA512 39ba5cba6e5a28d4ede775a7d2d48487fb2299f31d7879ba95c3655adc7faf346b9f3ac59e3c4234f1f302eda1820f14186ca4fbe2731513b0d3cafe184069ce
+EBUILD gcc-11.4.1_p20240111.ebuild 1615 BLAKE2B 9c08652463d428b830606ce44b42462968a10d6ef99d048018317345f6de7847a8648da53131ddf3fd21c2b9ee9753b067d602c099600c97c495bf566b024d10 SHA512 39ba5cba6e5a28d4ede775a7d2d48487fb2299f31d7879ba95c3655adc7faf346b9f3ac59e3c4234f1f302eda1820f14186ca4fbe2731513b0d3cafe184069ce
EBUILD gcc-11.5.9999.ebuild 1582 BLAKE2B a5b94704a65afc32a3079ad0732b544c03413a9f4965ccf1c2718fd763dc29b7a64e54b8cbb492d52e93527e3f0d4966d17eb6b6cb81fd609c6629d19f6b124d SHA512 bd165193f6ef2b12930bac05c8c3f75f6bafd143a13ed5c2960f7a1d8039608ca23ccbffe9a6b235d42c789d117e29cb3d47998c71a4a3eba30a63b8b9e0f116
EBUILD gcc-12.3.1_p20230825.ebuild 1613 BLAKE2B d0c6b99a1c529b7a518fc86b5d03c279dba37d111b0a356e416b8601f066cec460761ed14d0a4ef5faa6f16fb9af29baaf9bcb17edd55f5604d9bf012c579fd3 SHA512 b23bffb263e68b7f5045bfdf79538cb1e1abf4a4d789db7b915d586f10ebecf74a9d59715c8db5c2dd57545e559bdf72bec39a76ba50ddb13efc9db66982d56e
EBUILD gcc-12.3.1_p20231215.ebuild 1620 BLAKE2B 3866983ddc8c6811e00c12af0051e80bfc7f0651a5ef6ca4af9ee651e2efea89a095a616908cccdbac88d8c1baa5ba2eaba7ce7e94f9aae6ff3a56ff52bcd0c2 SHA512 81a426e6392a42d3a28eb6aa5a2de535771fdb87224eafb60ea369c902f27a42c8265565b354d4bbac8daa968849a20370c529c62c9367f0cf58756124d08e0b
@@ -67,4 +69,4 @@ EBUILD gcc-14.0.0_pre20231231.ebuild 1596 BLAKE2B 98b65e35ed8715228da714eb1dda7a
EBUILD gcc-14.0.0_pre20240107.ebuild 1596 BLAKE2B 61823820f769a92f02927416dea3b438c38094afd1fd34ea1010f6c99c345db7dac442130f081be744abf4aa8227b0f7f2e18a2c6db91b9caffa34e32dd493f3 SHA512 79fec1eafc773e07ba83b62b0d8cd8f05d9041a95a89e704b78e802bffbf70322f12d4fe1ce1feeda4b36904d263d7c5ec58e3ecfb1de304d29cddc0ba5190f8
EBUILD gcc-8.5.0-r1.ebuild 498 BLAKE2B e24f62fdb50bf2e9957cbb85c72adc96d369938a7f552735772de964f7023b8b34bd11e7e544d268cc308e25272084a728bd061f37c568d42ea65d55bb2a2e93 SHA512 f35b353e9f54eb3e1c6f8e0ea262458b41da9bddb993793aff79f765c4d93811744979d34e50c6470a9b2cfb63b7006bd284d819b7a98e56a8b3a34ae570ae76
EBUILD gcc-9.5.0.ebuild 1206 BLAKE2B 262931215488db54cab2141549f997a48e22d0a917917eb670d41d5b155c7685e92eb1bc3843d2eca47dd15a450199aea5d99777d2870ff09b1a79ac8a63bcb0 SHA512 3737a70e70e53a581280ff1449d7d92bb9ffba0919b618ea43d4747e09b2803795a05c07c0e3a2ec8982f8d5594be58f9ac549d329b18dc236ad5159e4a47132
-MISC metadata.xml 5254 BLAKE2B b64569d62dd67c2f2dab441bb2c4a65bcd61b4c9d8ad7543e8f91c583501d72ed1474abf785e68c48de298d8391de3d94b9b4020086b2b0fa9cc477114a92e9e SHA512 f1307b7865dc4c2c843b5f498196bf5710e45e3292181b43687ebe85b5e9b26203c9c83ee7872efe2cd93595eca430de91e3a5fd6900f0f62c875308ccbb0303
+MISC metadata.xml 5028 BLAKE2B ec00e09a2015bbb5a54040bee9d6f06aa8f29a99541cf6719aa249c9e93c3db480b351ff72e164120c7df12acd24db46fedb5de4d88f609113d094d8f2fb6ea2 SHA512 0cb15afedcf93b40a0cb2194ffefee439820dba5fd779aa7eec00448943184e0f436305645d5f04c54935587004f1ac82dba76cc9aecd16f2043ccde7e20b343
diff --git a/sys-devel/gcc/gcc-11.4.1_p20240111.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240111.ebuild
new file mode 100644
index 000000000000..da9833f43952
--- /dev/null
+++ b/sys-devel/gcc/gcc-11.4.1_p20240111.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_GCC_VER="11.4.0"
+PATCH_VER="12"
+MUSL_VER="2"
+MUSL_GCC_VER="11.4.0"
+
+if [[ ${PV} == *.9999 ]] ; then
+ MY_PV_2=$(ver_cut 2)
+ MY_PV_3=1
+ if [[ ${MY_PV_2} == 0 ]] ; then
+ MY_PV_2=0
+ MY_PV_3=0
+ else
+ MY_PV_2=$((${MY_PV_2} - 1))
+ fi
+
+ # e.g. 12.2.9999 -> 12.1.1
+ TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
+elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
+ # Cheesy hack for RCs
+ MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5)
+ MY_P=${PN}-${MY_PV}
+ GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
+ TOOLCHAIN_SET_S=no
+ S="${WORKDIR}"/${MY_P}
+fi
+
+inherit toolchain
+
+if tc_is_live ; then
+ # Needs to be after inherit (for now?), bug #830908
+ EGIT_BRANCH=releases/gcc-$(ver_cut 1)
+elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+ # Don't keyword live ebuilds
+ #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ :;
+fi
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ # Technically only if USE=hardened *too* right now, but no point in complicating it further.
+ # If GCC is enabling CET by default, we need glibc to be built with support for it.
+ # bug #830454
+ RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
+ DEPEND="${RDEPEND}"
+ BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
+fi
+
+src_prepare() {
+ local p upstreamed_patches=(
+ # add them here
+ )
+ for p in "${upstreamed_patches[@]}"; do
+ rm -v "${WORKDIR}/patch/${p}" || die
+ done
+
+ toolchain_src_prepare
+
+ eapply_user
+}
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
index 67374f76c3c9..93ff067baadb 100644
--- a/sys-devel/gcc/metadata.xml
+++ b/sys-devel/gcc/metadata.xml
@@ -75,8 +75,6 @@
GCC itself is built and optimized with LTO.
</flag>
<flag name="modula2">Build the GCC Modula-2 language frontend.</flag>
- <flag name="mpx">Enable support for Intel Memory Protection Extensions (MPX)</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 Collector</flag>