diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-01 02:13:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-01 02:13:31 +0100 |
commit | de6c40224da664deb650b25efd11f41044602c76 (patch) | |
tree | 705e4bb63436ed72cbca7e1a3aac31778933cff7 /sys-devel | |
parent | 54135f54d50ccd967032395ba30074c9d46dab25 (diff) |
gentoo auto-resync : 01:04:2024 - 02:13:31
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/Manifest.gz | bin | 7698 -> 7698 bytes | |||
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-14.0.1_pre20240331.ebuild | 66 |
3 files changed, 68 insertions, 0 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex cd163b6187aa..71a1f5ccc383 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index f218887dcefb..b11471e8fbb6 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -43,6 +43,7 @@ DIST gcc-14-20240303.tar.xz 87667912 BLAKE2B 318deb7693641719a9a695504efd7005822 DIST gcc-14-20240310.tar.xz 87720704 BLAKE2B 9acac9ba0b47d1ecb6dfcdaf17e6bd94c888082cfeeef83ffc72658edb59d5c888625a4459ac00e765a42b19aedb412d32ad488f4d505aa15e383cccf036201b SHA512 a4fe1bab95ad835235fc9764575170237f554e4590a1587c981a47977ae42311b7b57322e4db3f95e4d57a347a9666822eeae29c6d30f87a5108a62400e040bc DIST gcc-14-20240317.tar.xz 87764960 BLAKE2B 5cd957c3bf5e2fbb134b716a7ed14c0ace66d5c944e15422e66affbf110b76ba3b4bf83a05af49eec23d8f1543ca36c3d6ce81fa1b292cba47eceb517c3a7352 SHA512 77ade098872f687a3fb23dcb612eeed27a3ecf816304a218d695d2be7433576ceafcb13a9cfde3ed7fc9e48bfaee8521b77cfbabfe41b2557328cc95f3e73ebe DIST gcc-14-20240324.tar.xz 87808876 BLAKE2B 546b69f4562cfee6a3d5d8700e2a9bd0da001e3dde04825754ec5298144243ea4c975d0bf0366711fc9680f263732afb40c083fe9268f578b89e7d006b8d4955 SHA512 16b00690bf541784a109bc2382bbdf8ba6b72b416b130905d020182708ae687cbeca28197ab16539032ce9db3ad0e062e4231f9ef4c2d2452b14ed2b0ff3596e +DIST gcc-14-20240331.tar.xz 87841560 BLAKE2B 7a3c0beb8234c38e4ad5d27369e848c178053a595bb6a4d2f5e2c848c5ddcd8a89b7674190d6964d5b3fd49709fb3f9be22e651a21543384f0210355bfca79fc SHA512 c7883d3ecb65e46783d8ce5efa87b53600aa84736a9af026b51ed5fdd827cae20729d4cb5cba70d3322ae7ca72c2d5a6944e5dee4174226bfc3c6398777d6377 DIST gcc-14.0.0-musl-patches-1.tar.xz 3576 BLAKE2B 692baee8a7709905d53aeb150d73a3721c4ba47ee5f397cfb1b5be905cf003ca02b60c94ee294d90ac39645cd5cdf186c7a3aa950c47d8cf680c128ed705b807 SHA512 0592ab98a7142e404623a6511c67dff61e9ade32c3fb2c0e75b456306e0af3799ad13252b50b3d2fdd31e5815d7f0b16b0ad63ab8386fe4d78729fc9c182d617 DIST gcc-14.0.0-patches-23.tar.xz 13796 BLAKE2B bac16d3131c79dfd5655fc591db7342d4a3d00b863599626ca5805b6a49e9ffab347dc9a3339745ee16b2efefd0874e2ca3acfc3bce66ff0cedbcf712dc0bd72 SHA512 f9a0dd3dfe4dd5e55ac6ae93f5816af38f518110a968597dc55b446406011c3631e33e217533501966f665b9a8bda117ae8d19c62577d4267ddbbd90f4066afc DIST gcc-14.0.0-patches-24.tar.xz 14280 BLAKE2B f5594e07f91a7871fc4470d84ecbf6576f53620c92f60821d2fdcf140869827d27a323d535af11b74f4b671ee7308e501f24841ceb0607ca3ebc032bd97d85b4 SHA512 d887b53a0849246bc79ee2510d7deffabc58fe7598e9e147e4a97fc3714341017627df3dae9a39ae5d3185946cb6e11d01a28aa1287958c401e641fa4312f48b @@ -86,6 +87,7 @@ EBUILD gcc-14.0.1_pre20240303-r1.ebuild 1741 BLAKE2B 130e45c2007b7e2ee1601cbda58 EBUILD gcc-14.0.1_pre20240310.ebuild 1701 BLAKE2B b3884316f5d5dfb8f5aeec04952f12b930e69c34acc98a758304ae3d8b10a2cf033dd92fd1ff71924d90095bdaca76b3f076af24d751344da73296d78e6fb2c3 SHA512 f822283f4299c844fbb4ea4e3cbb631562435b4ce37f41a5700a0477970cda8bb4c399a0adcd8fc2b2dd58b82f442b1f86727061849ed57d2debbda1c60e3b76 EBUILD gcc-14.0.1_pre20240317.ebuild 1701 BLAKE2B b3884316f5d5dfb8f5aeec04952f12b930e69c34acc98a758304ae3d8b10a2cf033dd92fd1ff71924d90095bdaca76b3f076af24d751344da73296d78e6fb2c3 SHA512 f822283f4299c844fbb4ea4e3cbb631562435b4ce37f41a5700a0477970cda8bb4c399a0adcd8fc2b2dd58b82f442b1f86727061849ed57d2debbda1c60e3b76 EBUILD gcc-14.0.1_pre20240324-r1.ebuild 1743 BLAKE2B 2f95379995ab1f1d5984797ac29964b31d4c7c38b4c37f682eab29019df08092ab4ae272f939ad58c4e04e2d272c5206ca4270549c75dd5899d739c064bf9e81 SHA512 fec375ced34cf10dac1e244c117000ba89e81eddce2d7fc1805f8c9626d8e4e67c3d589f77fbaa335fa77f7d2ead6b7bba110378d7a883588842442315d1b410 +EBUILD gcc-14.0.1_pre20240331.ebuild 1701 BLAKE2B b3884316f5d5dfb8f5aeec04952f12b930e69c34acc98a758304ae3d8b10a2cf033dd92fd1ff71924d90095bdaca76b3f076af24d751344da73296d78e6fb2c3 SHA512 f822283f4299c844fbb4ea4e3cbb631562435b4ce37f41a5700a0477970cda8bb4c399a0adcd8fc2b2dd58b82f442b1f86727061849ed57d2debbda1c60e3b76 EBUILD gcc-14.0.9999.ebuild 1368 BLAKE2B 69defab2f5b5ed8bc89f6ba33f8ac053784a9c8210a0f373112ded22c094781a745c7accceb9f79f66887be901c068c1fbc9e2341b46221fd0419c5a72c57cc9 SHA512 2a62edb513ea86e9ddf25f47b7682ae29932e997240bcd0ac5027ab84ad07d11088da84745f3e8bab73fd831d5bf2320dd9657cba8f6ff8f7bce115da90d0492 EBUILD gcc-8.5.0-r1.ebuild 533 BLAKE2B 70a6e6b0b3069eef47e44de127b26b140abfb3a7aab57db3c27c9b30743be20962eeab91654259824c9a3808e30c6dbb48bac4ac3ae18525ce9c4b71eecb03be SHA512 8853dafa3f3e1e5371edddd277f1b2c9f47824fc1fee6a4836ffc8ff9f8bc3dbd126747d62017eef171232db190816b4a8b796d517d3f5ec8bc718f680c7d0ca EBUILD gcc-9.5.0.ebuild 1241 BLAKE2B 856375d942a3e927e1449c2b1d0abcbea0a0a5ef5aca203d914747b0bf1fa54de965e219d8722b635bf844cfbdbc8edd2c0f6ab6bcefceb473a4f629420f476a SHA512 d9d6ab8119dd21a43e98481882f7dd4a58f250ab9296b6d592bae86c825a253b7047ce4b067a53de8ed81254be8e2352fabb167eab656b51bba8f666e247f0f1 diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240331.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240331.ebuild new file mode 100644 index 000000000000..e809e40f6564 --- /dev/null +++ b/sys-devel/gcc/gcc-14.0.1_pre20240331.ebuild @@ -0,0 +1,66 @@ +# 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="14.0.0" +PATCH_VER="25" +MUSL_VER="1" +MUSL_GCC_VER="14.0.0" +PYTHON_COMPAT=( python3_{10..11} ) + +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=master +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="amd64? ( >=${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 "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} |