From 36fc50e36ed1a4686bb7202aeaff3170b2206124 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Mar 2024 19:01:15 +0000 Subject: gentoo auto-resync : 23:03:2024 - 19:01:14 --- sys-devel/Manifest.gz | Bin 7710 -> 7701 bytes sys-devel/binutils-hppa64/Manifest | 14 +- .../binutils-hppa64-2.37_p1-r2.ebuild | 11 - .../binutils-hppa64/binutils-hppa64-2.38-r2.ebuild | 11 - .../binutils-hppa64/binutils-hppa64-2.39-r5.ebuild | 11 - .../binutils-hppa64/binutils-hppa64-2.40-r7.ebuild | 11 - .../binutils-hppa64/binutils-hppa64-2.41-r3.ebuild | 11 - .../binutils-hppa64/binutils-hppa64-2.41-r5.ebuild | 11 - .../binutils-hppa64/binutils-hppa64-2.42-r1.ebuild | 11 - sys-devel/binutils/Manifest | 31 +- sys-devel/binutils/binutils-2.32-r2.ebuild | 11 - sys-devel/binutils/binutils-2.33.1-r1.ebuild | 11 - sys-devel/binutils/binutils-2.34-r2.ebuild | 11 - sys-devel/binutils/binutils-2.35.2.ebuild | 11 - sys-devel/binutils/binutils-2.36.1-r2.ebuild | 11 - sys-devel/binutils/binutils-2.37_p1-r2.ebuild | 11 - sys-devel/binutils/binutils-2.38-r2.ebuild | 11 - sys-devel/binutils/binutils-2.39-r5.ebuild | 11 - sys-devel/binutils/binutils-2.40-r9.ebuild | 11 - sys-devel/binutils/binutils-2.41-r2.ebuild | 11 - sys-devel/binutils/binutils-2.41-r3.ebuild | 11 - sys-devel/binutils/binutils-2.41-r4.ebuild | 11 - sys-devel/binutils/binutils-2.41-r5.ebuild | 11 - sys-devel/binutils/binutils-2.42-r1.ebuild | 11 - sys-devel/binutils/binutils-9999.ebuild | 11 - .../binutils/files/binutils-configure-LANG.patch | 65 --- sys-devel/clang-common/Manifest | 12 +- .../clang-common/clang-common-17.0.6-r1.ebuild | 2 +- .../clang-common/clang-common-17.0.6-r2.ebuild | 295 +++++++++++ .../clang-common/clang-common-18.1.2-r1.ebuild | 297 +++++++++++ .../clang-common/clang-common-19.0.0.9999.ebuild | 10 +- .../clang-common-19.0.0_pre20240316.ebuild | 10 +- .../clang-common-19.0.0_pre20240322.ebuild | 296 +++++++++++ sys-devel/clang-common/metadata.xml | 10 + sys-devel/clang-runtime/Manifest | 3 +- .../clang-runtime/clang-runtime-17.0.6.ebuild | 2 +- .../clang-runtime-19.0.0_pre20240322.ebuild | 39 ++ sys-devel/clang-toolchain-symlinks/Manifest | 2 +- .../clang-toolchain-symlinks-17.ebuild | 2 +- sys-devel/clang/Manifest | 4 +- sys-devel/clang/clang-17.0.6.ebuild | 2 +- sys-devel/clang/clang-19.0.0_pre20240322.ebuild | 475 ++++++++++++++++++ sys-devel/gcc/Manifest | 62 +-- sys-devel/gcc/files/gcc-configure-LANG.patch | 64 --- sys-devel/gcc/gcc-10.5.0.ebuild | 3 +- sys-devel/gcc/gcc-11.4.1_p20240111.ebuild | 1 + sys-devel/gcc/gcc-11.4.1_p20240208.ebuild | 1 + sys-devel/gcc/gcc-11.4.1_p20240222.ebuild | 1 + sys-devel/gcc/gcc-11.4.1_p20240229.ebuild | 1 + sys-devel/gcc/gcc-11.4.1_p20240307.ebuild | 1 + sys-devel/gcc/gcc-11.4.1_p20240314.ebuild | 1 + sys-devel/gcc/gcc-11.5.9999.ebuild | 1 + sys-devel/gcc/gcc-12.3.1_p20240112.ebuild | 1 + sys-devel/gcc/gcc-12.3.1_p20240209.ebuild | 1 + sys-devel/gcc/gcc-12.3.1_p20240223.ebuild | 1 + sys-devel/gcc/gcc-12.3.1_p20240301.ebuild | 1 + sys-devel/gcc/gcc-12.3.1_p20240308.ebuild | 1 + sys-devel/gcc/gcc-12.3.1_p20240315.ebuild | 1 + sys-devel/gcc/gcc-12.4.9999.ebuild | 1 + sys-devel/gcc/gcc-13.2.1_p20240113-r1.ebuild | 1 + sys-devel/gcc/gcc-13.2.1_p20240210.ebuild | 1 + sys-devel/gcc/gcc-13.2.1_p20240224.ebuild | 1 + sys-devel/gcc/gcc-13.2.1_p20240302.ebuild | 1 + sys-devel/gcc/gcc-13.2.1_p20240309.ebuild | 1 + sys-devel/gcc/gcc-13.2.1_p20240316.ebuild | 1 + sys-devel/gcc/gcc-13.3.9999.ebuild | 1 + sys-devel/gcc/gcc-14.0.1_pre20240218.ebuild | 1 + sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild | 1 + sys-devel/gcc/gcc-14.0.1_pre20240303-r1.ebuild | 1 + sys-devel/gcc/gcc-14.0.1_pre20240310.ebuild | 1 + sys-devel/gcc/gcc-14.0.1_pre20240317.ebuild | 1 + sys-devel/gcc/gcc-14.0.9999.ebuild | 1 + sys-devel/gcc/gcc-8.5.0-r1.ebuild | 3 +- sys-devel/gcc/gcc-9.5.0.ebuild | 3 +- sys-devel/kgcc64/Manifest | 16 +- sys-devel/kgcc64/files/gcc-configure-LANG.patch | 64 --- sys-devel/kgcc64/kgcc64-10.5.0.ebuild | 3 +- sys-devel/kgcc64/kgcc64-11.4.1_p20240111.ebuild | 1 + sys-devel/kgcc64/kgcc64-11.4.1_p20240208.ebuild | 1 + sys-devel/kgcc64/kgcc64-12.3.1_p20240112.ebuild | 1 + sys-devel/kgcc64/kgcc64-12.3.1_p20240209.ebuild | 1 + sys-devel/kgcc64/kgcc64-13.2.1_p20240113-r1.ebuild | 1 + sys-devel/kgcc64/kgcc64-13.2.1_p20240210.ebuild | 1 + sys-devel/lld-toolchain-symlinks/Manifest | 2 +- .../lld-toolchain-symlinks-17.ebuild | 2 +- sys-devel/lld/Manifest | 4 +- sys-devel/lld/lld-17.0.6.ebuild | 2 +- sys-devel/lld/lld-19.0.0_pre20240322.ebuild | 93 ++++ sys-devel/llvm-common/Manifest | 4 +- sys-devel/llvm-common/llvm-common-17.0.6.ebuild | 2 +- .../llvm-common-19.0.0_pre20240322.ebuild | 53 ++ sys-devel/llvm-toolchain-symlinks/Manifest | 2 +- .../llvm-toolchain-symlinks-17.ebuild | 2 +- sys-devel/llvm/Manifest | 4 +- sys-devel/llvm/llvm-17.0.6.ebuild | 2 +- sys-devel/llvm/llvm-19.0.0_pre20240322.ebuild | 542 +++++++++++++++++++++ sys-devel/llvmgold/Manifest | 2 +- sys-devel/llvmgold/llvmgold-17.ebuild | 2 +- 98 files changed, 2254 insertions(+), 528 deletions(-) delete mode 100644 sys-devel/binutils/files/binutils-configure-LANG.patch create mode 100644 sys-devel/clang-common/clang-common-17.0.6-r2.ebuild create mode 100644 sys-devel/clang-common/clang-common-18.1.2-r1.ebuild create mode 100644 sys-devel/clang-common/clang-common-19.0.0_pre20240322.ebuild create mode 100644 sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240322.ebuild create mode 100644 sys-devel/clang/clang-19.0.0_pre20240322.ebuild delete mode 100644 sys-devel/gcc/files/gcc-configure-LANG.patch delete mode 100644 sys-devel/kgcc64/files/gcc-configure-LANG.patch create mode 100644 sys-devel/lld/lld-19.0.0_pre20240322.ebuild create mode 100644 sys-devel/llvm-common/llvm-common-19.0.0_pre20240322.ebuild create mode 100644 sys-devel/llvm/llvm-19.0.0_pre20240322.ebuild (limited to 'sys-devel') diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz index 6f7d8c19cae8..4e9a00d066c9 100644 Binary files a/sys-devel/Manifest.gz and b/sys-devel/Manifest.gz differ diff --git a/sys-devel/binutils-hppa64/Manifest b/sys-devel/binutils-hppa64/Manifest index 4ce0a853405e..0d98a95d831b 100644 --- a/sys-devel/binutils-hppa64/Manifest +++ b/sys-devel/binutils-hppa64/Manifest @@ -11,11 +11,11 @@ DIST binutils-2.41-patches-5.tar.xz 95176 BLAKE2B bbc94b3c7d70653a1056afe57a120b DIST binutils-2.41.tar.xz 26765692 BLAKE2B 3bccec2b52f7e82a727121bf2a2e51a6249ba63dcd74c665fd834e858645c912ffd8245d848435288b938852830b482905606f55c40df4061215fd75c52ffc75 SHA512 5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374 DIST binutils-2.42-patches-3.tar.xz 34768 BLAKE2B e4bfaf3b42147408a8a3dcb00f50378a6b49aef8e939731a92598680cfbf42dfdf842c3f5bf3458867f79c534eb92385bc64f34f7b1d6462ec4182b5f424fbe5 SHA512 3d75e0684bbfa2cc3fc6dfcb5488ac571db58f1a5833fcc754f231664137001ccb0f2ec750947b8021fa12daf614eb2cd21b598bd962d71a34bb8ea38805850d DIST binutils-2.42.tar.xz 27567160 BLAKE2B e67a5c028fba70e70088fd11b38ec8c9c4ed5a019badefda25abeb6275997b16f0891e7ff3424c4b82bbfae92e8992669826920dd53df61cd48469d8f7cd5bd1 SHA512 155f3ba14cd220102f4f29a4f1e5cfee3c48aa03b74603460d05afb73c70d6657a9d87eee6eb88bf13203fe6f31177a5c9addc04384e956e7da8069c8ecd20a6 -EBUILD binutils-hppa64-2.37_p1-r2.ebuild 13286 BLAKE2B 120e55db5b3d5d072765b9e73f1740ad7ec68e3bcc564816caf7fd7f0d2a6f7826ed7ef20e932a1e0d74c362fc94ce91b3507f1b0b8eb4e4693020954851132a SHA512 187b721fd6bacffa89c5035737cf7b28f9a9a72f26da9af3cc680c362692490f34e756edf1bcc969643698d4fe54125701c0d9b47456482fad28bb1d7e406714 -EBUILD binutils-hppa64-2.38-r2.ebuild 13299 BLAKE2B 270ba4d89b0ab64e5eba9fd255da8b21a883257c39322b49c7f0967055a82e5eaeca58c5113b43ba7bab53b4f006ca81c12cd06d2d775ab6a6c7f7ebf10a9a01 SHA512 0119e75dbeabb4ea32b2700684c8793a5bd9927134dcf3d314755a8fa0990719384c3c1314dcdc77364650b85560a8d1706e5184b1dcf328cda7eb58f2735830 -EBUILD binutils-hppa64-2.39-r5.ebuild 14304 BLAKE2B 46acf1ddc52015edbb1f5496c4dd5fc55859e8c3a3ea4365d931e01bb1cd48a538b745dc7d228413f90e63db4077c0bacda7d2a4528746455db9216f7db92fde SHA512 fc8e321f66cf8fd9b3c03bc78cc0d51dc7d0fbc24b0d83347fb34f817753d4fa4be1b4f139b3e24d749ca47e6788f65eec0262185759b13a577b246a292843a9 -EBUILD binutils-hppa64-2.40-r7.ebuild 14304 BLAKE2B 46acf1ddc52015edbb1f5496c4dd5fc55859e8c3a3ea4365d931e01bb1cd48a538b745dc7d228413f90e63db4077c0bacda7d2a4528746455db9216f7db92fde SHA512 fc8e321f66cf8fd9b3c03bc78cc0d51dc7d0fbc24b0d83347fb34f817753d4fa4be1b4f139b3e24d749ca47e6788f65eec0262185759b13a577b246a292843a9 -EBUILD binutils-hppa64-2.41-r3.ebuild 14489 BLAKE2B 79eb4d787a2aee35229c3a9fd32804449db0245adb9a0a02674a59767347958d276bec7d88df2850daf236c1369fb569c0a7f95c4d57cdb1c01394c9fd818c5b SHA512 2bee9236bb1a27809e2e236b29e7e1378a7eff9ace039973c448912403d55057da5d0694c13daf9137f300a3bb1549f40863ea1df64ff2f455a63a837b82137a -EBUILD binutils-hppa64-2.41-r5.ebuild 14489 BLAKE2B 6dcb60f878cdb029a845791e2167930bf679ed3cf80ab1bdc0042f4a7f09f8eb1e11fe1578acb0e499f3fbcf2f3e218b6d42d1351ac9c0d1502c75817541b747 SHA512 dc65b8e8911fa526a3235ee300f252810d6480c71639ab9319196b378eb4a5b6bbdba58b4c36582f33bc18dc5bd91e48b4bb9a4aa2db7086595b4d1b76ee69c9 -EBUILD binutils-hppa64-2.42-r1.ebuild 15492 BLAKE2B 6e65b357d45eed225269d3b5aaa0088173447744cba077a03b518c6382791e4de79424107559a33b21d66c04f2022cc150e3f7b10ce2fa72a6837aced7588ead SHA512 a47b83e23aee91a3c7c065b856677322eec0c4c167babbbb6c3f5291987d1ff968af4e897f50414d2439e105a9f4a7fea030905a9185dd9e238a72920712ce73 +EBUILD binutils-hppa64-2.37_p1-r2.ebuild 12850 BLAKE2B 3359bbaab0af3be9e6cc5f84959caa5b3d57d0af838b7a952854051b647fa496bf7dc3b0582c5bbd518f55fc38bb06d3bdf67ea85f7c3af0d892993741cc3672 SHA512 5e9ff80f051dde6a7909b2d6827745b038d57ee0aeee7e1f5dbbbdb1f08941444a971d5296dc65b9341e02ca383b46f7bd484f68cee74bb1682de22cab7bd4d5 +EBUILD binutils-hppa64-2.38-r2.ebuild 12858 BLAKE2B a91eea4d22fd3dc6c3d9010b256d006f3a832cb390ba9e387bfd4a5c4ceeb6fe8ad02624f50c957b2917b528451e31e2c4d5f048d12f78c1224ee71660f06b21 SHA512 b185556f88eff64c40a12fecee2f9d7f0873b9d59926cd853831d6d7a9b6f7fba71541ca0f93eb9919795041f5e2ff0049f855dda8537300e66e1bd687e8f446 +EBUILD binutils-hppa64-2.39-r5.ebuild 13863 BLAKE2B 0e88fddae6ee0f05a7a34d60a8781bae08c2fca3c8599756054dcb51d304b2ff4ae43c072e68ed8045f70a120efa9422cf6ed76302f1fd1e088721f24cca73d4 SHA512 5973e97817c730917c2697a542e67c63e3c51494094ced7778f932fee35fd192fbc0d0b2e5bfbc8cb554224586a48afdcd0ca331ab8531e01a8410a59c422890 +EBUILD binutils-hppa64-2.40-r7.ebuild 13863 BLAKE2B 0e88fddae6ee0f05a7a34d60a8781bae08c2fca3c8599756054dcb51d304b2ff4ae43c072e68ed8045f70a120efa9422cf6ed76302f1fd1e088721f24cca73d4 SHA512 5973e97817c730917c2697a542e67c63e3c51494094ced7778f932fee35fd192fbc0d0b2e5bfbc8cb554224586a48afdcd0ca331ab8531e01a8410a59c422890 +EBUILD binutils-hppa64-2.41-r3.ebuild 14048 BLAKE2B d313d80ef34a24411662498d3ef77f0be1085d1d7f673125da22a72c2d9724a6d81fb965b0f16c0a82e501bd5994436f186f5e3ed92937a67bc41a57a5262b01 SHA512 b7b60d5fa4521964d39f2577db3ef2b155cb68910d545ef91d55e4f79c9f3e6a39ef7eca269f9b927fc85bb18da18bb27506aa3b04cafe2284672d44d470b728 +EBUILD binutils-hppa64-2.41-r5.ebuild 14048 BLAKE2B 4290a888bb76e52e1e9f32e081934d2f39759bc4aaa2b750a465325f3a9068a257dda9a45c3aae0848c4120bc4df4692cce382acca265f042c0bb75783e80242 SHA512 56928ada7bd013904eae956667997492dfc707975632171a5124f66d6306308f03de6decfb36700adf0cc2759737527716eb9a919267304844c394468ffbb994 +EBUILD binutils-hppa64-2.42-r1.ebuild 15051 BLAKE2B 1bfc45c11bfff644513496a11c3282e2e0ad014a5ea44ba65d7eceeb8aa6bb70e91a9d4a031a7d296e86788c65a4980ec5f98e1c71d79a800971a6f46773a04f SHA512 c6c1a5522dba24b665abf1cbf076f98c519a815bd3ef6935f01253787d605a896e0073f21bee839f59a755b77143fe38f8a1c70bdbff7befc81792d4a539f796 MISC metadata.xml 1110 BLAKE2B 0a916aa36bbf2a81095732fc321d989c9ff369de43474ff98317530c19085d1f20f5934ede2caa5939e2b4dbd29c1d98ea35de1ad4056db396c72e75abf97aa9 SHA512 216d0df87f2eb99c79b9417ff295280a05c48757d4969b3a6a48a8dfbe4004a67511006b192680432f971ebb6e5950a2b0d20ce50415cb13123badbe9ece95d5 diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild index 62687be11ca8..144ce57e1699 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild @@ -122,17 +122,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild index 6e2caef9b99a..909ed7c262ce 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild @@ -123,17 +123,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r5.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r5.ebuild index 7d9b8087884d..9b2ba15370d8 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r5.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r5.ebuild @@ -123,17 +123,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.40-r7.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.40-r7.ebuild index 7d9b8087884d..9b2ba15370d8 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.40-r7.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.40-r7.ebuild @@ -123,17 +123,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r3.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r3.ebuild index 2288c5a0186f..cfe58c7c1e4f 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r3.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r3.ebuild @@ -123,17 +123,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r5.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r5.ebuild index b7c959c290e3..c4fc096afca6 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r5.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.41-r5.ebuild @@ -123,17 +123,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild index 9826f659b232..53e91ed47268 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.42-r1.ebuild @@ -134,17 +134,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest index 42f9ee172f0d..10e27f9149da 100644 --- a/sys-devel/binutils/Manifest +++ b/sys-devel/binutils/Manifest @@ -5,7 +5,6 @@ AUX binutils-2.35.1-cet.patch 2675 BLAKE2B b720e43514b25897a332648bfb15e16278f76 AUX binutils-2.35.2-powerpc-tests.patch 6108 BLAKE2B 20f9664b0d23e17584a0de5b6e28b3ed18cd072683b760c8fa6c43185a59ab9e7310059a89e6643a7372897c3e903598e800310091ad5a5366800c1997e380c5 SHA512 113bc477103f410fbb8d8ae97963a5093574b10542c339a04474bc6e6e06dab2cf03648ec78ffa489acfd208fafbb33bf769000c32178558c4fc72c7f0649b2b AUX binutils-2.40-linker-search-path.patch 1665 BLAKE2B d8cf8febae443855e2676004e6da0434b372522266bbbef131cf6c88138013b5a1d355f96f7b5466f3fb519d21155f9130dcd712cf50046fea2932c94ac33a08 SHA512 84aad18b9d6f6a221ce3bc4e0da4155bb361132e382ed2c4031dc4dde290065b2b828f97a44a94702c3f1143a68394307ee937799d27bffd60a8ffee7cc3e7d1 AUX binutils-2.41-linker-prefix.patch 2224 BLAKE2B 104dbcb5c80ddbb8a9194694cb518d7c9c8452db7c639e30f6692c675179d342d45deeea1ee7e72624df65836ba1760c0a0cce4697af88cb56c22def256e33e3 SHA512 b4e21378d912fa1b6df2c64fca45a191a61ec5848b52d801db42fe867cc68463c09f832425c5a6b4b77a8cc8b0b00f4457ac4ab4ace01bf9ddcf40603ca74043 -AUX binutils-configure-LANG.patch 2082 BLAKE2B 5db7ce0626dee8f3d84547eaccc5a2808bbb55657dd22c890782446fc9fe3e84683277d8da675067d9fd494d99dd292883174e133e440ce6a90d22a9f1aa9142 SHA512 1caf25d5e332d7de313b6be73e753fdde7b02235af564a9c06517f5874127998eeed731388617b75f54be6fec21835b78a54ce6c7162a33e25411fe3c78efee7 DIST binutils-2.32-patches-3.tar.xz 151372 BLAKE2B 70d5f78d9f3e3bf9ff096b6f24babcc35c63395a5e1155a981a5ceb4b7a5706ad2ee0c77c74e910fc0eefeaed19763113186deb9665eed538dc3b8e227bef12d SHA512 5e91eff63332c2aca86a82a287ca4959a6098065ed88078265a3d79a2c851abd113e9736b75d8102a208996ed1191b0e23569921217ece975f1d9005a55afd0d DIST binutils-2.32.tar.xz 20774880 BLAKE2B d1bdbd9c8487c091665c197974ce4bdf520b7a67ed6997a81b87e6a0af9514a091458244f583acec5ae580ac2ee5e908f67f483b8e5263cd18ced794cb235da6 SHA512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a DIST binutils-2.33.1-patches-2.tar.xz 18636 BLAKE2B 0e0757329b6a83aeff4f4c450c95e73fd48fcc89f83e63f294568632bee0972552cf2f57494352c5d9a7c16a51cdbc4108b38fa6028d4388c8e76046b3da9212 SHA512 d982f68d1f5fdb384309a2a1b7426bf840a90e7a85b37229b4223b62c36cab9dd9ec0c08382c85c68adf996dec21133df3180a2fc649363adae8645f8282f71d @@ -30,19 +29,19 @@ DIST binutils-2.41-patches-5.tar.xz 95176 BLAKE2B bbc94b3c7d70653a1056afe57a120b DIST binutils-2.41.tar.xz 26765692 BLAKE2B 3bccec2b52f7e82a727121bf2a2e51a6249ba63dcd74c665fd834e858645c912ffd8245d848435288b938852830b482905606f55c40df4061215fd75c52ffc75 SHA512 5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374 DIST binutils-2.42-patches-3.tar.xz 34768 BLAKE2B e4bfaf3b42147408a8a3dcb00f50378a6b49aef8e939731a92598680cfbf42dfdf842c3f5bf3458867f79c534eb92385bc64f34f7b1d6462ec4182b5f424fbe5 SHA512 3d75e0684bbfa2cc3fc6dfcb5488ac571db58f1a5833fcc754f231664137001ccb0f2ec750947b8021fa12daf614eb2cd21b598bd962d71a34bb8ea38805850d DIST binutils-2.42.tar.xz 27567160 BLAKE2B e67a5c028fba70e70088fd11b38ec8c9c4ed5a019badefda25abeb6275997b16f0891e7ff3424c4b82bbfae92e8992669826920dd53df61cd48469d8f7cd5bd1 SHA512 155f3ba14cd220102f4f29a4f1e5cfee3c48aa03b74603460d05afb73c70d6657a9d87eee6eb88bf13203fe6f31177a5c9addc04384e956e7da8069c8ecd20a6 -EBUILD binutils-2.32-r2.ebuild 12099 BLAKE2B ed55d9dd2d592285c17bcdbfa94ab05f95a4d0f4e86f4759aaa37946f71f5cf2343a7c176f8ff01b28cf70aa048d230bf0d319b54477a25417e09f6913edef41 SHA512 4ba3e3846ed46f906f7bd74abce38faa58409906797c7ed51917e8d2d9222c5dc18248e20837f42aa05851a1cc378e61e66aefc904e41294e777cf99dce085c8 -EBUILD binutils-2.33.1-r1.ebuild 11835 BLAKE2B 926c52c119cd10c787b6670800d900522e77417ac7ebbcbdf638a81cbff66f93687abe39a9b9a9de22a5a946a602e8cfd815844f671613031bd0efae7cba8e6b SHA512 6ee9f2f4ad625aed6ef115a6d4acc08651a79aaac80a3a8ca967a82f44cc3102bd09e10097d3e4131cfabe3e0338b804d8fbc5b1d08a6c9582f935237fffaef5 -EBUILD binutils-2.34-r2.ebuild 11931 BLAKE2B ad12e3d35fca3bd077115f302e3b85e4f0433cc71c24d1df702f2fec69fdc9c521b9cb9a0697dfcacada3821ecdfc5603f8224a6b32c202fc36f3f79d2783bdd SHA512 29def5a7c5047bb3820bccdd495089f1f502a140940105066bed25a4370de286e8d7a0e3f49d983e7079faec22a624c7b4a1aa178ec0ccb508a85fc5ccdf3dfb -EBUILD binutils-2.35.2.ebuild 12819 BLAKE2B e7e72dd1b201431967ee67c762c4fafa9428e19c27f5c11f9d83d54cc8f0a1200b0c42837691497869415dde4d772256f354df79edf440c47871f6c60ea1cf15 SHA512 f92f391047c1e4a6f9912168b85efeb57a539dcb0c20f1384f725b895853998de7088cab4ff55517ab6fb65394b046ff100852316915523f09ca3cdae37c21ad -EBUILD binutils-2.36.1-r2.ebuild 12721 BLAKE2B 8675395aa9b923739e8cf8742fda84299cd35eecaedda12e0ad776c671cc579c3acbd976a0f8fc395451d0d1931f9fd04a900b60da1638f1d0de1a02312df5b1 SHA512 c66293171485aec50f27b0ad5a81b360e23a8f5cf4570068e781f20fc4c249bec7512e92071468406f1854df167d64a483240511712ada4a7b462ad43ae27bf2 -EBUILD binutils-2.37_p1-r2.ebuild 13192 BLAKE2B 227a88df549b77a09f6992482d4ab263c199b1af99e271ecc36d500b41cf8bb1929c8cdc4baaf543280aca7b9620a8f485845fe5e5855c85ba4b7a57000564db SHA512 2189b456780834973d91a285c724fdb54401af25faa6d187180f1c383669f81d1d67efed6e620d9580a27563c8cb912e02149dcd8132c08247c94fbb42ee54a5 -EBUILD binutils-2.38-r2.ebuild 13570 BLAKE2B 641b3980ec1eec8c13c7dbb2a956cb4ece62ca21c86e8c913863edae59336341ac25f96e2232cf6cd63e4f63b3d2a6dc33022ad03827d50922841ef9efee484b SHA512 580c2021072a2244277c1bb8a794c0d31543a21cb97c92076e9075f2ee1b25c85c720542757eecf46d8789a5904afb30ddddb70cb4813fbbcf6e78d6844b553d -EBUILD binutils-2.39-r5.ebuild 14096 BLAKE2B a8b5ec31a6926968f75f9757a9819d512141b3953ffe672ad653d1788cb0eebbfb2b76408f67acb3ebc5f8dd7c369cf87efcf4b43d0c016148e304feaf818d94 SHA512 383296484b1af1ae62da249484a1314dd78e980460623ae9478bc1387966fcb1e962b996b049d47d23beee9d5e4d700f540eaa7a028b7bf67707205905b6a2d1 -EBUILD binutils-2.40-r9.ebuild 14573 BLAKE2B e1addb7ebfe194b919409d74d2272fc21e8aa7838baa643320a0a49689d397f7b35b86bb4dbefe17a6c322c83af71cd8d7a5ba5a633c1c55c4c2ee7ca958d33d SHA512 be78f963c922062b2927f7fe45eafa3a697cc83162ffa67229384062555c2701744a89bc1196aeafab7b652ba97886e2f90bbe1401ff318608d9cbc58f0e1dbc -EBUILD binutils-2.41-r2.ebuild 14907 BLAKE2B 5ba2dbed0d9731161f1094d27dd5e2f93091758390cd4875d9e74d07daf6ed8f73d66940a0a09944a780e5c209dbd1ed93cf4130608d3854927d48911bf38b1b SHA512 c9aa7b85d6300bc3d1fd2c55abedcb4557595119b4575e00d6c8930ceb1bfe05d81611be23bb1d14ab4100a2e4b40b95ad3103081eecef173567b56a5a826d0e -EBUILD binutils-2.41-r3.ebuild 14907 BLAKE2B 79adbbdbcbc09e230660824b8a856edff4f70662d655bd04f4ebc07895e23dd6e0f01af6582c4206d408903595689fb8bfdfeaabcf4a0a55280499e44aecf929 SHA512 f033b524fca2329f1bbbba45a70def02a40dbfa9ac2657b75a6f1e668867ecf5cf02f5958e5ae0811c26c222614a9dbf34163e7a496b284103672fb13e9a3afe -EBUILD binutils-2.41-r4.ebuild 15103 BLAKE2B 88ec8426b6ccf6c0c84e732a7dd0a5f480e5663334c423b6216cd5239ce8eede5a7161ad7d933674d39ffe385c5ae6cb1c30c6579cf2b5f76cecfabfca9f2b26 SHA512 8e6b5e47388a20709b06ef97d4b7fb4c19405c2d8aba4a97df30a312f617f3af6d42274ad8bc1b32f2903784a2ccb64747b14513d8304810957729da94b396db -EBUILD binutils-2.41-r5.ebuild 15095 BLAKE2B 42661f54de036887565ff3d6aeb00ca902d407fc7ba4a356a069e9c0fd34196b52d46c5bff19d000deab025fd38ebb6a8f49373b254db12a5420e4e9f4058688 SHA512 98fbe626a4533807206206bbe97012bdc8460f45c73b03895df37e649e517352ce87b43019e6926269397b64a24471f13cf98ddd03b3879f3195205ffec52924 -EBUILD binutils-2.42-r1.ebuild 15970 BLAKE2B f9e7055deb14972b3e638a68eb7e210186e593f95b248b7fb84851a933fb858649ac9fe669e33f824a94fec10bf610c4096991edde6731ea692aadd8ba5d664e SHA512 facf21059ee3c9b73551ff6efb52aaca28e13d0e1df5630af379229806fb0b15874851fbfb6721823268d8f6308fc81ccd875a56e88cb12b28bf06638b5b4148 -EBUILD binutils-9999.ebuild 15971 BLAKE2B 55bbf20550b801e5dfe557ea74b575dece0efdb785b864024437f31e76b525a06699c48eb69a54d943243d804bf2440bbcc0713a46cad94d9b5d99ec10bd0f45 SHA512 9077a5d687558243b786dae8033ffb93d9ddf20e1416892f24eef5b30e08bc46de074e9171ef8b0886e49f604808241de5dd5c40740e64c63ab7b7d2198030f1 +EBUILD binutils-2.32-r2.ebuild 11663 BLAKE2B 61a63da4670dc6eda4957984fe3275dbfa4aec9587df4e4153be999b5bd0c54e5cc8baff866ddce84105f7143fc8dfcd2451099b06cb3f613e5a5a984fd4cc22 SHA512 f0777a02d983f34baf88a6e6d5a05367bba1c4cfd04fd7e285e04865e64e21208910ffb9e8723282fe815860a9d9876a409311655b20854edcc0730b69143d14 +EBUILD binutils-2.33.1-r1.ebuild 11399 BLAKE2B d015914b62b98150cb9f33408ffe72588727cbf96a5b0bd791069f806212c180547886a2662b21c264bb5cd681196998839220a8e69d3971a8e1edb9cba1fc2c SHA512 282fc7065c6f3005407afe56fe0a4b77becb53b9a6f31e17bb3022a14da9b697a385bf3ae4f36f66b7c78449649e0df7f81aba64c5a82cd63e6040f7c9d3323d +EBUILD binutils-2.34-r2.ebuild 11495 BLAKE2B b100b88b6d0e07b8a124fc92be7de850415dd6ec45bbe057408882b836ddb833dfa5d44e34a600befdd15cce39de72248405915cf6c4b1dbcc12040afb3f6806 SHA512 639d127fd5b6b34a18e840cf7a126cbc5fa003e55e974f501ada2934358cd0debeec66ada8f81f196be7fa397b018458eee13fd105e84f0ce3f3ff10af1c316d +EBUILD binutils-2.35.2.ebuild 12383 BLAKE2B d57f45463e749c26eea529262c7e83e6b21ddfb9c602cfd82bb99e7663bac02abc56dee6acfb63b8181fe202502de81d34f1c2c724c646fb4de46498b8a409e2 SHA512 241793705c09ffcb8c189dce8d66043f1b191ccdf61405cea231e551cb9be768ed9d8e5d797e6a580fa173767c2d3ac7c1ea50c2f612ec009d098292e67905f0 +EBUILD binutils-2.36.1-r2.ebuild 12285 BLAKE2B 6578a3a90e1020f876bec2f08e5123d3f99fc0bff902305173713ecfd4242317445bada9de4c1d1a1cb7814b4491f08b7e0e232dadbc9c8f820ff61bb97d6190 SHA512 d8701d3eda5e5fe7914b3ec4e50cc69af7abdfef16378663b21d1a18c6408659a416540df819f58e145000d29a9617f93b75b8a679528f2a75f4184c328d7d18 +EBUILD binutils-2.37_p1-r2.ebuild 12756 BLAKE2B 1cda43376fcd6edec742f3285bce2a65de4b5cf5a5d246b3d45ea9434eaf5542fc21852730812aa6de6d70d286cdbfb93abb1a9062d62cccca2ae31cdfbfca4d SHA512 451c081260baa21c0ef300053bf9ffe38734ad5dda1a4e45db7ce2cc95b792c517887e915ca10c1ec93c0de0cc68595ebe347b4332afa99af6219b414e743764 +EBUILD binutils-2.38-r2.ebuild 13134 BLAKE2B e2e1805917cb6a6ee19c30ad3b9bec5daaab48d4a307eadde0521ad971d336070153cea13d8bab62eefa3bbeba131c913306462c3b8dae683f2e1c3942f8e020 SHA512 73a87df4a865c06c3ec7a10297f2877a98c11a338dd5a12fb4f4b69febc45b297624699eff4fcd8ed16e843e0c1d1bf264284324774bdf07d2a0b2ae6d8ecf0a +EBUILD binutils-2.39-r5.ebuild 13655 BLAKE2B 28c078a099015b084637aae637a2c346eab4156f8b94842fff790dbc7004049cbcf7a71ec9ad2b892d4d89d1377a7f3876514e6de167adab9f98639cf17e4763 SHA512 b7f3aa7252f6803afabef0d2434151cc381023ac41ab0a0771dd2480333c4ff5ae59d0211603261ab5c5071f4281fbaa9190a172fcefdf3eb37c70ced3f737f6 +EBUILD binutils-2.40-r9.ebuild 14132 BLAKE2B ea7d8298ab644f3c4d1c2ca620949cef1f2e146243052eaa50545ccf46bd63858265c00169e0440e90cbefb8d4e16cceb64d709074dcdfc1c257a4760baa2196 SHA512 0396cf41ca211169afc106efe15c8a009e354d675c21a42b73aa7c1feab785e9c927c034ef86b92aba57b4a422189838b9c51a3e864be82901eb535da331a7a9 +EBUILD binutils-2.41-r2.ebuild 14466 BLAKE2B 91ad176115297321c4d63d996b13f0ba9c6ad04ea485075649b4eb11567fab8f74e3f33c3d885fd21b745c9b27ff6956bce545b89bcd4e154fea451c7f942f07 SHA512 12f6a46754dcd3d410aa70a38d7a129004212c8d1bafaf554665ea029237c61afb06178f9a579678dc229d16179f91d00d282d78aef9b2361657fb8160e1df93 +EBUILD binutils-2.41-r3.ebuild 14466 BLAKE2B 3b86523435962b942d0bb6ef09c3a9c126bcc37dc989a86e1a2e00f4082693f7f37218f1510540880fd267c1fcb6f12fa713f54eb7c3080e968f663fb6e1f4a4 SHA512 62baa7952882ab5d820e0579312a4badbd9e17c11c488e09baf8b3b3ce55ed73fc4fef491efda3e7568111621d24e1f068ee11549a6feb05db814edb8428c396 +EBUILD binutils-2.41-r4.ebuild 14662 BLAKE2B d37126a9c8a175e92bbc883e7cc04b592fc4da6b3b00960f607bf099722ced71d71e89439407f9eff3f1d5f368920cb4f42ea32071adda0d685b4e3651f4a474 SHA512 10a2a50fa179cb69ce8df0d66ce4e0e3d7f28c0871b6a8d4ea860b142a5f9373bbea30bbcfbd1c8a436375496d95626339bec36dd3cd59846d69e5f804b025f7 +EBUILD binutils-2.41-r5.ebuild 14654 BLAKE2B 2049e8618a6aa4385bf036726a027cc2e58ce1e5e00d35d1d9926846f0209fcfe958d42e7ad4de6ea474bc8dd728c6f8d706121867e2c39e1404621deb15a1af SHA512 feeb65fc8ed360235fddc9d287d4aa28109ea60504283332940133eb40bcc0be5799a400c1da8aa7cf0e4038ebc8619ee225d6baf83ddc9f1d923c2ba2ded675 +EBUILD binutils-2.42-r1.ebuild 15529 BLAKE2B 5b23b9695ec1326dea70629b92fba9dc64dc17d5679550d749d4048f47588ff9390911d4095e3f9cef1814597896f2188208382e9cc6bec2c2b1ab9cfeaa5e8f SHA512 2656e903bfd16a052baa3cd747c5e957e99f6d80da0e620355890ad489e59492225dca7fcf1f36a50317982197646da37b748a38f83f3de2c5f99a10282600b6 +EBUILD binutils-9999.ebuild 15530 BLAKE2B d92bd075285bff3f62e62b606888e418e6dc4e73b17756db590085d98296259287f7e1a8b308b7469a461e6b2fe58afa4cf8b08a9b2eaffb074f7227ff6cb4c2 SHA512 be4fa43d5911e4756a04d0ccf6f9afb66fbb712836856fe2087508f8a8345cd0a351ec3a900d1c138a8779f0c0690c4a473c3d0de3b1811f8fe28491900cd36f MISC metadata.xml 995 BLAKE2B 85ccdd924f8c459a4cd7e608dff59c7281523da0d9457b0094b97e140cd07a300cb38383d9402808859100ca0bf219ce86e367bb5282216121bd81f68d588c17 SHA512 3ee538640e5d8c0efe6b8cf1de299e0d78965dece1ad814384844e8e24db72b11ca30d5fb68dfae2e71046d35aee0e71ee3ecbda3730ca49446dd0b2cd0f817c diff --git a/sys-devel/binutils/binutils-2.32-r2.ebuild b/sys-devel/binutils/binutils-2.32-r2.ebuild index 1603eecf56a5..606d5951eec2 100644 --- a/sys-devel/binutils/binutils-2.32-r2.ebuild +++ b/sys-devel/binutils/binutils-2.32-r2.ebuild @@ -111,17 +111,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils/binutils-2.33.1-r1.ebuild b/sys-devel/binutils/binutils-2.33.1-r1.ebuild index 1407f814db9d..29def533ca06 100644 --- a/sys-devel/binutils/binutils-2.33.1-r1.ebuild +++ b/sys-devel/binutils/binutils-2.33.1-r1.ebuild @@ -104,17 +104,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils/binutils-2.34-r2.ebuild b/sys-devel/binutils/binutils-2.34-r2.ebuild index c4bd1379ccef..009154a560d0 100644 --- a/sys-devel/binutils/binutils-2.34-r2.ebuild +++ b/sys-devel/binutils/binutils-2.34-r2.ebuild @@ -101,17 +101,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils/binutils-2.35.2.ebuild b/sys-devel/binutils/binutils-2.35.2.ebuild index 9e076a637ae7..2e7d17a37bea 100644 --- a/sys-devel/binutils/binutils-2.35.2.ebuild +++ b/sys-devel/binutils/binutils-2.35.2.ebuild @@ -118,17 +118,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils/binutils-2.36.1-r2.ebuild b/sys-devel/binutils/binutils-2.36.1-r2.ebuild index 84cfcde9b0e4..243182b97a8a 100644 --- a/sys-devel/binutils/binutils-2.36.1-r2.ebuild +++ b/sys-devel/binutils/binutils-2.36.1-r2.ebuild @@ -113,17 +113,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild index 766e5f40ec38..c7faa17c7bed 100644 --- a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild +++ b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild @@ -119,17 +119,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils/binutils-2.38-r2.ebuild b/sys-devel/binutils/binutils-2.38-r2.ebuild index 18e577f9b7d8..c384b5f5ae0b 100644 --- a/sys-devel/binutils/binutils-2.38-r2.ebuild +++ b/sys-devel/binutils/binutils-2.38-r2.ebuild @@ -119,17 +119,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\:get_line:g' libiberty/testsuite/test-demangle.c diff --git a/sys-devel/binutils/binutils-2.39-r5.ebuild b/sys-devel/binutils/binutils-2.39-r5.ebuild index 859d8ca96be5..efeadfc827de 100644 --- a/sys-devel/binutils/binutils-2.39-r5.ebuild +++ b/sys-devel/binutils/binutils-2.39-r5.ebuild @@ -120,17 +120,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/binutils-2.40-r9.ebuild b/sys-devel/binutils/binutils-2.40-r9.ebuild index c3903df24f64..a8b13b594c74 100644 --- a/sys-devel/binutils/binutils-2.40-r9.ebuild +++ b/sys-devel/binutils/binutils-2.40-r9.ebuild @@ -130,17 +130,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/binutils-2.41-r2.ebuild b/sys-devel/binutils/binutils-2.41-r2.ebuild index 151aae2e4c90..c787465a3200 100644 --- a/sys-devel/binutils/binutils-2.41-r2.ebuild +++ b/sys-devel/binutils/binutils-2.41-r2.ebuild @@ -130,17 +130,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/binutils-2.41-r3.ebuild b/sys-devel/binutils/binutils-2.41-r3.ebuild index 49a29308d08d..a0cc21bab946 100644 --- a/sys-devel/binutils/binutils-2.41-r3.ebuild +++ b/sys-devel/binutils/binutils-2.41-r3.ebuild @@ -130,17 +130,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/binutils-2.41-r4.ebuild b/sys-devel/binutils/binutils-2.41-r4.ebuild index 20b6637387ed..9cac9d6928b7 100644 --- a/sys-devel/binutils/binutils-2.41-r4.ebuild +++ b/sys-devel/binutils/binutils-2.41-r4.ebuild @@ -131,17 +131,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/binutils-2.41-r5.ebuild b/sys-devel/binutils/binutils-2.41-r5.ebuild index 8158e4ac7539..219a22bdca12 100644 --- a/sys-devel/binutils/binutils-2.41-r5.ebuild +++ b/sys-devel/binutils/binutils-2.41-r5.ebuild @@ -131,17 +131,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/binutils-2.42-r1.ebuild b/sys-devel/binutils/binutils-2.42-r1.ebuild index a7bca7df85af..cf195f441b89 100644 --- a/sys-devel/binutils/binutils-2.42-r1.ebuild +++ b/sys-devel/binutils/binutils-2.42-r1.ebuild @@ -131,17 +131,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index 9b30843ce94f..8576f0e43ff0 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -131,17 +131,6 @@ src_prepare() { -e 's:@bfdincludedir@:@includedir@:g' \ {bfd,opcodes}/Makefile.in || die - # Fix locale issues if possible, bug #122216 - if [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] ; then - einfo "Fixing misc issues in configure files" - for f in $(find "${S}" -name configure -exec grep -l 'autoconf version 2.13' {} +) ; do - ebegin " Updating ${f/${S}\/}" - patch "${f}" "${FILESDIR}"/binutils-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - fi - # Apply things from PATCHES and user dirs default diff --git a/sys-devel/binutils/files/binutils-configure-LANG.patch b/sys-devel/binutils/files/binutils-configure-LANG.patch deleted file mode 100644 index 5521d196cf4a..000000000000 --- a/sys-devel/binutils/files/binutils-configure-LANG.patch +++ /dev/null @@ -1,65 +0,0 @@ -The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in -option parsing, it may break. - -http://bugs.gentoo.org/103483 -http://bugs.gentoo.org/122216 - ---- configure -+++ configure -@@ -54,6 +54,19 @@ - infodir='${prefix}/info' - mandir='${prefix}/man' - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ unset $as_var -+ fi -+done -+ - # Initialize some other variables. - subdirs= - MFLAGS= MAKEFLAGS= -@@ -452,16 +463,6 @@ - esac - done - --# NLS nuisances. --# Only set these to C if already set. These must not be set unconditionally --# because not all systems understand e.g. LANG=C (notably SCO). --# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! --# Non-C LC_CTYPE values break the ctype check. --if test "${LANG+set}" = set; then LANG=C; export LANG; fi --if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi --if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi --if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -- - # confdefs.h avoids OS command line length limits that DEFS can exceed. - rm -rf conftest* confdefs.h - # AIX cpp loses on an empty file, so make sure it contains at least a newline. -@@ -1850,6 +1850,19 @@ - # Compiler output produced by configure, useful for debugging - # configure, is in ./config.log if it exists. - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then -+ eval \$as_var=C; export \$as_var -+ else -+ unset \$as_var -+ fi -+done -+ - ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" - for ac_option - do diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest index df2ad863abd8..07f28b2c51f6 100644 --- a/sys-devel/clang-common/Manifest +++ b/sys-devel/clang-common/Manifest @@ -7,10 +7,14 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2 SHA512 a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390 SHA512 1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 BLAKE2B 855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82 SHA512 ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490 +DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 BLAKE2B abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0 SHA512 513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f EBUILD clang-common-15.0.7-r7.ebuild 5462 BLAKE2B 098697c65115e672a1e878167997d820c93cad6a71c5a1dc17c731a031d37f20e50ef41e2f1d3238bc91065ba23bab5db4ab48e8274be9db3cb086ec6cdf7868 SHA512 7500bf0c4fde82b90aac68d09b95a49c241fae8b0d2340f7780e9baed1c85d855e45c4296a7daaa0b831a07f442e0be4faf6510a335fa5c979b3061e28fdb99d EBUILD clang-common-16.0.6-r2.ebuild 5694 BLAKE2B 18498071d0ca64d58e19ba1e11a42aa7bdf630f66b30aa80e4b72a9aa69f45723baea1da53462cb351075481ad1500544fbb3243ffd8aec16c04c526e2844723 SHA512 70736fa50d37a505b41b385ed0ecd5bca571e1a04d9bc66dfb010e5e1ab61aadaf26bdec17bb46d7a7850dcb90cbabdb173887c0f93fe94c78a460784bc04ab8 -EBUILD clang-common-17.0.6-r1.ebuild 8633 BLAKE2B 5ae3311d770544ce3796b89caca2924d119bdae2287f8cd52386ae5df4d4b8aac919f71d613cc2d2b471e38caab9e9098565c566ec43870b7ef108599d972500 SHA512 36366fe6f08a78d10d08c2270c2a6b87669a8f1a383e3a1e5533b7ffb88aac5d2544aac2e95bb21d26cd2421d95ee3ad9b48cd194b8bfd6a3eff26b39438f310 +EBUILD clang-common-17.0.6-r1.ebuild 8629 BLAKE2B 37c71ff17e805407826bd6ac8e040820c041b37754b9bc55ee67b9ff75bbc993cb4903f9d4018bfda5e37e7dd6d42ac2ea6e16c17a6f369d2fa3862da9607a79 SHA512 d6c8e2731cf29263cd1f17fd90257e9cd9bff372afa1e35f652197c3691ce879794b840a930c02b1ff394dac39d016f6362a86d4938740a65ef084d2ee4b5147 +EBUILD clang-common-17.0.6-r2.ebuild 8773 BLAKE2B 9dea244cea6a5ea2d15849e1f6b743a7582cd0a7ee96dfbbd914099b6090592e9766613177797b0a469427d2bdbd47d94af45b3d073602cc573ef3830b705020 SHA512 73221f17fae62df6b5f2264c9a12abf8b5cad4ffa19b42ca85a50f44201c186e66e55343ffd7c372257ba5b4971af31dbf312a0123d9658f10eaa04d68bf5af2 +EBUILD clang-common-18.1.2-r1.ebuild 8890 BLAKE2B 12e5d615ed30b0f69f8b65fb4eeeabb3db5498de6f9c88d738abbb6079fe5a3762a7aa88f1651646c194ae960e28738760d72b186cef2b6888a7d0bf39cbe937 SHA512 5837c3c0180bc695641fdadf96430485a19a305af5b56fbf5f833681dabe6960852f670678e3c7b6689100fb0022da814d8a95ce39347c6f91b2b25e7a4767ff EBUILD clang-common-18.1.2.ebuild 8753 BLAKE2B 562cd03f515472d69eb0be89030066863ec8de6525420eeffab8388241f1d2a4896ec62df754dad5edf7d79061878019d6425cf6c433a27a8b2d69ef0db8f72b SHA512 1ad9a3c60a9d63aa0051e9bfba12c7d5596f443924c1afc122f8c47701f6bcd7109d663596faf284924fd117f80a97ec592ab8465beda03bd9c20a963376946a -EBUILD clang-common-19.0.0.9999.ebuild 8637 BLAKE2B de63b6709030ab33f7238f2f17fec431b801a5e7f72ae964c6b4f21617078db772a640ee0b15f700ab17e24b1403b2aa113c63c0532336a111ac7e76ed74c19c SHA512 8ec3ab542f3e78d1aaddbb9b2304b7be267dd0620d574a0c14aa07a11a5a6f739c743ffe62dc3d7ac5e11c16f3a3b4167c990d9c0b3217ad5d8ba0b37f4c9fd6 -EBUILD clang-common-19.0.0_pre20240316.ebuild 8637 BLAKE2B de63b6709030ab33f7238f2f17fec431b801a5e7f72ae964c6b4f21617078db772a640ee0b15f700ab17e24b1403b2aa113c63c0532336a111ac7e76ed74c19c SHA512 8ec3ab542f3e78d1aaddbb9b2304b7be267dd0620d574a0c14aa07a11a5a6f739c743ffe62dc3d7ac5e11c16f3a3b4167c990d9c0b3217ad5d8ba0b37f4c9fd6 -MISC metadata.xml 865 BLAKE2B decae84b1cb0faa0683824073ff458dc8ca638ae02593bb0ac5850f893eabebb989d68b5d5eca2a2d2a89659f9c3c645face5dd5e34255b01dd43eaa6c5675cb SHA512 aa2caddce30ede46b2e78ada1645de0a8dd67d15c5e466d51fe9b8c1197a03c42da78f3d1f69ec22f1e656ac094ba02b351acfe20533088253245d95c796e646 +EBUILD clang-common-19.0.0.9999.ebuild 8774 BLAKE2B 441c37d7db6d4964fe8427af6631f4cdac92df372e66a4b43ea3558c153965152b060f1acef91f230f5a6e23fac08116bb09129cd1ee23ec0ecc636e332ef8d1 SHA512 29944fc4c718ddf998474b62f9022ac1505b9b4c011a0e957a2de6c801ccbf4b77d7c39a005cb8f310c51afb6b2f3fa7c99e9b408549f00146bced5883a2a1dd +EBUILD clang-common-19.0.0_pre20240316.ebuild 8774 BLAKE2B 441c37d7db6d4964fe8427af6631f4cdac92df372e66a4b43ea3558c153965152b060f1acef91f230f5a6e23fac08116bb09129cd1ee23ec0ecc636e332ef8d1 SHA512 29944fc4c718ddf998474b62f9022ac1505b9b4c011a0e957a2de6c801ccbf4b77d7c39a005cb8f310c51afb6b2f3fa7c99e9b408549f00146bced5883a2a1dd +EBUILD clang-common-19.0.0_pre20240322.ebuild 8774 BLAKE2B 441c37d7db6d4964fe8427af6631f4cdac92df372e66a4b43ea3558c153965152b060f1acef91f230f5a6e23fac08116bb09129cd1ee23ec0ecc636e332ef8d1 SHA512 29944fc4c718ddf998474b62f9022ac1505b9b4c011a0e957a2de6c801ccbf4b77d7c39a005cb8f310c51afb6b2f3fa7c99e9b408549f00146bced5883a2a1dd +MISC metadata.xml 1248 BLAKE2B d9c542ec74a08857a87a42927feef909c343b5b672145e471ebc69753a3f93432d2ae93ed2659a67d504e2c5ff4212640e4208b173d96e5a173a1043766b66f8 SHA512 eb6d4be1dfbdf6b70b774d42493f6b3015472d5e4bba9386254f6e4ae92307169fe1ac6f0f613d452a9c21c6d61ed57ab50efb54813146983f4d6809b32ddacb diff --git a/sys-devel/clang-common/clang-common-17.0.6-r1.ebuild b/sys-devel/clang-common/clang-common-17.0.6-r1.ebuild index d680a956dfe1..233d275883b1 100644 --- a/sys-devel/clang-common/clang-common-17.0.6-r1.ebuild +++ b/sys-devel/clang-common/clang-common-17.0.6-r1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld bootstrap-prefix hardened llvm-libunwind diff --git a/sys-devel/clang-common/clang-common-17.0.6-r2.ebuild b/sys-devel/clang-common/clang-common-17.0.6-r2.ebuild new file mode 100644 index 000000000000..987b7b40aa50 --- /dev/null +++ b/sys-devel/clang-common/clang-common-17.0.6-r2.ebuild @@ -0,0 +1,295 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + sys-devel/clang:* + default-compiler-rt? ( + sys-devel/clang-runtime[compiler-rt] + llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] ) + !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) + ) + !default-compiler-rt? ( sys-devel/gcc ) + default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] ) + !default-libcxx? ( sys-devel/gcc ) + default-lld? ( sys-devel/lld ) + !default-lld? ( sys-devel/binutils ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "sys-devel/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on sys-devel/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on sys-devel/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " sys-devel/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between sys-devel/clang and sys-devel/clang-common" + fi +} + +_doclang_cfg() { + local triple="${1}" + + local tool + for tool in ${triple}-clang{,++}; do + newins - "${tool}.cfg" <<-EOF + # This configuration file is used by ${tool} driver. + @gentoo-common.cfg + @gentoo-common-ld.cfg + EOF + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/${triple}-clang++.cfg" <<-EOF || die + -lc++abi + EOF + fi + + newins - "${triple}-clang-cpp.cfg" <<-EOF + # This configuration file is used by the ${triple}-clang-cpp driver. + @gentoo-common.cfg + EOF + + # Install symlinks for triples with other vendor strings since some + # programs insist on mangling the triple. + local vendor + for vendor in gentoo pc unknown; do + local vendor_triple="${triple%%-*}-${vendor}-${triple#*-*-}" + for tool in clang{,++,-cpp}; do + if [[ ! -f "${ED}/etc/clang/${vendor_triple}-${tool}.cfg" ]]; then + dosym "${triple}-${tool}.cfg" "/etc/clang/${vendor_triple}-${tool}.cfg" + fi + done + done +} + +doclang_cfg() { + local triple="${1}" + + _doclang_cfg ${triple} + + # LLVM may have different arch names in some cases. For example in x86 + # profiles the triple uses i686, but llvm will prefer i386 if invoked + # with "clang" on x86 or "clang -m32" on x86_64. The gentoo triple will + # be used if invoked through ${CHOST}-clang{,++,-cpp} though. + # + # To make sure the correct triples are installed, + # see Triple::getArchTypeName() in llvm/lib/TargetParser/Triple.cpp + # and compare with CHOST values in profiles. + + local abi=${triple%%-*} + case ${abi} in + armv4l|armv4t|armv5tel|armv6j|armv7a) + _doclang_cfg ${triple/${abi}/arm} + ;; + i686) + _doclang_cfg ${triple/${abi}/i386} + ;; + sparc) + _doclang_cfg ${triple/${abi}/sparcel} + ;; + sparc64) + _doclang_cfg ${triple/${abi}/sparcv9} + ;; + esac +} + +src_install() { + newbashcomp bash-autocomplete.sh clang + + insinto /etc/clang + newins - gentoo-runtimes.cfg <<-EOF + # This file is initially generated by sys-devel/clang-runtime. + # It is used to control the default runtimes using by clang. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex default-compiler-rt libunwind libgcc) + --stdlib=$(usex default-libcxx libc++ libstdc++) + -fuse-ld=$(usex default-lld lld bfd) + EOF + + newins - gentoo-gcc-install.cfg <<-EOF + # This file is maintained by gcc-config. + # It is used to specify the selected GCC installation. + EOF + + newins - gentoo-common.cfg <<-EOF + # This file contains flags common to clang, clang++ and clang-cpp. + @gentoo-runtimes.cfg + @gentoo-gcc-install.cfg + @gentoo-hardened.cfg + # bug #870001 + -include "${EPREFIX}/usr/include/gentoo/maybe-stddefs.h" + EOF + + # clang-cpp does not like link args being passed to it when directly + # invoked, so use a separate configuration file. + newins - gentoo-common-ld.cfg <<-EOF + # This file contains flags common to clang and clang++ + @gentoo-hardened-ld.cfg + EOF + + # Baseline hardening (bug #851111) + newins - gentoo-hardened.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -fstack-clash-protection + -fstack-protector-strong + -fPIE + -include "${EPREFIX}/usr/include/gentoo/fortify.h" + EOF + + if use amd64; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + -fcf-protection=$(usex cet full none) + EOF + fi + + if use kernel_Darwin; then + newins - gentoo-hardened-ld.cfg <<-EOF + # There was -Wl,-z,relro here, but it's not supported on Mac + # TODO: investigate whether -bind_at_load or -read_only_stubs will do the job + EOF + else + newins - gentoo-hardened-ld.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -Wl,-z,relro + -Wl,-z,now + EOF + fi + + dodir /usr/include/gentoo + + cat >> "${ED}/usr/include/gentoo/maybe-stddefs.h" <<-EOF || die + /* __has_include is an extension, but it's fine, because this is only + for Clang anyway. */ + #if defined __has_include && __has_include () && !defined(__GLIBC__) + # include + #endif + EOF + + local fortify_level=$(usex hardened 3 2) + # We have to do this because glibc's headers warn if F_S is set + # without optimization and that would at the very least be very noisy + # during builds and at worst trigger many -Werror builds. + cat >> "${ED}/usr/include/gentoo/fortify.h" <<- EOF || die + #ifdef __clang__ + # pragma clang system_header + #endif + #ifndef _FORTIFY_SOURCE + # if defined(__has_feature) + # define __GENTOO_HAS_FEATURE(x) __has_feature(x) + # else + # define __GENTOO_HAS_FEATURE(x) 0 + # endif + # + # if defined(__STDC_HOSTED__) && __STDC_HOSTED__ == 1 + # define __GENTOO_NOT_FREESTANDING 1 + # else + # define __GENTOO_NOT_FREESTANDING 0 + # endif + # + # if defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 && __GENTOO_NOT_FREESTANDING > 0 + # if !defined(__SANITIZE_ADDRESS__) && !__GENTOO_HAS_FEATURE(address_sanitizer) && !__GENTOO_HAS_FEATURE(memory_sanitizer) + # define _FORTIFY_SOURCE ${fortify_level} + # endif + # endif + # undef __GENTOO_HAS_FEATURE + # undef __GENTOO_NOT_FREESTANDING + #endif + EOF + + if use hardened ; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + -D_GLIBCXX_ASSERTIONS + + # Analogue to GLIBCXX_ASSERTIONS + # https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode + # https://libcxx.llvm.org/Hardening.html#using-hardened-mode + -D_LIBCPP_ENABLE_ASSERTIONS=1 + EOF + + cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + EOF + fi + + # We only install config files for supported ABIs because unprefixed tools + # might be used for crosscompilation where e.g. PIE may not be supported. + # See bug #912237 and bug #901247. Just ${CHOST} won't do due to bug #912685. + local abi + for abi in $(get_all_abis); do + local abi_chost=$(get_abi_CHOST "${abi}") + doclang_cfg "${abi_chost}" + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + # Gentoo Prefix on Darwin + -Wl,-search_paths_first + -Wl,-rpath,${EPREFIX}/usr/lib + -L ${EPREFIX}/usr/lib + -isystem ${EPREFIX}/usr/include + -isysroot ${EPREFIX}/MacOSX.sdk + EOF + if use bootstrap-prefix ; then + # bootstrap-prefix is only set during stage2 of bootstrapping + # Prefix, where EPREFIX is set to EPREFIX/tmp. + # Here we need to point it at the future lib dir of the stage3's + # EPREFIX. + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + -Wl,-rpath,${EPREFIX}/../usr/lib + EOF + fi + fi +} + +pkg_preinst() { + if has_version -b sys-devel/gcc-config && has_version sys-devel/gcc + then + local gcc_path=$(gcc-config --get-lib-path 2>/dev/null) + if [[ -n ${gcc_path} ]]; then + cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF + --gcc-install-dir="${gcc_path%%:*}" + EOF + fi + fi +} diff --git a/sys-devel/clang-common/clang-common-18.1.2-r1.ebuild b/sys-devel/clang-common/clang-common-18.1.2-r1.ebuild new file mode 100644 index 000000000000..085bc3ca2202 --- /dev/null +++ b/sys-devel/clang-common/clang-common-18.1.2-r1.ebuild @@ -0,0 +1,297 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + sys-devel/clang:* + default-compiler-rt? ( + sys-devel/clang-runtime[compiler-rt] + llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] ) + !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) + ) + !default-compiler-rt? ( sys-devel/gcc ) + default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] ) + !default-libcxx? ( sys-devel/gcc ) + default-lld? ( sys-devel/lld ) + !default-lld? ( sys-devel/binutils ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "sys-devel/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on sys-devel/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on sys-devel/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " sys-devel/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between sys-devel/clang and sys-devel/clang-common" + fi +} + +_doclang_cfg() { + local triple="${1}" + + local tool + for tool in ${triple}-clang{,++}; do + newins - "${tool}.cfg" <<-EOF + # This configuration file is used by ${tool} driver. + @gentoo-common.cfg + @gentoo-common-ld.cfg + EOF + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/${triple}-clang++.cfg" <<-EOF || die + -lc++abi + EOF + fi + + newins - "${triple}-clang-cpp.cfg" <<-EOF + # This configuration file is used by the ${triple}-clang-cpp driver. + @gentoo-common.cfg + EOF + + # Install symlinks for triples with other vendor strings since some + # programs insist on mangling the triple. + local vendor + for vendor in gentoo pc unknown; do + local vendor_triple="${triple%%-*}-${vendor}-${triple#*-*-}" + for tool in clang{,++,-cpp}; do + if [[ ! -f "${ED}/etc/clang/${vendor_triple}-${tool}.cfg" ]]; then + dosym "${triple}-${tool}.cfg" "/etc/clang/${vendor_triple}-${tool}.cfg" + fi + done + done +} + +doclang_cfg() { + local triple="${1}" + + _doclang_cfg ${triple} + + # LLVM may have different arch names in some cases. For example in x86 + # profiles the triple uses i686, but llvm will prefer i386 if invoked + # with "clang" on x86 or "clang -m32" on x86_64. The gentoo triple will + # be used if invoked through ${CHOST}-clang{,++,-cpp} though. + # + # To make sure the correct triples are installed, + # see Triple::getArchTypeName() in llvm/lib/TargetParser/Triple.cpp + # and compare with CHOST values in profiles. + + local abi=${triple%%-*} + case ${abi} in + armv4l|armv4t|armv5tel|armv6j|armv7a) + _doclang_cfg ${triple/${abi}/arm} + ;; + i686) + _doclang_cfg ${triple/${abi}/i386} + ;; + sparc) + _doclang_cfg ${triple/${abi}/sparcel} + ;; + sparc64) + _doclang_cfg ${triple/${abi}/sparcv9} + ;; + esac +} + +src_install() { + newbashcomp bash-autocomplete.sh clang + + insinto /etc/clang + newins - gentoo-runtimes.cfg <<-EOF + # This file is initially generated by sys-devel/clang-runtime. + # It is used to control the default runtimes using by clang. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex default-compiler-rt libunwind libgcc) + --stdlib=$(usex default-libcxx libc++ libstdc++) + -fuse-ld=$(usex default-lld lld bfd) + EOF + + newins - gentoo-gcc-install.cfg <<-EOF + # This file is maintained by gcc-config. + # It is used to specify the selected GCC installation. + EOF + + newins - gentoo-common.cfg <<-EOF + # This file contains flags common to clang, clang++ and clang-cpp. + @gentoo-runtimes.cfg + @gentoo-gcc-install.cfg + @gentoo-hardened.cfg + # bug #870001 + -include "${EPREFIX}/usr/include/gentoo/maybe-stddefs.h" + EOF + + # clang-cpp does not like link args being passed to it when directly + # invoked, so use a separate configuration file. + newins - gentoo-common-ld.cfg <<-EOF + # This file contains flags common to clang and clang++ + @gentoo-hardened-ld.cfg + EOF + + # Baseline hardening (bug #851111) + newins - gentoo-hardened.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -fstack-clash-protection + -fstack-protector-strong + -fPIE + -include "${EPREFIX}/usr/include/gentoo/fortify.h" + EOF + + if use amd64; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + -fcf-protection=$(usex cet full none) + EOF + fi + + if use kernel_Darwin; then + newins - gentoo-hardened-ld.cfg <<-EOF + # There was -Wl,-z,relro here, but it's not supported on Mac + # TODO: investigate whether -bind_at_load or -read_only_stubs will do the job + EOF + else + newins - gentoo-hardened-ld.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -Wl,-z,relro + -Wl,-z,now + EOF + fi + + dodir /usr/include/gentoo + + cat >> "${ED}/usr/include/gentoo/maybe-stddefs.h" <<-EOF || die + /* __has_include is an extension, but it's fine, because this is only + for Clang anyway. */ + #if defined __has_include && __has_include () && !defined(__GLIBC__) + # include + #endif + EOF + + local fortify_level=$(usex hardened 3 2) + # We have to do this because glibc's headers warn if F_S is set + # without optimization and that would at the very least be very noisy + # during builds and at worst trigger many -Werror builds. + cat >> "${ED}/usr/include/gentoo/fortify.h" <<- EOF || die + #ifdef __clang__ + # pragma clang system_header + #endif + #ifndef _FORTIFY_SOURCE + # if defined(__has_feature) + # define __GENTOO_HAS_FEATURE(x) __has_feature(x) + # else + # define __GENTOO_HAS_FEATURE(x) 0 + # endif + # + # if defined(__STDC_HOSTED__) && __STDC_HOSTED__ == 1 + # define __GENTOO_NOT_FREESTANDING 1 + # else + # define __GENTOO_NOT_FREESTANDING 0 + # endif + # + # if defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 && __GENTOO_NOT_FREESTANDING > 0 + # if !defined(__SANITIZE_ADDRESS__) && !__GENTOO_HAS_FEATURE(address_sanitizer) && !__GENTOO_HAS_FEATURE(memory_sanitizer) + # define _FORTIFY_SOURCE ${fortify_level} + # endif + # endif + # undef __GENTOO_HAS_FEATURE + # undef __GENTOO_NOT_FREESTANDING + #endif + EOF + + # TODO: Maybe -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST for + # non-hardened? + if use hardened ; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + -D_GLIBCXX_ASSERTIONS + + # Analogue to GLIBCXX_ASSERTIONS + # https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode + # https://libcxx.llvm.org/Hardening.html#using-hardened-mode + -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE + EOF + + cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + EOF + fi + + # We only install config files for supported ABIs because unprefixed tools + # might be used for crosscompilation where e.g. PIE may not be supported. + # See bug #912237 and bug #901247. Just ${CHOST} won't do due to bug #912685. + local abi + for abi in $(get_all_abis); do + local abi_chost=$(get_abi_CHOST "${abi}") + doclang_cfg "${abi_chost}" + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + # Gentoo Prefix on Darwin + -Wl,-search_paths_first + -Wl,-rpath,${EPREFIX}/usr/lib + -L ${EPREFIX}/usr/lib + -isystem ${EPREFIX}/usr/include + -isysroot ${EPREFIX}/MacOSX.sdk + EOF + if use bootstrap-prefix ; then + # bootstrap-prefix is only set during stage2 of bootstrapping + # Prefix, where EPREFIX is set to EPREFIX/tmp. + # Here we need to point it at the future lib dir of the stage3's + # EPREFIX. + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + -Wl,-rpath,${EPREFIX}/../usr/lib + EOF + fi + fi +} + +pkg_preinst() { + if has_version -b sys-devel/gcc-config && has_version sys-devel/gcc + then + local gcc_path=$(gcc-config --get-lib-path 2>/dev/null) + if [[ -n ${gcc_path} ]]; then + cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF + --gcc-install-dir="${gcc_path%%:*}" + EOF + fi + fi +} diff --git a/sys-devel/clang-common/clang-common-19.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-19.0.0.9999.ebuild index 80d989986d28..290d4ee063fe 100644 --- a/sys-devel/clang-common/clang-common-19.0.0.9999.ebuild +++ b/sys-devel/clang-common/clang-common-19.0.0.9999.ebuild @@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" IUSE=" default-compiler-rt default-libcxx default-lld - bootstrap-prefix hardened llvm-libunwind + bootstrap-prefix cet hardened llvm-libunwind " PDEPEND=" @@ -174,6 +174,12 @@ src_install() { -include "${EPREFIX}/usr/include/gentoo/fortify.h" EOF + if use amd64; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + -fcf-protection=$(usex cet full none) + EOF + fi + if use kernel_Darwin; then newins - gentoo-hardened-ld.cfg <<-EOF # There was -Wl,-z,relro here, but it's not supported on Mac @@ -184,6 +190,7 @@ src_install() { # Some of these options are added unconditionally, regardless of # USE=hardened, for parity with sys-devel/gcc. -Wl,-z,relro + -Wl,-z,now EOF fi @@ -243,7 +250,6 @@ src_install() { cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die # Options below are conditional on USE=hardened. - -Wl,-z,now EOF fi diff --git a/sys-devel/clang-common/clang-common-19.0.0_pre20240316.ebuild b/sys-devel/clang-common/clang-common-19.0.0_pre20240316.ebuild index 80d989986d28..290d4ee063fe 100644 --- a/sys-devel/clang-common/clang-common-19.0.0_pre20240316.ebuild +++ b/sys-devel/clang-common/clang-common-19.0.0_pre20240316.ebuild @@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" IUSE=" default-compiler-rt default-libcxx default-lld - bootstrap-prefix hardened llvm-libunwind + bootstrap-prefix cet hardened llvm-libunwind " PDEPEND=" @@ -174,6 +174,12 @@ src_install() { -include "${EPREFIX}/usr/include/gentoo/fortify.h" EOF + if use amd64; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + -fcf-protection=$(usex cet full none) + EOF + fi + if use kernel_Darwin; then newins - gentoo-hardened-ld.cfg <<-EOF # There was -Wl,-z,relro here, but it's not supported on Mac @@ -184,6 +190,7 @@ src_install() { # Some of these options are added unconditionally, regardless of # USE=hardened, for parity with sys-devel/gcc. -Wl,-z,relro + -Wl,-z,now EOF fi @@ -243,7 +250,6 @@ src_install() { cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die # Options below are conditional on USE=hardened. - -Wl,-z,now EOF fi diff --git a/sys-devel/clang-common/clang-common-19.0.0_pre20240322.ebuild b/sys-devel/clang-common/clang-common-19.0.0_pre20240322.ebuild new file mode 100644 index 000000000000..290d4ee063fe --- /dev/null +++ b/sys-devel/clang-common/clang-common-19.0.0_pre20240322.ebuild @@ -0,0 +1,296 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + sys-devel/clang:* + default-compiler-rt? ( + sys-devel/clang-runtime[compiler-rt] + llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] ) + !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) + ) + !default-compiler-rt? ( sys-devel/gcc ) + default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] ) + !default-libcxx? ( sys-devel/gcc ) + default-lld? ( sys-devel/lld ) + !default-lld? ( sys-devel/binutils ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "sys-devel/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on sys-devel/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on sys-devel/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " sys-devel/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between sys-devel/clang and sys-devel/clang-common" + fi +} + +_doclang_cfg() { + local triple="${1}" + + local tool + for tool in ${triple}-clang{,++}; do + newins - "${tool}.cfg" <<-EOF + # This configuration file is used by ${tool} driver. + @gentoo-common.cfg + @gentoo-common-ld.cfg + EOF + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/${triple}-clang++.cfg" <<-EOF || die + -lc++abi + EOF + fi + + newins - "${triple}-clang-cpp.cfg" <<-EOF + # This configuration file is used by the ${triple}-clang-cpp driver. + @gentoo-common.cfg + EOF + + # Install symlinks for triples with other vendor strings since some + # programs insist on mangling the triple. + local vendor + for vendor in gentoo pc unknown; do + local vendor_triple="${triple%%-*}-${vendor}-${triple#*-*-}" + for tool in clang{,++,-cpp}; do + if [[ ! -f "${ED}/etc/clang/${vendor_triple}-${tool}.cfg" ]]; then + dosym "${triple}-${tool}.cfg" "/etc/clang/${vendor_triple}-${tool}.cfg" + fi + done + done +} + +doclang_cfg() { + local triple="${1}" + + _doclang_cfg ${triple} + + # LLVM may have different arch names in some cases. For example in x86 + # profiles the triple uses i686, but llvm will prefer i386 if invoked + # with "clang" on x86 or "clang -m32" on x86_64. The gentoo triple will + # be used if invoked through ${CHOST}-clang{,++,-cpp} though. + # + # To make sure the correct triples are installed, + # see Triple::getArchTypeName() in llvm/lib/TargetParser/Triple.cpp + # and compare with CHOST values in profiles. + + local abi=${triple%%-*} + case ${abi} in + armv4l|armv4t|armv5tel|armv6j|armv7a) + _doclang_cfg ${triple/${abi}/arm} + ;; + i686) + _doclang_cfg ${triple/${abi}/i386} + ;; + sparc) + _doclang_cfg ${triple/${abi}/sparcel} + ;; + sparc64) + _doclang_cfg ${triple/${abi}/sparcv9} + ;; + esac +} + +src_install() { + newbashcomp bash-autocomplete.sh clang + + insinto /etc/clang + newins - gentoo-runtimes.cfg <<-EOF + # This file is initially generated by sys-devel/clang-runtime. + # It is used to control the default runtimes using by clang. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex default-compiler-rt libunwind libgcc) + --stdlib=$(usex default-libcxx libc++ libstdc++) + -fuse-ld=$(usex default-lld lld bfd) + EOF + + newins - gentoo-gcc-install.cfg <<-EOF + # This file is maintained by gcc-config. + # It is used to specify the selected GCC installation. + EOF + + newins - gentoo-common.cfg <<-EOF + # This file contains flags common to clang, clang++ and clang-cpp. + @gentoo-runtimes.cfg + @gentoo-gcc-install.cfg + @gentoo-hardened.cfg + # bug #870001 + -include "${EPREFIX}/usr/include/gentoo/maybe-stddefs.h" + EOF + + # clang-cpp does not like link args being passed to it when directly + # invoked, so use a separate configuration file. + newins - gentoo-common-ld.cfg <<-EOF + # This file contains flags common to clang and clang++ + @gentoo-hardened-ld.cfg + EOF + + # Baseline hardening (bug #851111) + newins - gentoo-hardened.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -fstack-clash-protection + -fstack-protector-strong + -fPIE + -include "${EPREFIX}/usr/include/gentoo/fortify.h" + EOF + + if use amd64; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + -fcf-protection=$(usex cet full none) + EOF + fi + + if use kernel_Darwin; then + newins - gentoo-hardened-ld.cfg <<-EOF + # There was -Wl,-z,relro here, but it's not supported on Mac + # TODO: investigate whether -bind_at_load or -read_only_stubs will do the job + EOF + else + newins - gentoo-hardened-ld.cfg <<-EOF + # Some of these options are added unconditionally, regardless of + # USE=hardened, for parity with sys-devel/gcc. + -Wl,-z,relro + -Wl,-z,now + EOF + fi + + dodir /usr/include/gentoo + + cat >> "${ED}/usr/include/gentoo/maybe-stddefs.h" <<-EOF || die + /* __has_include is an extension, but it's fine, because this is only + for Clang anyway. */ + #if defined __has_include && __has_include () && !defined(__GLIBC__) + # include + #endif + EOF + + local fortify_level=$(usex hardened 3 2) + # We have to do this because glibc's headers warn if F_S is set + # without optimization and that would at the very least be very noisy + # during builds and at worst trigger many -Werror builds. + cat >> "${ED}/usr/include/gentoo/fortify.h" <<- EOF || die + #ifdef __clang__ + # pragma clang system_header + #endif + #ifndef _FORTIFY_SOURCE + # if defined(__has_feature) + # define __GENTOO_HAS_FEATURE(x) __has_feature(x) + # else + # define __GENTOO_HAS_FEATURE(x) 0 + # endif + # + # if defined(__STDC_HOSTED__) && __STDC_HOSTED__ == 1 + # define __GENTOO_NOT_FREESTANDING 1 + # else + # define __GENTOO_NOT_FREESTANDING 0 + # endif + # + # if defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 && __GENTOO_NOT_FREESTANDING > 0 + # if !defined(__SANITIZE_ADDRESS__) && !__GENTOO_HAS_FEATURE(address_sanitizer) && !__GENTOO_HAS_FEATURE(memory_sanitizer) + # define _FORTIFY_SOURCE ${fortify_level} + # endif + # endif + # undef __GENTOO_HAS_FEATURE + # undef __GENTOO_NOT_FREESTANDING + #endif + EOF + + # TODO: Maybe -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST for + # non-hardened? + if use hardened ; then + cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + -D_GLIBCXX_ASSERTIONS + + # Analogue to GLIBCXX_ASSERTIONS + # https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode + # https://libcxx.llvm.org/Hardening.html#using-hardened-mode + -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE + EOF + + cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die + # Options below are conditional on USE=hardened. + EOF + fi + + # We only install config files for supported ABIs because unprefixed tools + # might be used for crosscompilation where e.g. PIE may not be supported. + # See bug #912237 and bug #901247. Just ${CHOST} won't do due to bug #912685. + local abi + for abi in $(get_all_abis); do + local abi_chost=$(get_abi_CHOST "${abi}") + doclang_cfg "${abi_chost}" + done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + # Gentoo Prefix on Darwin + -Wl,-search_paths_first + -Wl,-rpath,${EPREFIX}/usr/lib + -L ${EPREFIX}/usr/lib + -isystem ${EPREFIX}/usr/include + -isysroot ${EPREFIX}/MacOSX.sdk + EOF + if use bootstrap-prefix ; then + # bootstrap-prefix is only set during stage2 of bootstrapping + # Prefix, where EPREFIX is set to EPREFIX/tmp. + # Here we need to point it at the future lib dir of the stage3's + # EPREFIX. + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + -Wl,-rpath,${EPREFIX}/../usr/lib + EOF + fi + fi +} + +pkg_preinst() { + if has_version -b sys-devel/gcc-config && has_version sys-devel/gcc + then + local gcc_path=$(gcc-config --get-lib-path 2>/dev/null) + if [[ -n ${gcc_path} ]]; then + cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF + --gcc-install-dir="${gcc_path%%:*}" + EOF + fi + fi +} diff --git a/sys-devel/clang-common/metadata.xml b/sys-devel/clang-common/metadata.xml index 1b10f34f3338..da45c87b0e27 100644 --- a/sys-devel/clang-common/metadata.xml +++ b/sys-devel/clang-common/metadata.xml @@ -9,6 +9,16 @@ !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for bootstrapping Gentoo Prefix + + Enable support for control flow hijacking protection. + + On amd64, this provides Intel Control Flow Enforcement Technology (CET). + + Only provides benefits on newer CPUs. For Intel, the CPU + must be at least as new as Tiger Lake. For AMD, it must be + at least as new as Zen 3. This is harmless on older CPUs, + but provides no benefit either. + Use compiler-rt + libunwind instead of libgcc as the default rtlib for clang Use libc++ instead of libstdc++ as the default stdlib for clang Use lld as the default linker for clang diff --git a/sys-devel/clang-runtime/Manifest b/sys-devel/clang-runtime/Manifest index a72364cb2ae4..b23a0209e612 100644 --- a/sys-devel/clang-runtime/Manifest +++ b/sys-devel/clang-runtime/Manifest @@ -1,7 +1,8 @@ EBUILD clang-runtime-15.0.7.ebuild 759 BLAKE2B d7b481faffc4da0a6dc1b4e708322cd17cd497dc75363bdb89e7fbb1ecb2aecd9cbf91bdf816505476c7aca2ec7b6fb9ef178705e6b77361d21a7a270404a70a SHA512 8128acfc92b1601e93ffca1fd4233456f8a28fbc4cc65a1782da25df48abd3af82d0128b31f12b966ca02ab1eafcd28016c4443d9c7f1d28bc3f951cfff5e07f EBUILD clang-runtime-16.0.6.ebuild 1448 BLAKE2B be376aab09a0268444784d1a0bcb590222c9c8a118e260b15939e574687334eb476d6f66ab0f1f4fb0841a226c7b7f690666c33bec2d9c14f27a4f30f986b859 SHA512 b0b7a2f5c69890cb2fc0a9c2c8a1910669a4eae16826c0702a2ef508f91b6ec3b5607beab5b24f02951cf9b377f1d09395bd97c27f476137ef6cdf2571330578 -EBUILD clang-runtime-17.0.6.ebuild 1452 BLAKE2B 4a093f4827fa5ebacf44f0bdeb9e2af8a39c491cac3100d96e4d04bf8f82c8247c39369ba85c1d257cbe5c38bb7bd228b986355d4bc446ec8c4c6f19ddac7a18 SHA512 9a3f35cfb6bf234a8e25d9127954fece3e285379469db8bfbbc0c3ca97e952242df930144c528402d48ca64d6b0b5bdadf428d4a41c19b170deb9198bdd3d21b +EBUILD clang-runtime-17.0.6.ebuild 1448 BLAKE2B be376aab09a0268444784d1a0bcb590222c9c8a118e260b15939e574687334eb476d6f66ab0f1f4fb0841a226c7b7f690666c33bec2d9c14f27a4f30f986b859 SHA512 b0b7a2f5c69890cb2fc0a9c2c8a1910669a4eae16826c0702a2ef508f91b6ec3b5607beab5b24f02951cf9b377f1d09395bd97c27f476137ef6cdf2571330578 EBUILD clang-runtime-18.1.2.ebuild 1455 BLAKE2B 09d026673062eaf3251bc0ac3665217f834c0bb8b57945a138839d86bec58ef7c979a627fb2054a5166c35894e4063bd1972402516d7304c6423639f556ff29a SHA512 aefd613ab3ec054a6829b0f3471384726a05ce410a1f98ab53cca1857bbb19f3b76526ed867a93092fe29acf95078823b2ff8e6b9941705c791c9a42b6eff68c EBUILD clang-runtime-19.0.0.9999.ebuild 1339 BLAKE2B 4a5ee8a332faf2da21256df048867b1458a5ccb2d733d00ee3788bfbc28b3daf4ce2ae2455ab03c9ebb192d964feae2cd5806b5fef23eaa9401d57b35386aa57 SHA512 fac3e259b5a7b5e105b3d5fd2f8e9a9b6236642867e4c4a67106ec999dfaf0a30a97a3905685043a0ab9f38b15b7b8a5a814a97921e37029b9d0beac7ba7085a EBUILD clang-runtime-19.0.0_pre20240316.ebuild 1339 BLAKE2B 4a5ee8a332faf2da21256df048867b1458a5ccb2d733d00ee3788bfbc28b3daf4ce2ae2455ab03c9ebb192d964feae2cd5806b5fef23eaa9401d57b35386aa57 SHA512 fac3e259b5a7b5e105b3d5fd2f8e9a9b6236642867e4c4a67106ec999dfaf0a30a97a3905685043a0ab9f38b15b7b8a5a814a97921e37029b9d0beac7ba7085a +EBUILD clang-runtime-19.0.0_pre20240322.ebuild 1339 BLAKE2B 4a5ee8a332faf2da21256df048867b1458a5ccb2d733d00ee3788bfbc28b3daf4ce2ae2455ab03c9ebb192d964feae2cd5806b5fef23eaa9401d57b35386aa57 SHA512 fac3e259b5a7b5e105b3d5fd2f8e9a9b6236642867e4c4a67106ec999dfaf0a30a97a3905685043a0ab9f38b15b7b8a5a814a97921e37029b9d0beac7ba7085a MISC metadata.xml 661 BLAKE2B 24688c511713ea102b83c71d226d519981b3aee0e05ef7a56d6a80be829efd843194e45cb4fd801f0bb976b6f1976386d6a2b05d2bc907fe2aa42b22b85b7d1f SHA512 2b5ab8783c90795f2e7d1673d876048ed9745f4911fb7a860df56deac13a6dfeba4581a84562eae54eff757c45042ca3fab75c7800313ae61df9ce69780a9294 diff --git a/sys-devel/clang-runtime/clang-runtime-17.0.6.ebuild b/sys-devel/clang-runtime/clang-runtime-17.0.6.ebuild index c6a39818cd4e..25889f60d661 100644 --- a/sys-devel/clang-runtime/clang-runtime-17.0.6.ebuild +++ b/sys-devel/clang-runtime/clang-runtime-17.0.6.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/" LICENSE="metapackage" SLOT="${PV%%.*}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="+compiler-rt libcxx openmp +sanitize" REQUIRED_USE="sanitize? ( compiler-rt )" diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240322.ebuild b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240322.ebuild new file mode 100644 index 000000000000..323c0b62c062 --- /dev/null +++ b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240322.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build toolchain-funcs + +DESCRIPTION="Meta-ebuild for clang runtime libraries" +HOMEPAGE="https://clang.llvm.org/" + +LICENSE="metapackage" +SLOT="${PV%%.*}" +IUSE="+compiler-rt libcxx openmp +sanitize" +REQUIRED_USE="sanitize? ( compiler-rt )" + +RDEPEND=" + compiler-rt? ( + ~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] + sanitize? ( + ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] + ) + ) + libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) + openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) +" + +pkg_pretend() { + if tc-is-clang; then + ewarn "You seem to be using clang as a system compiler. As of clang-16," + ewarn "upstream has turned a few warnings that commonly occur during" + ewarn "configure script runs into errors by default. This causes some" + ewarn "configure tests to start failing, sometimes resulting in silent" + ewarn "breakage, missing functionality or runtime misbehavior. It is" + ewarn "not yet clear whether the change will remain or be reverted." + ewarn + ewarn "For more information, please see:" + ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" + fi +} diff --git a/sys-devel/clang-toolchain-symlinks/Manifest b/sys-devel/clang-toolchain-symlinks/Manifest index 0dec1f234187..8dc3e4ab1a1f 100644 --- a/sys-devel/clang-toolchain-symlinks/Manifest +++ b/sys-devel/clang-toolchain-symlinks/Manifest @@ -1,6 +1,6 @@ EBUILD clang-toolchain-symlinks-15-r2.ebuild 1141 BLAKE2B 21117f19b6d2aa9ff91a447578b3efc99eb5d940ef052e7b65bac90233176c5cb6b5696a939d839bb9c077613ff5f2d1ba0a479d56745252485e4fa0a3534528 SHA512 ff598c5572e2d003707e83302dd2b701cc9b7de7b1193d9e4527ea0631c7e19e9cc2aa6403bac32988a1b2421707c4dd0061ff01cc1e6ab125556fcf331e915e EBUILD clang-toolchain-symlinks-16-r2.ebuild 1161 BLAKE2B 04806c6d7a0301e86df75f96ab98d1672824623ed123cdc33be2366ab96334c44610611df3bfcf331b26c07118f91fefcdcf4a36cfd82db19b95ede640bec5ec SHA512 2d6671dfe28d8f9d5d093ee47ce8188cb66ebcd13695d8d84a853d5af39cc80695c818b6378d47e1d7301b01693f6e5af8f1e1813c75649f7272e1f7bc29f965 -EBUILD clang-toolchain-symlinks-17.ebuild 1165 BLAKE2B 4cc92a049eb1ee44e24f363ee4583000a407e991e0e0d8a20785b90804cced75370255bd97e242db63dd2a2deb4519b9ce7574fb46ac224aa469074ee51a3bd1 SHA512 9816255825559f24c970efa993c2fb50e7e0f6689df6f25a03bf7abc314334f94f68716f41aca60060fd90f630a6e2bc5fbdf801aa85c4a0bb80fa2075f4e29b +EBUILD clang-toolchain-symlinks-17.ebuild 1161 BLAKE2B 04806c6d7a0301e86df75f96ab98d1672824623ed123cdc33be2366ab96334c44610611df3bfcf331b26c07118f91fefcdcf4a36cfd82db19b95ede640bec5ec SHA512 2d6671dfe28d8f9d5d093ee47ce8188cb66ebcd13695d8d84a853d5af39cc80695c818b6378d47e1d7301b01693f6e5af8f1e1813c75649f7272e1f7bc29f965 EBUILD clang-toolchain-symlinks-18.ebuild 1168 BLAKE2B a87065cb0511be1c81958c0dc801322ffcae5510f5ebc72bd01e9f07bcc481febfdfe761f44d7d00651c3973124c52577b51c4cf674f8a3bdb0aaacd15da01e8 SHA512 49bbd725c5bd3d1003a34af8627173d00d1f101734c865134f2caee614d4e1d5f3a5909116ebd9ceea1288303e0790bdc020a7cc92f9720fbcd1d5d2f7167141 EBUILD clang-toolchain-symlinks-19.ebuild 1063 BLAKE2B 07ac0ca66a30f4052a0add8ac3ae29705143a8d5ffe7de03b757b867615197f743155a5077abcbb63ad22c730ff0b9044a1db084d858e92ff0ac572f8da32a91 SHA512 67c542c73bb8d70821b2b7ca987071348537fcc1a09dd50c95a565e9461f8da9f29a56b486732d8c73554cf117df42cf78be9801329cd392ffdd8562626c97d3 MISC metadata.xml 904 BLAKE2B d2c8a31355b0f3bea6c5b4c72d198f40bf14b6908f5a3f765b48fffb2ba3e4f09a8bb37c87ea4e7d9b4e1de0a3ad2c80bdca6feb45538c973119f27ba6329ad8 SHA512 846548593c071d6905b56984c6924086d5f03929c813be986c89c57a6924d1976975b29769ee60a2796287753aa3453608794af8d36cf48b76c55920778c27d4 diff --git a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-17.ebuild b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-17.ebuild index 48b2c700fbab..436e2673639f 100644 --- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-17.ebuild +++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-17.ebuild @@ -11,7 +11,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="gcc-symlinks multilib-symlinks +native-symlinks" # Blocker for bug #872416 diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest index dd72ce374bf4..8cfe2e22f3ce 100644 --- a/sys-devel/clang/Manifest +++ b/sys-devel/clang/Manifest @@ -14,10 +14,12 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2 SHA512 a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390 SHA512 1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 BLAKE2B 855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82 SHA512 ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490 +DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 BLAKE2B abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0 SHA512 513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f EBUILD clang-15.0.7-r3.ebuild 12523 BLAKE2B d2f9e112d8c8d782b9d19913332445b234870dbff770bfd520b646347d8d804258e5043a155bb5e15f40ecdb41b2c0d70ee72dbe908b5621c2349d37f181d236 SHA512 c4abe3701012b4f9da97ac182680dbaceed802e95be06ae065debea943fa4635e60f4a0f31b6f23e3f7818f2d30dfb1e2c28f1a85dc0175c158b4e5c68b5a23e EBUILD clang-16.0.6.ebuild 12452 BLAKE2B 446a354b58fc0535b81596a9a3785a4cd5d7b7ad52a461baa3b6b7beacdc12161f62da588cd837b8b9c8f35307b1a2c885b9d01bf8edc4af1b551efaab09ebe8 SHA512 58b5694a7d28a03edd4a71e3a99b0b2678285e616cdaab82bb196f092a8726e9cd3787ab07d724680113b4f6683e89103cab2478e49a85e7b5c75a633fb1ca51 -EBUILD clang-17.0.6.ebuild 12155 BLAKE2B 8d6a519dc8bfa2ddde7b7025928becbc9c275f470ee5d747c2b1b7437b079d88c4437779e1741aaf5105883628cc7022059f153a3bda809d76e4eca0368fe0a5 SHA512 06c1c403d819f10062732bf39cc7165ab250a7f1420f86a068562426e699603cc2cc9354629ff0dc8e7de64e30f8dc933715f837c4946bbd5e2a6246de28e6f4 +EBUILD clang-17.0.6.ebuild 12151 BLAKE2B 665280844db218824bec2add033e13e14b958ac510fb1b0b7193130a55041a5c802c57aa022a35d65a689c611ca9ed119eaf39c47f581d24f38d9c8655c5f062 SHA512 482ae07e36fb3c593d2051b2034f501fc0c94bdcaeb2a6a0701473d00f16f691c8a1584d4b1773dfd236297a12a42cb4f9443eb5c381dcb10d36f749a432ff1d EBUILD clang-18.1.2.ebuild 12225 BLAKE2B d52fd24ce24fb92e1546160ac8aecbb2baef2c0cf40f89ae8acc0d79f381fa657ee11cfd1977d3225b00d0ca865603725f2d598fa513dc3a41baa48061814368 SHA512 9b7ea92fbf5bd44f98bb200069488319038419f468d7b45774840c6fec18de9069d67cedb064f0f395523d369776b723779e7b8e7bf03b2b3a87e606d43bfd9e EBUILD clang-19.0.0.9999.ebuild 12121 BLAKE2B e9e8731b4b44f4d0fa46280abea5d33792816ab54c7f40dbff794e7fcdd1fdc1f37b47fdb79efe16f3ee5c5b86a4a6d62da4765da4283467457bf3329e01cb7b SHA512 95974fe447ad803577d6bcbada6dc33b32b7ae1a6626e754529b334c2565b3d5a26dd51c6391edbc6c7defe4450f103dbdbbdcfd4b241c882d922197ef0895ab EBUILD clang-19.0.0_pre20240316.ebuild 12121 BLAKE2B e9e8731b4b44f4d0fa46280abea5d33792816ab54c7f40dbff794e7fcdd1fdc1f37b47fdb79efe16f3ee5c5b86a4a6d62da4765da4283467457bf3329e01cb7b SHA512 95974fe447ad803577d6bcbada6dc33b32b7ae1a6626e754529b334c2565b3d5a26dd51c6391edbc6c7defe4450f103dbdbbdcfd4b241c882d922197ef0895ab +EBUILD clang-19.0.0_pre20240322.ebuild 12121 BLAKE2B e9e8731b4b44f4d0fa46280abea5d33792816ab54c7f40dbff794e7fcdd1fdc1f37b47fdb79efe16f3ee5c5b86a4a6d62da4765da4283467457bf3329e01cb7b SHA512 95974fe447ad803577d6bcbada6dc33b32b7ae1a6626e754529b334c2565b3d5a26dd51c6391edbc6c7defe4450f103dbdbbdcfd4b241c882d922197ef0895ab MISC metadata.xml 1318 BLAKE2B 704c1a64297b25da1b2e0eec23cbdf4791273da1babf23292160b6163d43438e62fe214df7afa09232893599951918440954c17a9bfa0c6f829a7d706f564192 SHA512 4677ad146739dd41e025a2335eec353a3d35ac8db7482948fee611566d84b41c4e6bdd75bc3d78f8933d4d9818a36bf222e1aa89e52f945501ff918479fea3b6 diff --git a/sys-devel/clang/clang-17.0.6.ebuild b/sys-devel/clang/clang-17.0.6.ebuild index 9010422144fd..71d4d04a4823 100644 --- a/sys-devel/clang/clang-17.0.6.ebuild +++ b/sys-devel/clang/clang-17.0.6.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" diff --git a/sys-devel/clang/clang-19.0.0_pre20240322.ebuild b/sys-devel/clang/clang-19.0.0_pre20240322.ebuild new file mode 100644 index 000000000000..79df96923121 --- /dev/null +++ b/sys-devel/clang/clang-19.0.0_pre20240322.ebuild @@ -0,0 +1,475 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake llvm.org llvm-utils multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/" + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=sys-devel/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~sys-devel/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~sys-devel/clang-runtime-${PV} + sys-devel/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake + llvm/lib/Transforms/Hello +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +# target. However, you will need appropriate crt* files (installed +# e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +# in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use sys-devel/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access + mkdir -p x/y || die + BUILD_DIR=${WORKDIR}/x/y/clang + + llvm.org_src_prepare + + # add Gentoo Portage Prefix for Darwin (see prefix-dirs.patch) + eprefixify \ + lib/Lex/InitHeaderSearch.cpp \ + lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi +} + +check_distribution_components() { + if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then + local all_targets=() my_targets=() l + cd "${BUILD_DIR}" || die + + while read -r l; do + if [[ ${l} == install-*-stripped:* ]]; then + l=${l#install-} + l=${l%%-stripped*} + + case ${l} in + # meta-targets + clang-libraries|distribution) + continue + ;; + # tools + clang|clangd|clang-*) + ;; + # static libraries + clang*|findAllSymbols) + continue + ;; + # conditional to USE=doc + docs-clang-html|docs-clang-tools-html) + use doc || continue + ;; + esac + + all_targets+=( "${l}" ) + fi + done < <(${NINJA} -t targets all) + + while read -r l; do + my_targets+=( "${l}" ) + done < <(get_distribution_components $"\n") + + local add=() remove=() + for l in "${all_targets[@]}"; do + if ! has "${l}" "${my_targets[@]}"; then + add+=( "${l}" ) + fi + done + for l in "${my_targets[@]}"; do + if ! has "${l}" "${all_targets[@]}"; then + remove+=( "${l}" ) + fi + done + + if [[ ${#add[@]} -gt 0 || ${#remove[@]} -gt 0 ]]; then + eqawarn "get_distribution_components() is outdated!" + eqawarn " Add: ${add[*]}" + eqawarn "Remove: ${remove[*]}" + fi + cd - >/dev/null || die + fi +} + +get_distribution_components() { + local sep=${1-;} + + local out=( + # common stuff + clang-cmake-exports + clang-headers + clang-resource-headers + libclang-headers + + aarch64-resource-headers + arm-common-resource-headers + arm-resource-headers + core-resource-headers + cuda-resource-headers + hexagon-resource-headers + hip-resource-headers + hlsl-resource-headers + mips-resource-headers + opencl-resource-headers + openmp-resource-headers + ppc-htm-resource-headers + ppc-resource-headers + riscv-resource-headers + systemz-resource-headers + utility-resource-headers + ve-resource-headers + webassembly-resource-headers + windows-resource-headers + x86-resource-headers + + # libs + clang-cpp + libclang + ) + + if multilib_is_native_abi; then + out+=( + # common stuff + bash-autocomplete + libclang-python-bindings + + # tools + amdgpu-arch + c-index-test + clang + clang-format + clang-linker-wrapper + clang-offload-bundler + clang-offload-packager + clang-refactor + clang-repl + clang-rename + clang-scan-deps + diagtool + hmaptool + nvptx-arch + + # needed for cross-compiling Clang + clang-tblgen + ) + + if use extra; then + out+=( + # extra tools + clang-apply-replacements + clang-change-namespace + clang-doc + clang-include-cleaner + clang-include-fixer + clang-move + clang-pseudo + clang-query + clang-reorder-fields + clang-tidy + clang-tidy-headers + clangd + find-all-symbols + modularize + pp-trace + ) + fi + + if llvm_are_manpages_built; then + out+=( docs-clang-man ) + use extra && out+=( docs-clang-tools-man ) + fi + + if use doc; then + out+=( docs-clang-html ) + use extra && out+=( docs-clang-tools-html ) + fi + + use static-analyzer && out+=( + clang-check + clang-extdef-mapping + scan-build + scan-build-py + scan-view + ) + fi + + printf "%s${sep}" "${out[@]}" +} + +multilib_src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" + # relative to bindir + -DCLANG_RESOURCE_DIR="../../../../lib/clang/${LLVM_MAJOR}" + + -DBUILD_SHARED_LIBS=OFF + -DCLANG_LINK_CLANG_DYLIB=ON + -DLLVM_DISTRIBUTION_COMPONENTS=$(get_distribution_components) + -DCLANG_INCLUDE_TESTS=$(usex test) + + -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + + # these are not propagated reliably, so redefine them + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + + # libgomp support fails to find headers without explicit -I + # furthermore, it provides only syntax checking + -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp + + # disable using CUDA to autodetect GPU, just build for all + -DCMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit=ON + # disable linking to HSA to avoid automagic dep, + # load it dynamically instead + -DCMAKE_DISABLE_FIND_PACKAGE_hsa-runtime64=ON + + -DCLANG_DEFAULT_PIE_ON_LINUX=$(usex pie) + + -DCLANG_ENABLE_LIBXML2=$(usex xml) + -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) + -DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer) + # TODO: CLANG_ENABLE_HLSL? + + -DPython3_EXECUTABLE="${PYTHON}" + ) + + if ! use elibc_musl; then + mycmakeargs+=( + -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=$(usex ieee-long-double) + ) + fi + + use test && mycmakeargs+=( + -DLLVM_BUILD_TESTS=ON + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + if multilib_is_native_abi; then + local build_docs=OFF + if llvm_are_manpages_built; then + build_docs=ON + mycmakeargs+=( + -DLLVM_BUILD_DOCS=ON + -DLLVM_ENABLE_SPHINX=ON + -DCLANG_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + -DSPHINX_WARNINGS_AS_ERRORS=OFF + ) + if use extra; then + mycmakeargs+=( + -DCLANG-TOOLS_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/tools-extra" + ) + fi + fi + mycmakeargs+=( + -DCLANG_INCLUDE_DOCS=${build_docs} + ) + fi + if multilib_native_use extra; then + mycmakeargs+=( + -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR="${WORKDIR}"/clang-tools-extra + -DCLANG_TOOLS_EXTRA_INCLUDE_DOCS=${build_docs} + ) + else + mycmakeargs+=( + -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=OFF + ) + fi + + if [[ -n ${EPREFIX} ]]; then + mycmakeargs+=( + -DGCC_INSTALL_PREFIX="${EPREFIX}/usr" + ) + fi + + if tc-is-cross-compiler; then + has_version -b sys-devel/clang:${LLVM_MAJOR} || + die "sys-devel/clang:${LLVM_MAJOR} is required on the build host." + local tools_bin=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin + mycmakeargs+=( + -DLLVM_TOOLS_BINARY_DIR="${tools_bin}" + -DCLANG_TABLEGEN="${tools_bin}"/clang-tblgen + ) + fi + + # LLVM can have very high memory consumption while linking, + # exhausting the limit on 32-bit linker executable + use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + cmake_src_configure + + multilib_is_native_abi && check_distribution_components +} + +multilib_src_compile() { + cmake_build distribution +} + +multilib_src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + local test_targets=( check-clang ) + if multilib_native_use extra; then + test_targets+=( + check-clang-tools + check-clangd + ) + fi + cmake_build "${test_targets[@]}" +} + +src_install() { + MULTILIB_WRAPPED_HEADERS=( + /usr/include/clang/Config/config.h + ) + + multilib-minimal_src_install + + # Move runtime headers to /usr/lib/clang, where they belong + mv "${ED}"/usr/include/clangrt "${ED}"/usr/lib/clang || die + # move (remaining) wrapped headers back + if use extra; then + mv "${T}"/clang-tidy "${ED}"/usr/include/ || die + fi + mv "${ED}"/usr/include "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include || die + + # Apply CHOST and version suffix to clang tools + local clang_tools=( clang clang++ clang-cl clang-cpp ) + local abi i + + # cmake gives us: + # - clang-X + # - clang -> clang-X + # - clang++, clang-cl, clang-cpp -> clang + # we want to have: + # - clang-X + # - clang++-X, clang-cl-X, clang-cpp-X -> clang-X + # - clang, clang++, clang-cl, clang-cpp -> clang*-X + # also in CHOST variant + for i in "${clang_tools[@]:1}"; do + rm "${ED}/usr/lib/llvm/${LLVM_MAJOR}/bin/${i}" || die + dosym "clang-${LLVM_MAJOR}" "/usr/lib/llvm/${LLVM_MAJOR}/bin/${i}-${LLVM_MAJOR}" + dosym "${i}-${LLVM_MAJOR}" "/usr/lib/llvm/${LLVM_MAJOR}/bin/${i}" + done + + # now create target symlinks for all supported ABIs + for abi in $(get_all_abis); do + local abi_chost=$(get_abi_CHOST "${abi}") + for i in "${clang_tools[@]}"; do + dosym "${i}-${LLVM_MAJOR}" \ + "/usr/lib/llvm/${LLVM_MAJOR}/bin/${abi_chost}-${i}-${LLVM_MAJOR}" + dosym "${abi_chost}-${i}-${LLVM_MAJOR}" \ + "/usr/lib/llvm/${LLVM_MAJOR}/bin/${abi_chost}-${i}" + done + done +} + +multilib_src_install() { + DESTDIR=${D} cmake_build install-distribution + + # move headers to /usr/include for wrapping & ABI mismatch checks + # (also drop the version suffix from runtime headers) + rm -rf "${ED}"/usr/include || die + mv "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include "${ED}"/usr/include || die + mv "${ED}"/usr/lib/clang "${ED}"/usr/include/clangrt || die + if multilib_native_use extra; then + # don't wrap clang-tidy headers, the list is too long + # (they're fine for non-native ABI but enabling the targets is problematic) + mv "${ED}"/usr/include/clang-tidy "${T}/" || die + fi +} + +multilib_src_install_all() { + python_fix_shebang "${ED}" + if use static-analyzer; then + python_optimize "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/share/scan-view + fi + + docompress "/usr/lib/llvm/${LLVM_MAJOR}/share/man" + llvm_install_manpages + # match 'html' non-compression + use doc && docompress -x "/usr/share/doc/${PF}/tools-extra" + # +x for some reason; TODO: investigate + use static-analyzer && fperms a-x "/usr/lib/llvm/${LLVM_MAJOR}/share/man/man1/scan-build.1" +} + +pkg_postinst() { + if [[ -z ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + eselect compiler-shadow update all + fi + + elog "You can find additional utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${LLVM_MAJOR}/share/clang" + if use extra; then + elog "Some of them are vim integration scripts (with instructions inside)." + elog "The run-clang-tidy.py script requires the following additional package:" + elog " dev-python/pyyaml" + fi +} + +pkg_postrm() { + if [[ -z ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + eselect compiler-shadow clean all + fi +} diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 321b06596578..a44da4b7ee32 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -1,6 +1,5 @@ AUX gcc-13-fix-cross-fixincludes.patch 854 BLAKE2B 3dc52dc6b1ed7e86ae5a0a48b79dc5020f2abcbb4db6735479595ce88e259eb8fe933a5619408a29997c00966481f5b3cd3a412eb63517aa26b6babb3afac612 SHA512 666f9343594c5ffa4ea01e7cbfb8c79d95ffc3a5215dbc16a3f964cb73de552863aa578758d2ffcb0dfd36764ec65389b5abacf6dd12c941c129f39c8117fff2 AUX gcc-14.0.1_pre20240303-uninit.patch 2047 BLAKE2B edad64293826366fc668da1926dd7a860ee4acb77771cacba043a1ccea3fe1886b4cbc586012026f57e610a0bbebc08120d693786e0cd49c50c80693ced75447 SHA512 9de6b5182086a0abebd8e171ab3b3a9775dac2408684acf27e2d92dce0c44e1622197a00ca72319a0ad4f173279313d6a560f0dbcce8368bc57bb8735bff792f -AUX gcc-configure-LANG.patch 2052 BLAKE2B 28c36f4992e41305ee421dade5eaaac34e3bdc523665b03f360f2bc01e8f69e9dc48052edb80dece63ab561e80325b4f125502482eb16f7324f1c03670021550 SHA512 a694c7ac2f45cc657097ff5b0cf1356ac88a9c06035c9ba15167e9d444844d0d8a478eb1b9b62195dd063774f79697b9148b9cdb6c261640b472c291061b2129 AUX gcc-configure-texinfo.patch 341 BLAKE2B d2ea3b2ea08f5d3a498ba27d0fb95e325097e2104e55caa28b66515cb48662649140d90b639369aedc54b2b1178fa4b49cda442f5f504e09d88a2efa45a5057c SHA512 e8d34c5077409df5495cf0c5fbf5e77f841c5698108fa6a5fde33eb28202c685603bdefd8368918e55f30c4b995e895d71d64c715c1ec2b017e09eb2c54c09ff DIST gcc-10.5.0-musl-patches-2.tar.xz 3452 BLAKE2B 5387e516d07d81477b3f39b8b3bd986bf861d32cd25dc5481c97bd3620d00c918c5661e86857f66dbf28a655401a53e43417f638c443e44cbfdbf5e950caac4d SHA512 86f2ce31cc4fc4fb5a6043fb527bf822d895e1a6220652024f78a1cbd5a962edb6be8dc5f43c32053e075f39bb2350ea8f14e7d57e0473dd2933a7b44676bde5 DIST gcc-10.5.0-patches-6.tar.xz 18208 BLAKE2B 4cac3340108fb378c76ad62b728429f3c97f348d178744e7536575f3576ca8aa682b878b7df3b1c162dccae64a3cb56c66d8d60eae323e1ece2de4278084fdbd SHA512 9d6c84325fbc118cee01347468ce729c278e5b026b16da945fe54050726e26f86a46ee7b71a01a47cf927b70bfcce459c49a6bc4fb93dcfaa047c76d4c5bc5bc @@ -44,34 +43,35 @@ DIST gcc-8.5.0-patches-4.tar.xz 18616 BLAKE2B 7594cbaea5daecf1a0b3d526c06aeba0a8 DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c58d5de5687acc320741b9e430e85df3535a1ef7a26051409be8d2f0945f503e5968480d919103123a99d4b12 SHA512 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8 DIST gcc-9.5.0-patches-2.tar.xz 14324 BLAKE2B 1d3bf3e673108ad2fcdcb86daefb4603d1c9f6aa815e34d1591054d466b76d6f50cce124ab4760528c4951ea16eb00888a3e6485417f81ebf250548732df4a8e SHA512 a6d6f650aaf0bd193a17ac279649f0544a282cea295824384c59341c3000eac4b574b60e00dd427585d928f9768166abf85168b47772132790ad98854acacbbf DIST gcc-9.5.0.tar.xz 72462752 BLAKE2B 69e39314ee6bb46e3be491ba9c3cbc4914cb716f732c6d3f2b14d9382750b40c4f14b5d3051225b81f936ef8297b0ba8cb5439512e961dae5815d3bee2b0bfdb SHA512 cdd144ce4f747e051480410afc8506c90a57cb45da89071ddae377b1453bca3014422455ade9fe4563ebe51f4b6348cbc0c61905a9b8801cd597d51ad0ec62b3 -EBUILD gcc-10.5.0.ebuild 1398 BLAKE2B d50604dca6e2d6c021f79a8f02dce32ff5a3f336b1eec43f5e78cdf4295d5b08d6109e0b5896a608d1b3a041998a2325da0ba2758386cbafd4f4d7e7dfc87b96 SHA512 bd44b2ef45bd5dc21f175236b2677798a40ffcf0c58c66a2385204fdd4e69c4dc4c3db0621e66deafe05c1340833f12b08b41098ac4c551a40d70af2ece19c89 -EBUILD gcc-11.4.1_p20240111.ebuild 1617 BLAKE2B d610afcfd9cab0775d7bf8707ac1c3ee1d1ac7c1c1dbca47b9fa80f4a49df357287d2c92550886e5bdc2f5130001024646d0cc1276c9377ea3948e895c2a5526 SHA512 9e198448c2bacfe006442c05e6ca3d62cb1d86148f668320ad7c9f718c9af770bcdcaef5b4e189c8d289c241fe65eb59a338a55631b4c62092e2f4b6aa046549 -EBUILD gcc-11.4.1_p20240208.ebuild 1625 BLAKE2B 7b0b11273904c9ac09ae3016c57b154693c32a7d00e82125e57384f3361d295b7187bdccb1ba908c13520c3f568d664ccefd58e8830bcca9c3b28e87de54c090 SHA512 360b1d0809ede6108eb091498694a078fea839f237a6c83198dc138c4707180f2c4e0d12dc63641706e190f37009767dfeac9df1406ca59cf38412a4c849017f -EBUILD gcc-11.4.1_p20240222.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0 -EBUILD gcc-11.4.1_p20240229.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0 -EBUILD gcc-11.4.1_p20240307.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0 -EBUILD gcc-11.4.1_p20240314.ebuild 1626 BLAKE2B 4331de7073cf20a9c756331aab0de69616d8c37974e80562889133881ea5ba4e691226c9d130fdf6105ec31fcdd8a63d2205fb388bdf19208297df73feef1524 SHA512 f1c81fc9d8fa4a72bcb202c6e7b5c7e8c1e7f77bf8ab8dbcb5a572f9e8bfe79eb4f8e00bdfb24d181d8cdf0e6d2af515285ab3ea01220e9d93668e05c307b9d0 -EBUILD gcc-11.5.9999.ebuild 1593 BLAKE2B 53548c83f3180405463c0ed23c68c4b741c89a0fb2007157127db6c7772387ba51088657b0977a09192af7540f3a7cfe0c6cd184c725dd113d10bf47b04cabd3 SHA512 bf75ca5709c33db7525d552082af62df9b5cd790a343f22137d22a072d6a87c08d3a5659f427378a125f9a479863f5c75e1a82c5b4b0df2900ac56f9db773715 -EBUILD gcc-12.3.1_p20240112.ebuild 1624 BLAKE2B 55470f6869d62666538715be63bf118e93d3f117c163da878047cb9f8b97f84380c92179abc40ba4b21f80787d0b8f2e67163f58ac919de8a2550f05217029a0 SHA512 2d48c02f29874f4b0a8057f821aa1430d74773789dae684b784bfd5bffba28c14f6412b1cabaad8458661933b1913b692860f08caefb597fbcc6877fe9ac4873 -EBUILD gcc-12.3.1_p20240209.ebuild 1624 BLAKE2B 34f88378d63f90c6f037281559b09288472c1c1c65ee25c500bf76bbce8c20c815ec1d1111c2091ba2bba09ae4d02c93addd0afdee5e1e86dcc55f26e51092a4 SHA512 e907f808cb29588c1fd3f0d36a59c2005ffce23347605da3964858bf1938d9679603de672dee0749da23df59562e73a58ae0b13c9ad5e5a1c8d4cd244f6b3623 -EBUILD gcc-12.3.1_p20240223.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599 -EBUILD gcc-12.3.1_p20240301.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599 -EBUILD gcc-12.3.1_p20240308.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599 -EBUILD gcc-12.3.1_p20240315.ebuild 1632 BLAKE2B a007e2f2fcb99cb3692f14d7e9cf16dd1d6be911b9c688ad75895a634bf4903f7e8146d94f0a8ca2fbcb61d8b85535e28b8f391f1c13ad4c5274f8e7f673ef5f SHA512 df10820e2616a352eae56dc6babd583bf9a4e8ce75d3a15920735248e390a4821aded2254bfd80a96f5d318e4b65c7faeb857a69c2cd4d0ee5571721640d5599 -EBUILD gcc-12.4.9999.ebuild 1600 BLAKE2B 0d6391f49ecae032403336447c8f026e47453b9e43efc447f7c6946ea2c55a6c97aa60e5bb586f6efe3615ea7c2a0cc57dc6b86043ffb5a136b9f1eacc1b37a4 SHA512 04b539938f1b1afe488d7e543f3cc3244b16a2e4daf4d311a9c20339d52a47dfe7ea0c49ef378349548b8454a56201333a36ac3c40ae9acd628c4231567393e5 -EBUILD gcc-13.2.1_p20240113-r1.ebuild 1684 BLAKE2B 7e7997e86e11ed80ca9e960529be8ffbf8513b04e82886293823c6cfd31531127260da3b9ae7e6da94b1b1d7b088d7b77113f2426bae046336b92e3cb4b5bb81 SHA512 2ea187b3e2afc1fd6599410074f692f4355ea31e66e85ce127011b70773d278ba748f253bd29ab123b5945d742940cff6ac730bcae80f3be3e20141501f56aad -EBUILD gcc-13.2.1_p20240210.ebuild 1684 BLAKE2B 33aae1121ba6e142ad3368b1b78cde0347714e75a5d6ef78fa732787cdb7e3ebe14de0238797f9bd2788255f083d2b95b7d9542ec4778718980c7869f97c0ad3 SHA512 909547c6aae68ca59aa21715bfd03db31a323a702c25bc40612b9a41e48aab550383594d9c746da31743a57fb58e8afda429648a22419784e3e3f93c2c3bcddb -EBUILD gcc-13.2.1_p20240224.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a -EBUILD gcc-13.2.1_p20240302.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a -EBUILD gcc-13.2.1_p20240309.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a -EBUILD gcc-13.2.1_p20240316.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a -EBUILD gcc-13.3.9999.ebuild 1600 BLAKE2B a493b23104c93f8258f0a93f9d914a81c4c65cc0a4b310d14916fa75fe298b66973b63f6136f81edb32a2b684c5869ab8d579e952613ef3f96101e4a778e3db5 SHA512 f52891ac4bc90f8bf3d277a104693a9bad9d8e283596051e4369d02944cd880f0559fbe0ac15d8ea288b60d7d755986adbad2128ec74d7b9d7e9bb30a4fdffda -EBUILD gcc-14.0.1_pre20240218.ebuild 1607 BLAKE2B 5595bf2b06b363334654d1930a90846452b428738d9f8758d40316362d98573a83624d290e15cf1fe3651061f70caaacd764b61ed79d3cdfca36d9d0bb1e66b5 SHA512 9f62e4555fd8f312c66a1bd75e490f1eb32410606c0bfd8d289f29a87078527d1934a1e33de69e870e1912e106852c1fdea5188998f56157bc62f8f16cad17d2 -EBUILD gcc-14.0.1_pre20240225.ebuild 1666 BLAKE2B a9ea258ceb6b3d517fef2ec697d81f7cf2be3c75201cddd12fc42b3c16b18c5ac4cb5fcd05518b2e933f080d593d69c68d620928f9cb6fa3a4317eb902f3bfba SHA512 a4314535c03d43584819d41d6235efd7e77cdb14ff7297d775d96bf7dbc3fa21c048339c5c9e8c9a19285528500f01c66041a913e089fae9959c32ea83503eee -EBUILD gcc-14.0.1_pre20240303-r1.ebuild 1706 BLAKE2B fa8cf1465d80325edcb83f8f22c80a9e2c6fce2337715210aef9e80180d4056a5f0195740e9024f569686d6d7651d1e4f2a61ab93ca6c02eceeeb1acddb56ef5 SHA512 af771df20c8dec5c8e0ebdf18672a6ea6b813603f3b7e6455a150cdf4045aad8c217634ea5348d8b1e59aa7a3162e809f7ecfa8db9977a90336c5bb893b3a072 -EBUILD gcc-14.0.1_pre20240310.ebuild 1666 BLAKE2B 1262eab89d223bc3eed784dc918764776f2a636faff24264936850129d3fa70d3ecff111b81deba663ea8f10fad952d4dee7cf73f8c88749ea6118b3dc93014a SHA512 65fd2252a4755deeb28c5ab71edf36d04437580461891e3b72f4228fbf93e23ce5bff182904a9f168e3cadf71277a9800a482121f824d0756f9ef994c1877002 -EBUILD gcc-14.0.1_pre20240317.ebuild 1666 BLAKE2B 1262eab89d223bc3eed784dc918764776f2a636faff24264936850129d3fa70d3ecff111b81deba663ea8f10fad952d4dee7cf73f8c88749ea6118b3dc93014a SHA512 65fd2252a4755deeb28c5ab71edf36d04437580461891e3b72f4228fbf93e23ce5bff182904a9f168e3cadf71277a9800a482121f824d0756f9ef994c1877002 -EBUILD gcc-14.0.9999.ebuild 1333 BLAKE2B 1f6e055f6a60da9fc4646a29df445a0bca347838d04ce4c8ee839e1ce1f76bad4b0237db25c7dd11469d3e9d77c7b16411dbccacb62322da394d53168dd5c472 SHA512 421c7187a71c7337227c93879dd083f76eb62693707939f0a1526c21fb5998e72ef2c6053ae263e996b8e344a9c7b084fb0a9b4aecd771c6585e61af91c55e1f -EBUILD gcc-8.5.0-r1.ebuild 498 BLAKE2B e24f62fdb50bf2e9957cbb85c72adc96d369938a7f552735772de964f7023b8b34bd11e7e544d268cc308e25272084a728bd061f37c568d42ea65d55bb2a2e93 SHA512 f35b353e9f54eb3e1c6f8e0ea262458b41da9bddb993793aff79f765c4d93811744979d34e50c6470a9b2cfb63b7006bd284d819b7a98e56a8b3a34ae570ae76 -EBUILD gcc-9.5.0.ebuild 1206 BLAKE2B 262931215488db54cab2141549f997a48e22d0a917917eb670d41d5b155c7685e92eb1bc3843d2eca47dd15a450199aea5d99777d2870ff09b1a79ac8a63bcb0 SHA512 3737a70e70e53a581280ff1449d7d92bb9ffba0919b618ea43d4747e09b2803795a05c07c0e3a2ec8982f8d5594be58f9ac549d329b18dc236ad5159e4a47132 +DIST gcc-validate-failures-7bbfb01a32b73842f8908de028703510a0e12057.py 27533 BLAKE2B 58917750d247d3a9e7078c62fd4412027a7d02d06c659a9c0743697529754218257c00dc6e10dff467e78b4e019225c39b1627b48a5298d13481a7072748a15f SHA512 b74d6358538d1b076f3d5b6632ea405b99627d5b5621b6f5101cb3453be13ba41e11d590039535b0c74b1624b69885a7093600d5395cc60bc63cea15ae7472b3 +EBUILD gcc-10.5.0.ebuild 1433 BLAKE2B 848301b73ab9a81046d6530fd156dce7c6e0478405b52439a49d0de4cd247cb062eb72e35e04f2b0c4ddfa0d08e9d3d48dca8e76bac40de812eed5b88d2d7ce0 SHA512 af2a57ad6b6e1ace815e3d799a0025a2d6ba2b8dc8748bdba91462af5478cfdb79e8d1c515b8676065d453ba83cd03ec4130f357f6a672deff247940106a5c87 +EBUILD gcc-11.4.1_p20240111.ebuild 1652 BLAKE2B aa80934e333648b7bea20081f5b31280b06a5b5f1e05fdfe565546787b7b0488f516d42c5d702eb00bafe7c1a60eb4d394e387fa84f329ea4245dd6fd180e1dc SHA512 c4afc7c2c3df7f75e42b6c56ee2c14276ef23e24ac7c0557df4044584619b96afdc723c566e4632207c32cef88468da8455193ab3a7629981dac88df021facb8 +EBUILD gcc-11.4.1_p20240208.ebuild 1660 BLAKE2B 5105e3a80761d6edef1e8d98b766b7e761263dcdf350615013f6dff0be6e6fb6b4ecfda8daa132e21ea41728879aeb24174569dac6d88582127d607fc60bda14 SHA512 3698656b0410504fa2e576a3906c6a165c682a60d43ffb32249600ff98c4cfd1b43600eed2bde3c6498c89f54e15b173b15524018661c820281debbd9cd237df +EBUILD gcc-11.4.1_p20240222.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 +EBUILD gcc-11.4.1_p20240229.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 +EBUILD gcc-11.4.1_p20240307.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 +EBUILD gcc-11.4.1_p20240314.ebuild 1661 BLAKE2B 4cd69e98f6a2fffc176dcd4f4638fcf37b23b650d63dbc2676babe652c6f5b0131c7f0f3cd1e25a29b10a44755647f690cb4f0a34a993890b447e11eda083546 SHA512 b9dd8fedcfdcdfb9e5b5adf3ef99f7f3b0646c43fe399238a04ed4aa6746de0adc699fb6d11fe0bde3976e5d67b8dd33bba072e727bdbc808eba66d28e7113e2 +EBUILD gcc-11.5.9999.ebuild 1628 BLAKE2B ef06d478aa03374908e4de6c2f72f09e542adce7c65f35ccd67cd064516c79c31c269f2032131587eb87ab17cd1e3f50bb0fa2d2481034556776aadfcfe1f923 SHA512 a73fc1b465111928150e137ffbfa68b94beb500d35051a7c6792a96100eb77cfd878d2d29a5d0ea11b1128a0ecd7db773c934941d74a033270b67ccbf3704df3 +EBUILD gcc-12.3.1_p20240112.ebuild 1659 BLAKE2B e7173a878d8142dd0ee6894834f2d22df58833bd28e1cd8f694f739c0c5ceda1023a341962948393dc429b457df99f48c7745925dba0bceb834069944db0bbe6 SHA512 269e89b36175df1d213b206be1c634a3a9d0bad2ec631f0efe34616f263796f2b347ded794ccc78b0e4b2cc9864612ec9f7b28fecd24d198cc187cec4779c0aa +EBUILD gcc-12.3.1_p20240209.ebuild 1659 BLAKE2B 17b2b2cac581d805ff5599a5e66805207721bcdb43eab0533ace70831a4fea200c2c83b50f9da88ccbb1db9aad309af240ff799980d47e09258e667c3b20f076 SHA512 b05747108fbbb4eca4e7db03b3975481e473cc07f77b30c51588ed1096fec1ea4c89d73cb11cc3316d8bafe86f867c666bbbf0c6f893763bcf0f3a04045c5e42 +EBUILD gcc-12.3.1_p20240223.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 +EBUILD gcc-12.3.1_p20240301.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 +EBUILD gcc-12.3.1_p20240308.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 +EBUILD gcc-12.3.1_p20240315.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72c337e9bff179534967bde9e4b7c26151ae2fe93e6d05ac2e2b8ed965914e1c2b7e34ab947def1e01fa6748cc01e070a5 SHA512 ec9068c3af29d60ff4b397cbaa16604f33d45f0ac0a57742b1d6b13d2273785f12b3950e097f93d1e527e7ed5fdc844e6421b21360316a8a9da52e6144d4ae17 +EBUILD gcc-12.4.9999.ebuild 1635 BLAKE2B 0d06fd80b8a92a3fef8ca50261424d7a88a9c32ac1eb7944adc0f30dd157338ff252a92ef149819b0ad95b26860b8cb6daffc2e27fa5b864d0ce60a5f12d4585 SHA512 349ca2be138722efd8460a9ba825b1f2f054828b39e06beb8f18c2464c820aad10d6442660fccb1bcf862116a6ed5c819ec82b09ff96ac260075901ff189c22e +EBUILD gcc-13.2.1_p20240113-r1.ebuild 1719 BLAKE2B 60e1566a6db15aef3078ac0bd2dfac63b4424bbcbf6714cc73c0da83570352bd6af334ec067b403324cfdbbcbedbd869224af626a551c1afd5c4a27e77b1e46e SHA512 2bab4ba67ecea1bdb0c4622d98538efb99f52e0579b34a952949dfed2752c3a767e805a195e1206aeea5e61f40ec64fd34eec9e80db580aa3ad52159dceb2a68 +EBUILD gcc-13.2.1_p20240210.ebuild 1719 BLAKE2B d9bb1a8b735e2c5fa305aa1f5e4ce4587a856b340c014487207af8ad86802d64899a456db80b70f2e35bad69c786025e6af9ece297e8e8b1f6446b1253cb8c62 SHA512 5aa59cd0299ad724e19044ef0393fe1b9e5ba885bad2d9ef9dad7bee5c54ab9bbb44fb54790a42f03b41d9d21446afa52388eb54d6aed385922490fba1f5a683 +EBUILD gcc-13.2.1_p20240224.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 +EBUILD gcc-13.2.1_p20240302.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 +EBUILD gcc-13.2.1_p20240309.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 +EBUILD gcc-13.2.1_p20240316.ebuild 1727 BLAKE2B 3450595bbfe36e9c1911ed35d5956035692328e801ec7ae86fadfcd61fa55a07e89685d8d65738d62e80ea0bba09ca4a034801af7abe34ae983ed4b963f3f295 SHA512 4497f79d76027fa8110af1ed7fd4f59e00e673416f86a7db5657287a8d1b7cf21df071c690d1fb03756e79f0219e55c3fd5eed6806aca5aec2f204ad20ec0125 +EBUILD gcc-13.3.9999.ebuild 1635 BLAKE2B dd8eb497c0352febec3886808c4837e880b858ea20e68135ea72432919a9a7ff4a7e130912c06aad1e6db31f30db3e697f7978df1644f181d824be0ddbfe096c SHA512 211e181b1c449adefeedd28f6e304eac634797e897c39418da28d0ab20f5f33cfae7c10710f007fa0690cd049abd6e4a5adbd5dd02aaa6f532cbb2a593692fc0 +EBUILD gcc-14.0.1_pre20240218.ebuild 1642 BLAKE2B b6a17ead270ae2a3b39096790ec2938b96197c94b79b00db31cec78ea2078ae3117233cd151d1cad064645928b9acdd65eb1322cd04e36b7ed1fa0ab05eb053f SHA512 8d9d5d954458c4e7da05d64d1ee6149baad25c503e53fe0b01215758f3ed80d6a90be1b489f4a453b60f40cda21d41a91ef954b85f5bc3b938dd0b61a49656de +EBUILD gcc-14.0.1_pre20240225.ebuild 1701 BLAKE2B fd47216c3898270e46d4e9f08a400e7661974346ef2070691da917a3f9b1bbaf643a8ebb6298fedb87335e3108bf20bc24527405d8dea6c4478624b8afa9634c SHA512 36cddbbf04376cdff1bd401c2012a8f13ee111a6af42dbe82cb0e591856c354d7a5e2c52e647fe47dafba1a3f94a41bcb560a08d8bac5f2b894d747b161a40eb +EBUILD gcc-14.0.1_pre20240303-r1.ebuild 1741 BLAKE2B 130e45c2007b7e2ee1601cbda587298c43287729bcf3c97316f2b617843dff0cae2f106c69ffa80f71181c7c5b2191e28deaedad8dd1cab271b36f673a2a6979 SHA512 fba3916a7793b76e2cf706393398774e3c6c593b2004220cec5389c75d53cde2734232351ac3ced1a11ec1d9d070c38b58ae0474e1fe5cb75120fe4faefd4e2a +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.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 MISC metadata.xml 5408 BLAKE2B 14aa1cd76e0e7b0f9ac5600f34343287f3af14e7e9ca366f9c65d85dd726597b183705aaf174a6c3d3ccb87ca4792dba5f6bd6f2de439d66f8c4c689cba74933 SHA512 c58beaad2236523b0de58336c4c9c7cf74e8bf042d673d2481ef98bd3b4eb51f867e885b9eb78388625e2dd65bc627e2bf0ebd218605d088911fb4846ab3c558 diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch deleted file mode 100644 index d1b1b0353662..000000000000 --- a/sys-devel/gcc/files/gcc-configure-LANG.patch +++ /dev/null @@ -1,64 +0,0 @@ -The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in -option parsing, it may break. - -http://bugs.gentoo.org/103483 - ---- configure -+++ configure -@@ -54,6 +54,19 @@ - infodir='${prefix}/info' - mandir='${prefix}/man' - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ unset $as_var -+ fi -+done -+ - # Initialize some other variables. - subdirs= - MFLAGS= MAKEFLAGS= -@@ -452,16 +463,6 @@ - esac - done - --# NLS nuisances. --# Only set these to C if already set. These must not be set unconditionally --# because not all systems understand e.g. LANG=C (notably SCO). --# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! --# Non-C LC_CTYPE values break the ctype check. --if test "${LANG+set}" = set; then LANG=C; export LANG; fi --if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi --if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi --if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -- - # confdefs.h avoids OS command line length limits that DEFS can exceed. - rm -rf conftest* confdefs.h - # AIX cpp loses on an empty file, so make sure it contains at least a newline. -@@ -1850,6 +1850,19 @@ - # Compiler output produced by configure, useful for debugging - # configure, is in ./config.log if it exists. - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then -+ eval \$as_var=C; export \$as_var -+ else -+ unset \$as_var -+ fi -+done -+ - ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" - for ac_option - do diff --git a/sys-devel/gcc/gcc-10.5.0.ebuild b/sys-devel/gcc/gcc-10.5.0.ebuild index bd81637a76e6..9203c7468723 100644 --- a/sys-devel/gcc/gcc-10.5.0.ebuild +++ b/sys-devel/gcc/gcc-10.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,6 +8,7 @@ PATCH_GCC_VER="10.5.0" PATCH_VER="6" MUSL_VER="2" MUSL_GCC_VER="10.5.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.4.1_p20240111.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240111.ebuild index d4ed3934475a..7e0cd54888ec 100644 --- a/sys-devel/gcc/gcc-11.4.1_p20240111.ebuild +++ b/sys-devel/gcc/gcc-11.4.1_p20240111.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.4.1_p20240208.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240208.ebuild index 7f6f5f232c57..9b1b89ca2bff 100644 --- a/sys-devel/gcc/gcc-11.4.1_p20240208.ebuild +++ b/sys-devel/gcc/gcc-11.4.1_p20240208.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.4.1_p20240222.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240222.ebuild index 91a92b092972..5ab7ed2dbcfa 100644 --- a/sys-devel/gcc/gcc-11.4.1_p20240222.ebuild +++ b/sys-devel/gcc/gcc-11.4.1_p20240222.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.4.1_p20240229.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240229.ebuild index 91a92b092972..5ab7ed2dbcfa 100644 --- a/sys-devel/gcc/gcc-11.4.1_p20240229.ebuild +++ b/sys-devel/gcc/gcc-11.4.1_p20240229.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.4.1_p20240307.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240307.ebuild index 91a92b092972..5ab7ed2dbcfa 100644 --- a/sys-devel/gcc/gcc-11.4.1_p20240307.ebuild +++ b/sys-devel/gcc/gcc-11.4.1_p20240307.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild b/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild index 91a92b092972..5ab7ed2dbcfa 100644 --- a/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild +++ b/sys-devel/gcc/gcc-11.4.1_p20240314.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.5.9999.ebuild b/sys-devel/gcc/gcc-11.5.9999.ebuild index ac7012a6e60d..124b2c1eeeb5 100644 --- a/sys-devel/gcc/gcc-11.5.9999.ebuild +++ b/sys-devel/gcc/gcc-11.5.9999.ebuild @@ -6,6 +6,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" PATCH_GCC_VER="11.4.0" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.3.1_p20240112.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240112.ebuild index 6dad764a57ba..6c45c55e4a05 100644 --- a/sys-devel/gcc/gcc-12.3.1_p20240112.ebuild +++ b/sys-devel/gcc/gcc-12.3.1_p20240112.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="12.3.0" PATCH_VER="2" MUSL_VER="1" MUSL_GCC_VER="12.3.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild index 1d23ca501654..f0ad270b596f 100644 --- a/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild +++ b/sys-devel/gcc/gcc-12.3.1_p20240209.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" MUSL_GCC_VER="12.3.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.3.1_p20240223.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240223.ebuild index 44985e9fed07..2c4b89e72445 100644 --- a/sys-devel/gcc/gcc-12.3.1_p20240223.ebuild +++ b/sys-devel/gcc/gcc-12.3.1_p20240223.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" MUSL_GCC_VER="12.3.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.3.1_p20240301.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240301.ebuild index 44985e9fed07..2c4b89e72445 100644 --- a/sys-devel/gcc/gcc-12.3.1_p20240301.ebuild +++ b/sys-devel/gcc/gcc-12.3.1_p20240301.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" MUSL_GCC_VER="12.3.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.3.1_p20240308.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240308.ebuild index 44985e9fed07..2c4b89e72445 100644 --- a/sys-devel/gcc/gcc-12.3.1_p20240308.ebuild +++ b/sys-devel/gcc/gcc-12.3.1_p20240308.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" MUSL_GCC_VER="12.3.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild b/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild index 44985e9fed07..2c4b89e72445 100644 --- a/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild +++ b/sys-devel/gcc/gcc-12.3.1_p20240315.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="12.3.0" PATCH_VER="3" MUSL_VER="1" MUSL_GCC_VER="12.3.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.4.9999.ebuild b/sys-devel/gcc/gcc-12.4.9999.ebuild index 99964a8549bf..4828fd444e14 100644 --- a/sys-devel/gcc/gcc-12.4.9999.ebuild +++ b/sys-devel/gcc/gcc-12.4.9999.ebuild @@ -6,6 +6,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" PATCH_GCC_VER="12.3.0" MUSL_GCC_VER="12.3.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.2.1_p20240113-r1.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240113-r1.ebuild index 78cfe0160a15..27e1e5ab20bc 100644 --- a/sys-devel/gcc/gcc-13.2.1_p20240113-r1.ebuild +++ b/sys-devel/gcc/gcc-13.2.1_p20240113-r1.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="13.2.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild index 025a27a0140d..e2094692e1f6 100644 --- a/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild +++ b/sys-devel/gcc/gcc-13.2.1_p20240210.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="13.2.0" PATCH_VER="14" MUSL_VER="2" MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.2.1_p20240224.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240224.ebuild index 7e4df3343e31..1e4b87a7546c 100644 --- a/sys-devel/gcc/gcc-13.2.1_p20240224.ebuild +++ b/sys-devel/gcc/gcc-13.2.1_p20240224.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="13.2.0" PATCH_VER="14" MUSL_VER="2" MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.2.1_p20240302.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240302.ebuild index 7e4df3343e31..1e4b87a7546c 100644 --- a/sys-devel/gcc/gcc-13.2.1_p20240302.ebuild +++ b/sys-devel/gcc/gcc-13.2.1_p20240302.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="13.2.0" PATCH_VER="14" MUSL_VER="2" MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.2.1_p20240309.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240309.ebuild index 7e4df3343e31..1e4b87a7546c 100644 --- a/sys-devel/gcc/gcc-13.2.1_p20240309.ebuild +++ b/sys-devel/gcc/gcc-13.2.1_p20240309.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="13.2.0" PATCH_VER="14" MUSL_VER="2" MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.2.1_p20240316.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240316.ebuild index 7e4df3343e31..1e4b87a7546c 100644 --- a/sys-devel/gcc/gcc-13.2.1_p20240316.ebuild +++ b/sys-devel/gcc/gcc-13.2.1_p20240316.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="13.2.0" PATCH_VER="14" MUSL_VER="2" MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.3.9999.ebuild b/sys-devel/gcc/gcc-13.3.9999.ebuild index 8fb88041277d..b7539bd2eccf 100644 --- a/sys-devel/gcc/gcc-13.3.9999.ebuild +++ b/sys-devel/gcc/gcc-13.3.9999.ebuild @@ -6,6 +6,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" PATCH_GCC_VER="13.2.0" MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240218.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240218.ebuild index 42dcf421f9c8..99c25e40e7da 100644 --- a/sys-devel/gcc/gcc-14.0.1_pre20240218.ebuild +++ b/sys-devel/gcc/gcc-14.0.1_pre20240218.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="14.0.0" PATCH_VER="23" MUSL_VER="1" MUSL_GCC_VER="14.0.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild index b2ec3cf0207f..0345762de5b9 100644 --- a/sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild +++ b/sys-devel/gcc/gcc-14.0.1_pre20240225.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="14.0.0" PATCH_VER="23" MUSL_VER="1" MUSL_GCC_VER="14.0.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240303-r1.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240303-r1.ebuild index 6adc86384c34..b939f9d7fa98 100644 --- a/sys-devel/gcc/gcc-14.0.1_pre20240303-r1.ebuild +++ b/sys-devel/gcc/gcc-14.0.1_pre20240303-r1.ebuild @@ -8,6 +8,7 @@ PATCH_GCC_VER="14.0.0" PATCH_VER="24" MUSL_VER="1" MUSL_GCC_VER="14.0.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240310.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240310.ebuild index bef7ad150c18..e809e40f6564 100644 --- a/sys-devel/gcc/gcc-14.0.1_pre20240310.ebuild +++ b/sys-devel/gcc/gcc-14.0.1_pre20240310.ebuild @@ -8,6 +8,7 @@ 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) diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240317.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240317.ebuild index bef7ad150c18..e809e40f6564 100644 --- a/sys-devel/gcc/gcc-14.0.1_pre20240317.ebuild +++ b/sys-devel/gcc/gcc-14.0.1_pre20240317.ebuild @@ -8,6 +8,7 @@ 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) diff --git a/sys-devel/gcc/gcc-14.0.9999.ebuild b/sys-devel/gcc/gcc-14.0.9999.ebuild index e1e9864a4fe1..762b2f9aca6b 100644 --- a/sys-devel/gcc/gcc-14.0.9999.ebuild +++ b/sys-devel/gcc/gcc-14.0.9999.ebuild @@ -6,6 +6,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" PATCH_GCC_VER="14.0.0" MUSL_GCC_VER="14.0.0" +PYTHON_COMPAT=( python3_{10..11} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-8.5.0-r1.ebuild b/sys-devel/gcc/gcc-8.5.0-r1.ebuild index 2d77b92b0327..71a72ec0dc9e 100644 --- a/sys-devel/gcc/gcc-8.5.0-r1.ebuild +++ b/sys-devel/gcc/gcc-8.5.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -6,6 +6,7 @@ EAPI="7" TOOLCHAIN_PATCH_SUFFIX="xz" TOOLCHAIN_PATCH_DEV="sam" PATCH_VER="4" +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain diff --git a/sys-devel/gcc/gcc-9.5.0.ebuild b/sys-devel/gcc/gcc-9.5.0.ebuild index 530a5a440515..9208cb574215 100644 --- a/sys-devel/gcc/gcc-9.5.0.ebuild +++ b/sys-devel/gcc/gcc-9.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,6 +6,7 @@ EAPI=8 TOOLCHAIN_PATCH_DEV="sam" PATCH_GCC_VER="9.5.0" PATCH_VER="2" +PYTHON_COMPAT=( python3_{10..11} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest index aa31b63306a9..ce76b2099984 100644 --- a/sys-devel/kgcc64/Manifest +++ b/sys-devel/kgcc64/Manifest @@ -1,6 +1,5 @@ AUX 4.1.0/gcc-4.1.0-cross-compile.patch 1134 BLAKE2B 945e234afcbbf2b5d737d7a4b9fb9282070ece739e1e487723baf9aa4e7c0777ec7b43cdd4957c89b9fc42c15eb2aff0564b370dd6b3e1a3849bf32680c69bd1 SHA512 84d0ab9bcfdd18148392a7219ec0ad4a1e63d43bda3f45a13e22f551f2f119822fed700570bd659f9260b09b0958d4c49e339ad4f135740e5b60e46462de7f20 AUX gcc-12.3-ccache-ICE.patch 2129 BLAKE2B 29d5b55ed17b299d58dc2f22310aacfa443e05f28e7400fedf0e050daec9041b3dc32c3765c8fdf8d872294fb712c0c488d109efcdf6cfb6691e24b775de94a1 SHA512 58c68b982281b06bb707dc19465985da71e2d4b55e4b25fb63ec37ddfdc1337ac5bd67c5f5a75244b46630e9b1ca7321a3da38de89e31c278de8459608b88377 -AUX gcc-configure-LANG.patch 2052 BLAKE2B 28c36f4992e41305ee421dade5eaaac34e3bdc523665b03f360f2bc01e8f69e9dc48052edb80dece63ab561e80325b4f125502482eb16f7324f1c03670021550 SHA512 a694c7ac2f45cc657097ff5b0cf1356ac88a9c06035c9ba15167e9d444844d0d8a478eb1b9b62195dd063774f79697b9148b9cdb6c261640b472c291061b2129 AUX gcc-configure-texinfo.patch 341 BLAKE2B d2ea3b2ea08f5d3a498ba27d0fb95e325097e2104e55caa28b66515cb48662649140d90b639369aedc54b2b1178fa4b49cda442f5f504e09d88a2efa45a5057c SHA512 e8d34c5077409df5495cf0c5fbf5e77f841c5698108fa6a5fde33eb28202c685603bdefd8368918e55f30c4b995e895d71d64c715c1ec2b017e09eb2c54c09ff DIST gcc-10.5.0-musl-patches-2.tar.xz 3452 BLAKE2B 5387e516d07d81477b3f39b8b3bd986bf861d32cd25dc5481c97bd3620d00c918c5661e86857f66dbf28a655401a53e43417f638c443e44cbfdbf5e950caac4d SHA512 86f2ce31cc4fc4fb5a6043fb527bf822d895e1a6220652024f78a1cbd5a962edb6be8dc5f43c32053e075f39bb2350ea8f14e7d57e0473dd2933a7b44676bde5 DIST gcc-10.5.0-patches-6.tar.xz 18208 BLAKE2B 4cac3340108fb378c76ad62b728429f3c97f348d178744e7536575f3576ca8aa682b878b7df3b1c162dccae64a3cb56c66d8d60eae323e1ece2de4278084fdbd SHA512 9d6c84325fbc118cee01347468ce729c278e5b026b16da945fe54050726e26f86a46ee7b71a01a47cf927b70bfcce459c49a6bc4fb93dcfaa047c76d4c5bc5bc @@ -18,11 +17,12 @@ DIST gcc-13-20240210.tar.xz 84354416 BLAKE2B 5807623d3f7dd751b6dfe164cfd50d57b2f DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-12.tar.xz 47404 BLAKE2B ed018bcd7429d1c7aace746cbfc4e59dae409fc0a35231320c1b44c96fff0d912eba5c72109c2deb883f5368159df02148b2d4373396b34da882164c61fe4387 SHA512 b7872a03870bce7b633e4af4329b24fe8f3d50d6d9173f63549f606ce062787748af7f79e7ec4afeb768968d6e8462a849bd1b94316ea6bb284551f99e811617 DIST gcc-13.2.0-patches-13.tar.xz 46404 BLAKE2B d11e6ebfed8d1fcba60638240927d57722015ea7cfb0790836c338c023fc01f9f5b3ebf0fe1e0c615b36e0131d38b49e3aee4026f8ed81473572255ccaa74e4b SHA512 4f8bbf9101548d64e78e32f38869ed84e462ce8329d64fbb934132d15bc81f8a9b6f2a075c0263fdc3b32e0dfac6bc032a4176eb06df88cb282fe974bfe102f4 -EBUILD kgcc64-10.5.0.ebuild 1062 BLAKE2B 5204201be7cffe272d00ac00ddce4e42365a28625ee7e34d699fe76ff6f9d318ebe3cae9898c4af9a3960ac9b7ec961adcde4552918578f7dac9ebd098c9689a SHA512 f1ab8de4738b8768a57bd99e25b1f7d877102e72da2b34e4aeeda940450703a586a5cfeae05a49d776249b2cec2b50d22163b29d07dea603512ccd2746b82cd5 -EBUILD kgcc64-11.4.1_p20240111.ebuild 1063 BLAKE2B c42af580de4a85ee5b3112bfd7b85e0113841083922f4dcf70a7443636dc749a4ff85438682f7daa6d6591ba9042ec3c90bb7f31f78ac3cbb78f613964110890 SHA512 2f6a77d0374a6b90a38e870b9b9422bcc43714ed1202cd210834ad07bd1f03c53abffceea64f940d6b445739d6a9a032fe2a41aecfcc9d0c4d0feb1335e7c422 -EBUILD kgcc64-11.4.1_p20240208.ebuild 1064 BLAKE2B 3e628ae892013ab224f73df0869fdccc055f21d0561a1e3843d61b692baa1a4c574d4a7f9136355bed44416605bf3f5a3a1c9526bd7f52adc1df29fd79c11f6c SHA512 94b36914ae1a4a728deb24ff07a3bfff71e35ab8a07036303a3fad76ac4382cb5a0ca34dcbe837a9bc206f5bb236a39d874909975cff49b283ca1dfb96f6e28b -EBUILD kgcc64-12.3.1_p20240112.ebuild 1151 BLAKE2B 5c361920652ab8f34c67761cdcac268d97af493c8485c968e468a22de3b4b626e7273db2bcf4eee10457190e5566f5a915286ed04d32964e72ec0685bce62d59 SHA512 570a44abc6f276c6c0912c8ef2afa044595b240f673c1b3904b3cf1e73bd7819cba52c66d99d0e121a0bdcbfd052494ac09cfffa614e173450ddb8e2bc5e422f -EBUILD kgcc64-12.3.1_p20240209.ebuild 1151 BLAKE2B 5c361920652ab8f34c67761cdcac268d97af493c8485c968e468a22de3b4b626e7273db2bcf4eee10457190e5566f5a915286ed04d32964e72ec0685bce62d59 SHA512 570a44abc6f276c6c0912c8ef2afa044595b240f673c1b3904b3cf1e73bd7819cba52c66d99d0e121a0bdcbfd052494ac09cfffa614e173450ddb8e2bc5e422f -EBUILD kgcc64-13.2.1_p20240113-r1.ebuild 1062 BLAKE2B d7015b7c5a06a999ea1384997afb42c60b08e01143cdf92ba9d75909db0ccef7f4c688a1deee0e0d137e4976cc81b76762c020960ba04dc7bd81512152bce431 SHA512 0ecfb4635bfa40000073cf0d5cbcc34aa9f056da7f0b63f7cf13daa339b7674a8dcb324f311faab8b21ad4a330e40bfa6455899c5f5898dd69fefa4156c83abd -EBUILD kgcc64-13.2.1_p20240210.ebuild 1062 BLAKE2B 5601a01319cb9e9f3857a88cd7f495fd54e5ae2bc45143431cc8963c5000562a816c6b602153281ae28170f4d22deca5f1311ecdf820b7ef1a1909afbcafd408 SHA512 cbc9bc34a5debc521876c557bd97dca307187e9bedc9cc0b64699e3711719b4de4d044b874c56ab6db82b8b84d272f23b0f27b213d88c6295a78e1cc36e812a2 +DIST kgcc64-validate-failures-7bbfb01a32b73842f8908de028703510a0e12057.py 27533 BLAKE2B 58917750d247d3a9e7078c62fd4412027a7d02d06c659a9c0743697529754218257c00dc6e10dff467e78b4e019225c39b1627b48a5298d13481a7072748a15f SHA512 b74d6358538d1b076f3d5b6632ea405b99627d5b5621b6f5101cb3453be13ba41e11d590039535b0c74b1624b69885a7093600d5395cc60bc63cea15ae7472b3 +EBUILD kgcc64-10.5.0.ebuild 1097 BLAKE2B 2e4a25c950d7768186d485a94c3f26713dafdd68a835c15f969a45e96a3481ea1471ce4e23fffac8246eb6a40e9729843976c31d7bb5cbae78efbf7926638355 SHA512 f80108c6f6c8aed13e7a4060989b57c8fb3ff80bf2e3cc3988e94293f5e3b90f3b24cbf8dfda519be5e7461ea62fc100b832d190afdb08121b138073bf6d95b4 +EBUILD kgcc64-11.4.1_p20240111.ebuild 1098 BLAKE2B e530fd7fe0781a6b57b4763e46f3efaaf760445bd64a0d95ae51f48fc3e1d89a28430a72a9b69ceb312314ed66423d4b6838387bd62f0ea94cde02d2572964a8 SHA512 516a71993d3e4e5ac62eb3cc7b26dd9a458f06b0fed343616b9a5fd17abc5c30ccb7c520300db588252857ef65a02aa8883522f6493c5a9052b4847bec11e538 +EBUILD kgcc64-11.4.1_p20240208.ebuild 1099 BLAKE2B 73ede0371cacec90d5cd6b362b2b4b579d199347e4f70f6c1050940f3883f59775fec290ace88ca28b4b4b1de0e602a6b9a346bc87f30bcd2e4047e746485102 SHA512 f82ee435b9af026a5cf0ef8dcf8c5b83259f3c5539c85c7e4d4273d2499f32c0acc5080237b71012e4854b4b3f35ec4a390cb3c2e9b56a8661995756d111972b +EBUILD kgcc64-12.3.1_p20240112.ebuild 1186 BLAKE2B 42fdb8ed6d0170383b074a34ae419150c666e83eedfdee7fb94efa521168b431e4208fabc90b7ded45b63704a85de7f87893bd2db079c687fa4ec2858895e348 SHA512 b56a65f08722eafe0293b756061aeac26005387e58b2a7642df9e3bc1423ef3b925bfb55255eeb44d7680983a7705b9f23cde6171f3ca9ce17fa302852ddb2f4 +EBUILD kgcc64-12.3.1_p20240209.ebuild 1186 BLAKE2B 42fdb8ed6d0170383b074a34ae419150c666e83eedfdee7fb94efa521168b431e4208fabc90b7ded45b63704a85de7f87893bd2db079c687fa4ec2858895e348 SHA512 b56a65f08722eafe0293b756061aeac26005387e58b2a7642df9e3bc1423ef3b925bfb55255eeb44d7680983a7705b9f23cde6171f3ca9ce17fa302852ddb2f4 +EBUILD kgcc64-13.2.1_p20240113-r1.ebuild 1097 BLAKE2B ae8937886b65e8167874acfd8285fd2b1e976a20068fd05cb1ef2eb7f95ce3389ccd39c9e77b3252911cfb0b0fd96890a7b4dcd787da8b86f5633ff1aed504c9 SHA512 671e2b1b55677e9d6b82ed8ad9d0086b2ce93b6c0ac8fdae85dcbe67ee91172bac040cd774ddc16bdfda55fa45ec124d3e10ca3b7300cc2b2ec55be99763bd38 +EBUILD kgcc64-13.2.1_p20240210.ebuild 1097 BLAKE2B 115dbb219706a35b01816039faa77c415c0cd514e0eada395c1de47e1644d5e3b7380727625d8bbe1965091ed08c3153e2cd732538426f4bd3362bb95b9b253e SHA512 dbaa4d70978b2e8ed2d043e8ec9fadc33054ea5d276078b886834ce26052bd585d712b3c1903c33c4a098cee2ffccf941a21c3cd88d783e242a9ad8d2c2e1c77 MISC metadata.xml 268 BLAKE2B 8482f168e8ebdc914b137d3b41df6840c3478b8898d5278c5d43742538d0edb403505d66583f44b142b094f8735777d79637b69b6fcb3b7cd7026e415eb48e58 SHA512 433cd6a955f0104f3767d50ab08e08e79c8ca4276a56c2cd284692472cf5f19918d1ff22539eedf0232224193c15d6c84198c95647ed390f2b520d05211de721 diff --git a/sys-devel/kgcc64/files/gcc-configure-LANG.patch b/sys-devel/kgcc64/files/gcc-configure-LANG.patch deleted file mode 100644 index d1b1b0353662..000000000000 --- a/sys-devel/kgcc64/files/gcc-configure-LANG.patch +++ /dev/null @@ -1,64 +0,0 @@ -The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in -option parsing, it may break. - -http://bugs.gentoo.org/103483 - ---- configure -+++ configure -@@ -54,6 +54,19 @@ - infodir='${prefix}/info' - mandir='${prefix}/man' - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ unset $as_var -+ fi -+done -+ - # Initialize some other variables. - subdirs= - MFLAGS= MAKEFLAGS= -@@ -452,16 +463,6 @@ - esac - done - --# NLS nuisances. --# Only set these to C if already set. These must not be set unconditionally --# because not all systems understand e.g. LANG=C (notably SCO). --# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! --# Non-C LC_CTYPE values break the ctype check. --if test "${LANG+set}" = set; then LANG=C; export LANG; fi --if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi --if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi --if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -- - # confdefs.h avoids OS command line length limits that DEFS can exceed. - rm -rf conftest* confdefs.h - # AIX cpp loses on an empty file, so make sure it contains at least a newline. -@@ -1850,6 +1850,19 @@ - # Compiler output produced by configure, useful for debugging - # configure, is in ./config.log if it exists. - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then -+ eval \$as_var=C; export \$as_var -+ else -+ unset \$as_var -+ fi -+done -+ - ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" - for ac_option - do diff --git a/sys-devel/kgcc64/kgcc64-10.5.0.ebuild b/sys-devel/kgcc64/kgcc64-10.5.0.ebuild index dfa291ec5bc3..c2a2eb1fd4b3 100644 --- a/sys-devel/kgcc64/kgcc64-10.5.0.ebuild +++ b/sys-devel/kgcc64/kgcc64-10.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,6 +20,7 @@ PATCH_VER="6" MUSL_VER="2" MUSL_GCC_VER="10.5.0" GCC_TARGET_NO_MULTILIB=true +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain diff --git a/sys-devel/kgcc64/kgcc64-11.4.1_p20240111.ebuild b/sys-devel/kgcc64/kgcc64-11.4.1_p20240111.ebuild index 932a1026c94e..805aef87b2bb 100644 --- a/sys-devel/kgcc64/kgcc64-11.4.1_p20240111.ebuild +++ b/sys-devel/kgcc64/kgcc64-11.4.1_p20240111.ebuild @@ -20,6 +20,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-11.4.1_p20240208.ebuild b/sys-devel/kgcc64/kgcc64-11.4.1_p20240208.ebuild index 6664cd1bfd0c..1105de63f8d0 100644 --- a/sys-devel/kgcc64/kgcc64-11.4.1_p20240208.ebuild +++ b/sys-devel/kgcc64/kgcc64-11.4.1_p20240208.ebuild @@ -20,6 +20,7 @@ PATCH_GCC_VER="11.4.0" PATCH_VER="12" MUSL_VER="2" MUSL_GCC_VER="11.4.0" +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-12.3.1_p20240112.ebuild b/sys-devel/kgcc64/kgcc64-12.3.1_p20240112.ebuild index 9c9bda79c52d..65514fe59f88 100644 --- a/sys-devel/kgcc64/kgcc64-12.3.1_p20240112.ebuild +++ b/sys-devel/kgcc64/kgcc64-12.3.1_p20240112.ebuild @@ -19,6 +19,7 @@ PATCH_GCC_VER="12.3.0" MUSL_VER="1" MUSL_GCC_VER="12.3.0" GCC_TARGET_NO_MULTILIB=true +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-12.3.1_p20240209.ebuild b/sys-devel/kgcc64/kgcc64-12.3.1_p20240209.ebuild index 9c9bda79c52d..65514fe59f88 100644 --- a/sys-devel/kgcc64/kgcc64-12.3.1_p20240209.ebuild +++ b/sys-devel/kgcc64/kgcc64-12.3.1_p20240209.ebuild @@ -19,6 +19,7 @@ PATCH_GCC_VER="12.3.0" MUSL_VER="1" MUSL_GCC_VER="12.3.0" GCC_TARGET_NO_MULTILIB=true +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-13.2.1_p20240113-r1.ebuild b/sys-devel/kgcc64/kgcc64-13.2.1_p20240113-r1.ebuild index 7800a60079ce..e14486eae1a8 100644 --- a/sys-devel/kgcc64/kgcc64-13.2.1_p20240113-r1.ebuild +++ b/sys-devel/kgcc64/kgcc64-13.2.1_p20240113-r1.ebuild @@ -19,6 +19,7 @@ PATCH_GCC_VER="13.2.0" MUSL_VER="2" MUSL_GCC_VER="13.2.0" GCC_TARGET_NO_MULTILIB=true +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/kgcc64/kgcc64-13.2.1_p20240210.ebuild b/sys-devel/kgcc64/kgcc64-13.2.1_p20240210.ebuild index 06522005a319..71ebd938a35b 100644 --- a/sys-devel/kgcc64/kgcc64-13.2.1_p20240210.ebuild +++ b/sys-devel/kgcc64/kgcc64-13.2.1_p20240210.ebuild @@ -19,6 +19,7 @@ PATCH_GCC_VER="13.2.0" MUSL_VER="2" MUSL_GCC_VER="13.2.0" GCC_TARGET_NO_MULTILIB=true +PYTHON_COMPAT=( python3_{10..11} ) inherit toolchain DESCRIPTION="64bit kernel compiler" diff --git a/sys-devel/lld-toolchain-symlinks/Manifest b/sys-devel/lld-toolchain-symlinks/Manifest index 2f98799c0165..1735440c1785 100644 --- a/sys-devel/lld-toolchain-symlinks/Manifest +++ b/sys-devel/lld-toolchain-symlinks/Manifest @@ -1,6 +1,6 @@ EBUILD lld-toolchain-symlinks-15-r2.ebuild 790 BLAKE2B be95621853ffc4825c59f7375450fc5e563da475a151c3333224b420a21dc774af6626b9f7e910e07b3ea489721f2c3a95954633882be4b4e9efbec7e24cedbe SHA512 c062c61a96046490b9664d0257ffd94c8b031bb37f461a1e1e16cab6870c34ced5d2d775fd446e5d539d27b6e61ecf9c4b2f8cc6cadf11d27f1a72ccf84a0b3e EBUILD lld-toolchain-symlinks-16-r2.ebuild 803 BLAKE2B 44df85aa21511703bed01f018769dda77696e6c0713ceffa794d36707f764c05c3cdaa34a9c0ff469f97b991c1e4ad51bc7632d0c9ce1e2996a3dfedea319d19 SHA512 891f40206a1f3a1a7ca78bf689d4449aa81813a9baa5c57b5e98af2ada3a4cb53a506a0d13b6b8c59527f5be57862e51056d2b71ba1e736e2ad0310c4ffc187c -EBUILD lld-toolchain-symlinks-17.ebuild 812 BLAKE2B 9cf6ba3ca94903a89cfdf0bb59dad4717adb29c88a71e01983926938575b5000d4a536e91f918d2c627a33e6a50b197178ba81bd6dc81787b08e9e28335e66c4 SHA512 710b8b48b588875bf215ad8edc8cc6dd3219b8f375749e3d9b72815e256b2580cf9d81773504ced44c0534940574043f41ed4aa95a2b6a746ae0e64d787f37e8 +EBUILD lld-toolchain-symlinks-17.ebuild 810 BLAKE2B 7e8223c2ebffaff98be492ec55a583b341bcd9e6ad8e05ae99a391caafd8684cbc63e1fb7a2604a85570aae69068ec40a89f1b066c86d6ebb7af3fef1059cfd6 SHA512 cdc351cb8e5121821708a043f33ab8de1f9a39603ba8d4a712bbd5d086557da5c4d0cb0625e3bf383877dae7c8b1086359ba07091e4ba1781148ebea39712973 EBUILD lld-toolchain-symlinks-18.ebuild 822 BLAKE2B 9068c612412b708c80170b3c555021d38c0cd3b77853429e2452a22083ebc02ba2def878d4d87650b1a86b44d2ebfe17c6fc52f1807308aa1cf29089fc38d573 SHA512 9fce44cec89abc126ef5de6faec900b006d84e10eb58443188aedcd405386939fa2cc16e23b1258b423d73ccbdf54c93fdec27b79d95f714e690c425cba02c81 EBUILD lld-toolchain-symlinks-19.ebuild 741 BLAKE2B c7fe69e799f612934d3ac376e7f0a082eec89e14718053f99198cce5485036ed6e2c5ddf0bed429dc08c4abccc4e09fc9f9949d3513539ec73e74e0737c4993e SHA512 fe6bfb302233cd66c0a3deaa03687db079cdd5890a59421c80b170ad8a9d87b28def21a638a95acc156a2335c2fd47aefcfcc1b982650c4ed3415ae5a215a040 MISC metadata.xml 784 BLAKE2B 044eebb87ddac511186e137d9e255cb3ead2d53aeffafc641cc9a53556b833f06cae439907de8e8ead1090d54f7cc4bcacdbfff52449b6fab5908aa6d354a110 SHA512 50a9ac94efe64f8f6533049f496a19c37e375803ea3920a3729c93f346117ea5b662978570db27e8fffcfaf78f990691c4ab5aaf7dd48a7e2931f713eddedb4b diff --git a/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-17.ebuild b/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-17.ebuild index 6eae2284ab73..d8b2ae18b0fb 100644 --- a/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-17.ebuild +++ b/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-17.ebuild @@ -11,7 +11,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~arm64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86 ~arm64-macos" IUSE="multilib-symlinks +native-symlinks" RDEPEND=" diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest index b8f6b3938c20..2e2e4e9c1632 100644 --- a/sys-devel/lld/Manifest +++ b/sys-devel/lld/Manifest @@ -8,10 +8,12 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2 SHA512 a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390 SHA512 1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 BLAKE2B 855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82 SHA512 ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490 +DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 BLAKE2B abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0 SHA512 513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f EBUILD lld-15.0.7.ebuild 2269 BLAKE2B 322d5608e3acfb87bfb720646404ed405a3113c4faf1059428663a50d5566d7842fcff57ccf3aeb5e97b1a9acd4efd862db2368f130e088944ef4f0faf3c90f8 SHA512 e50d1d99fe18b6aba57c06eb6853f3212be1f7b7f2f3c70dcd226a69a4defc753eafcce77eb74f30eaa31b010fa094738718c1cdb23e584ef6e33eb72e536719 EBUILD lld-16.0.6.ebuild 2324 BLAKE2B 9b849aea16a8188e4da4cfcf0c85fb3e997007e1287ec062aee182c7955c7bc78132e761c2611198c7207283fbe930fbee6bdc9a39b922d6d5387bedadaf1b76 SHA512 a7c3d4c1508e5435ba9f6250c6b2fd3157fb4f2c205a6888736f79fa739c59eec3e901927b53af81de3a3c6d4fa5d576be3eaa6ad45c60e5d952ed4ad9706c2f -EBUILD lld-17.0.6.ebuild 2365 BLAKE2B 5ff558c13ce011886f81d3e46219fe7252533ae90d076a1e5c92f19ac3816d1cde812c09e52eb54829d2443fc900fab338630a65ec7ec5325ba67ce979973c32 SHA512 c8375f51bd0993a4e164a127f9765789eb5308fa2265aeec777b501e00ed2b2ebd4e20bd21dd5a3b6fb686ac5ded522026ef4c1d8b80ba32c90249a1f76216b7 +EBUILD lld-17.0.6.ebuild 2363 BLAKE2B 8ebe513b67f3fb8efd981b97c1f77fe5de2065c363c2b9e99b8836983539fe5637b231e8be2a87713d47b48a49bfde77471ad65fa5166b606df476eca6f94fc1 SHA512 fd63e8600e393ecd95a05a28c8ac0d71b12f5aedcf273f432bea1904165b874ee913afff4aab91c2049aa1eb95c239bca217b84150133b2060f95ea66ce1944e EBUILD lld-18.1.2.ebuild 2373 BLAKE2B 3c077afb30cf364f50baa371a6df7bfc20ca719ea8fa450d4276cb375b4503a70a4d87488f23e17b304e45daa61ae44a7c8f33da98cbfdedd07a95221ff15719 SHA512 94aa33e741b4a79c864ff0e49ed09fd115cab80612e96712fbb8344d49134d7d7ec2acc4e3526ab3d184f4c703e9290d8124fb15b8dc248f4df23252947f2cc6 EBUILD lld-19.0.0.9999.ebuild 2293 BLAKE2B 18ee4d77344d5fd4ad0cab1d0a7d54d02edda3b3969dc9b5fbbb16af1296e4a65be293a0472911598c1cab3e23e45a115495fb1368b3a4db48dc4fdc0c7061e7 SHA512 3ad276dc89c7be26ed0e6c90eb1e8f951b0f6ecf163a6534071f63add887619444fdd8f05135a4e23c195773758320a4aede1683a7d0c4779696b60deef19e40 EBUILD lld-19.0.0_pre20240316.ebuild 2293 BLAKE2B 18ee4d77344d5fd4ad0cab1d0a7d54d02edda3b3969dc9b5fbbb16af1296e4a65be293a0472911598c1cab3e23e45a115495fb1368b3a4db48dc4fdc0c7061e7 SHA512 3ad276dc89c7be26ed0e6c90eb1e8f951b0f6ecf163a6534071f63add887619444fdd8f05135a4e23c195773758320a4aede1683a7d0c4779696b60deef19e40 +EBUILD lld-19.0.0_pre20240322.ebuild 2293 BLAKE2B 18ee4d77344d5fd4ad0cab1d0a7d54d02edda3b3969dc9b5fbbb16af1296e4a65be293a0472911598c1cab3e23e45a115495fb1368b3a4db48dc4fdc0c7061e7 SHA512 3ad276dc89c7be26ed0e6c90eb1e8f951b0f6ecf163a6534071f63add887619444fdd8f05135a4e23c195773758320a4aede1683a7d0c4779696b60deef19e40 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/sys-devel/lld/lld-17.0.6.ebuild b/sys-devel/lld/lld-17.0.6.ebuild index 6b93f3ac17e8..33a9eb571205 100644 --- a/sys-devel/lld/lld-17.0.6.ebuild +++ b/sys-devel/lld/lld-17.0.6.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~arm64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86 ~arm64-macos" IUSE="debug test zstd" RESTRICT="!test? ( test )" diff --git a/sys-devel/lld/lld-19.0.0_pre20240322.ebuild b/sys-devel/lld/lld-19.0.0_pre20240322.ebuild new file mode 100644 index 000000000000..5440a5c89919 --- /dev/null +++ b/sys-devel/lld/lld-19.0.0_pre20240322.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake flag-o-matic llvm.org llvm-utils python-any-r1 toolchain-funcs + +DESCRIPTION="The LLVM linker (link editor)" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + ~sys-devel/llvm-${PV}[debug=,zstd=] + sys-libs/zlib:= + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} + !sys-devel/lld:0 +" +BDEPEND=" + sys-devel/llvm:${LLVM_MAJOR} + test? ( + $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + ) +" +PDEPEND=" + >=sys-devel/lld-toolchain-symlinks-16-r2:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o ) +llvm.org_set_globals + +python_check_deps() { + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_unpack() { + llvm.org_src_unpack + + # Directory ${WORKDIR}/llvm does not exist with USE="-test", + # but LLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" is set below, + # and ${LLVM_MAIN_SRC_DIR}/../libunwind/include is used by build system + # (lld/MachO/CMakeLists.txt) and is expected to be resolvable + # to existent directory ${WORKDIR}/libunwind/include. + mkdir -p "${WORKDIR}/llvm" || die +} + +src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + # ODR violations (https://github.com/llvm/llvm-project/issues/83529, bug #922353) + filter-lto + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DBUILD_SHARED_LIBS=ON + -DLLVM_INCLUDE_TESTS=$(usex test) + -DLLVM_ENABLE_ZLIB=FORCE_ON + -DLLVM_ENABLE_ZSTD=$(usex zstd FORCE_ON OFF) + ) + + use test && mycmakeargs+=( + -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" + -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" + ) + + tc-is-cross-compiler && mycmakeargs+=( + -DLLVM_TABLEGEN_EXE="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + ) + + cmake_src_configure +} + +src_test() { + local -x LIT_PRESERVES_TMP=1 + cmake_build check-lld +} diff --git a/sys-devel/llvm-common/Manifest b/sys-devel/llvm-common/Manifest index fb797e5f8a52..9c638be63c34 100644 --- a/sys-devel/llvm-common/Manifest +++ b/sys-devel/llvm-common/Manifest @@ -7,10 +7,12 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2 SHA512 a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390 SHA512 1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 BLAKE2B 855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82 SHA512 ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490 +DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 BLAKE2B abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0 SHA512 513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f EBUILD llvm-common-15.0.7.ebuild 1014 BLAKE2B da3b7ec6cd3c1e57758312fb9ea25e693305e1ef72b350eea85fbde5a1e636269d84bd491b6f528aee8a9cb8229f6304b371f99e6ac416c661c6519706b83b61 SHA512 68b9d672372fe71e39f2b8f9d80eb1dcb5138b8b9b961f56a4eeb81b3fc4054448a51a46b3a62547ebb6262425512f39bc146e5f2c3703de10ab520f1594e7a4 EBUILD llvm-common-16.0.6.ebuild 1034 BLAKE2B 1e0a0b6cbb746a7eb45e3f553bc949b69314afc3d913cda004d395e7b322c17f976496eed074cf08718dc2d9efa7f3db81dec4f38394fe6ea2b77793b74f4371 SHA512 8fbb211a6b05d24409642fcb00a4fb798499721cc30c4c5fa2df120ed74d9da7286916cf3788ea26f2cb21e334876417b05a4336fedff99e95d1ebe358f8b311 -EBUILD llvm-common-17.0.6.ebuild 1038 BLAKE2B 520c87adc7e5a3aab9b000c040610bb22da789fde0c20a9ee9042b3a2441a9403d82d1048144cb2e01e7215645872fbc7679ccc6e5d52d0258de3e595aed0d48 SHA512 9e8eae21e06bbe7179fbdbfe6eb7e77e9cc793c4f26605d2b96ca07b5e8e197e13fff8ce8d878d0b87375ba243bc08e48940b880f7602d145d16039515ec77a5 +EBUILD llvm-common-17.0.6.ebuild 1034 BLAKE2B 1e0a0b6cbb746a7eb45e3f553bc949b69314afc3d913cda004d395e7b322c17f976496eed074cf08718dc2d9efa7f3db81dec4f38394fe6ea2b77793b74f4371 SHA512 8fbb211a6b05d24409642fcb00a4fb798499721cc30c4c5fa2df120ed74d9da7286916cf3788ea26f2cb21e334876417b05a4336fedff99e95d1ebe358f8b311 EBUILD llvm-common-18.1.2.ebuild 1041 BLAKE2B 6fd0cd984783dffba5a2d72e77983646fbdcf8f87cb053a5fbf593c8d53faab420d63f820d5e9a08763f33a5514c2bcf3e10387a5d27fff8e6602a97259ecfb3 SHA512 67162ca5f0ff161b155d8eaa8550091debee142e2bb6498440438b3ea96803e5ac79f6aac00da1396ed0cc644a601ef5473cc688cdd43b12ccdb2ffaf1a50369 EBUILD llvm-common-19.0.0.9999.ebuild 925 BLAKE2B 18510f8adb0e892eb63bdbf8a6154f56e23ed026ee6f0bf05bbccbafea843beb228bf57e14b01525fb0b067fdfa897faadbfd61179844a7c397c7f1d3b6fca64 SHA512 0cff75fcbabf14ba1526201d65b79486aefaf559accf5bd479a3643c4351ac997f6d55b2323328fabc4009e887e1cfe70681df5593c62a5b5bbfffb8312ea22d EBUILD llvm-common-19.0.0_pre20240316.ebuild 925 BLAKE2B 18510f8adb0e892eb63bdbf8a6154f56e23ed026ee6f0bf05bbccbafea843beb228bf57e14b01525fb0b067fdfa897faadbfd61179844a7c397c7f1d3b6fca64 SHA512 0cff75fcbabf14ba1526201d65b79486aefaf559accf5bd479a3643c4351ac997f6d55b2323328fabc4009e887e1cfe70681df5593c62a5b5bbfffb8312ea22d +EBUILD llvm-common-19.0.0_pre20240322.ebuild 925 BLAKE2B 18510f8adb0e892eb63bdbf8a6154f56e23ed026ee6f0bf05bbccbafea843beb228bf57e14b01525fb0b067fdfa897faadbfd61179844a7c397c7f1d3b6fca64 SHA512 0cff75fcbabf14ba1526201d65b79486aefaf559accf5bd479a3643c4351ac997f6d55b2323328fabc4009e887e1cfe70681df5593c62a5b5bbfffb8312ea22d MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/sys-devel/llvm-common/llvm-common-17.0.6.ebuild b/sys-devel/llvm-common/llvm-common-17.0.6.ebuild index 7cc95d08de8a..ab2cb092abd1 100644 --- a/sys-devel/llvm-common/llvm-common-17.0.6.ebuild +++ b/sys-devel/llvm-common/llvm-common-17.0.6.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="emacs" RDEPEND=" diff --git a/sys-devel/llvm-common/llvm-common-19.0.0_pre20240322.ebuild b/sys-devel/llvm-common/llvm-common-19.0.0_pre20240322.ebuild new file mode 100644 index 000000000000..2d8f35a84179 --- /dev/null +++ b/sys-devel/llvm-common/llvm-common-19.0.0_pre20240322.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common llvm.org + +DESCRIPTION="Common files shared between multiple slots of LLVM" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="emacs" + +RDEPEND=" + !sys-devel/llvm:0 +" +BDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) +" + +LLVM_COMPONENTS=( llvm/utils ) +llvm.org_set_globals + +SITEFILE="50llvm-gentoo.el" +BYTECOMPFLAGS="-L emacs" + +src_compile() { + default + + use emacs && elisp-compile emacs/*.el +} + +src_install() { + insinto /usr/share/vim/vimfiles + doins -r vim/*/ + # some users may find it useful + newdoc vim/README README.vim + dodoc vim/vimrc + + if use emacs ; then + elisp-install llvm emacs/*.{el,elc} + elisp-make-site-file "${SITEFILE}" llvm + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sys-devel/llvm-toolchain-symlinks/Manifest b/sys-devel/llvm-toolchain-symlinks/Manifest index 93671c732617..bca48e52f47e 100644 --- a/sys-devel/llvm-toolchain-symlinks/Manifest +++ b/sys-devel/llvm-toolchain-symlinks/Manifest @@ -1,6 +1,6 @@ EBUILD llvm-toolchain-symlinks-15-r1.ebuild 1037 BLAKE2B a91128b9fb9ee30983645e1d8487e4734a355695e5628dc785fff79c4597a5fc70e2458e5b756e177c86015e078789dfb7960dca078577015b0f9ea4b8369a5c SHA512 0e8e60edd8c226b9c511842c934ac349e6ebe9f425b064cdfe4c582638bbe9b8c860f73964fb922fe5926876f84b9514999e686de48860621ed4541c8c2c5791 EBUILD llvm-toolchain-symlinks-16-r1.ebuild 1057 BLAKE2B 3d95e74859c18e2c1a12a8f154a5e3f9169534c59be41ae94686b9bbf2d45bec17c92510d6b5b566452583f00c2a3c55e53690a8f542cc5f18d58b2fde96ad30 SHA512 3f6299933d27c024765a9a0fabba33735e4e9468fdbc6568d6fcf3213c7496e3e306bfb6caf24e213614299c842ea50aa3f680a676f4f436f553b67cf3ee3b29 -EBUILD llvm-toolchain-symlinks-17.ebuild 1061 BLAKE2B d1d4da51e00f94fb76e9320b1c09f8ddbeb42a77594e1f90a2c16b9ccd1418a3d8ae55bc98783732760b39818d40b41efcbcf47df6cca15b8ebd0cccaaf577b4 SHA512 eb35daf6510a440b926c294b2517a66c5448afb7fdda962fc242c5ee039db9daa299b084d35fb2353fcb1ed6658c5453aed8fdc78a900f76566c28957c62265c +EBUILD llvm-toolchain-symlinks-17.ebuild 1057 BLAKE2B 3d95e74859c18e2c1a12a8f154a5e3f9169534c59be41ae94686b9bbf2d45bec17c92510d6b5b566452583f00c2a3c55e53690a8f542cc5f18d58b2fde96ad30 SHA512 3f6299933d27c024765a9a0fabba33735e4e9468fdbc6568d6fcf3213c7496e3e306bfb6caf24e213614299c842ea50aa3f680a676f4f436f553b67cf3ee3b29 EBUILD llvm-toolchain-symlinks-18.ebuild 1064 BLAKE2B cb22961706a141e86d5007d22caa3d5a6827528e9a0327e789a65ba20f525c85bf09da4c43d701f06f86c7d8a710d32234184a02efb2533385965b6c65fca2d1 SHA512 ea9db140e2b3624188bbf34997cfcc49ac53c6a72ef83555ed36897f3890ac61f93cc8e25526ddeb1f1bbcbd6951ad8aea7b3d5351ead20bb10f92af68ac3359 EBUILD llvm-toolchain-symlinks-19.ebuild 948 BLAKE2B 969a3785aa751670044ac1b37e0f6049916b0ff01833261266b330d530cf569249f11afdbac59fb9029970d65b7906a0ed2312aedca4cfdc1d1722a999fb85a4 SHA512 6cdba225e045f5c2ebbaa0a77603cb70ff89fcfb98b99c3568f8f794a876c716af3721bd81216298f88ada7392bc8fbb2ef92ad42acdfe96844c795e11e62e47 MISC metadata.xml 815 BLAKE2B 963f1b8425495144d04659d2d8cdabab910f15f9861634bf436a82ccb70b27682b44c47415ca6884956097e92294457d09b5c44e7a2f108c93abb79df8884aa7 SHA512 940a6c63c4c13a1c78c041c02df9bd3d2ac0f19eb552fcfb8134784386a2197956b1dd4950c760ca6ac9e8fb154eb550d59fc6ab1aea9c9236e7e005882d556a diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17.ebuild index ff384d98373f..c1c22114f553 100644 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17.ebuild +++ b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17.ebuild @@ -11,7 +11,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="multilib-symlinks +native-symlinks" RDEPEND=" diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest index e347a08738e2..2de69db08f78 100644 --- a/sys-devel/llvm/Manifest +++ b/sys-devel/llvm/Manifest @@ -14,10 +14,12 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2 SHA512 a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390 SHA512 1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 BLAKE2B 855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82 SHA512 ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490 +DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 BLAKE2B abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0 SHA512 513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f EBUILD llvm-15.0.7-r3.ebuild 12162 BLAKE2B 3e6a38608a1cb09871b4eb9588ca40c3d732d2f8a7e94de0ad0aa1275e21197a27ee8a1210cc2e33c26424da25c6935aafee04c442cdf2b43db4f0e6e3a32def SHA512 82d20e9caf679963e8394aa1b55f86989a795775de68298c297a1c2ed59b2c1e7271e18e834413210f3acc88cee3562fd8aec51e91f4ee3afdfc484469c3fc3d EBUILD llvm-16.0.6.ebuild 12467 BLAKE2B 081ca2fbadde59c6b288a9d6faad3fd0fdf13fe36efb8f175131664c64a74db28710c430e6b6aef9034d84ce8891dbf4468d2993668991ba0c2f34c72ebfecb8 SHA512 b9610f54e368e0d9f4842e0325210f610ae9ccf25b0ea9adf2f82b27077eb4253619a884e10e3805a9d00fb1c198b7a6e48900867204bc063aace70069049d60 -EBUILD llvm-17.0.6.ebuild 13118 BLAKE2B a2581eff59019ad026d64cb37a0ea71674ee5d44870e400fbe2f7c533696877fbcefa343efd990a6b5804816ea2f17bdddfa9da265bca6ae4ba73d4205b97d7b SHA512 594afae8db5cf5719ac410e35870020d219aa302ba78cd6e2afbaf40a1268abb91c6ab14afc3a0bf24e6103d90149564b2e9a202a5531255dbbced8ed2eba9ad +EBUILD llvm-17.0.6.ebuild 13114 BLAKE2B 79bd769b51c686a465104ebb544121b8487a16897ab59810c352abfca7e3af61ce60a76fce10651aff19c4f9b1b21346ee22348127e35ed9173170ecac393b83 SHA512 5b8d946fbe1241786dc22bb7f5909131421e50944396859a6dbf0920de6abd544045ac8f04bb33f59617a83abd40e23d42116276891a68b6f828f45d38978555 EBUILD llvm-18.1.2.ebuild 13174 BLAKE2B 82f9aa33675edf8d3f8c8628914ed22995ff9a49382b02d441c824e7c107334abc4d077b7f5d42ddd511662711c9d40eb80e0efc7b456747ba93f0f52c9ce384 SHA512 3aa1e60432a89a9e53ff6f20dca88aff76cf7e1120f508006983716ce369a48cdbdd26fd3518eac05fb3cf1f6bdb65f1aafc581bcb88cd5567203b6428ae1a76 EBUILD llvm-19.0.0.9999.ebuild 13059 BLAKE2B 5600d64d2102dfa36b656aeadca5139bf3d0b790d158c2338e13cd51540437fd6b43276b9375234947e9c3d6680c5df16bee511e1df58e3535608e66033e7046 SHA512 dae4e03c9b86e02b45d2c3f866c7784fc5d83455160efaf3cb2e95dd4bd60829be93cbc5fc88365abd37febaca1c079f311f504f17ab6ee5b57793239341b604 EBUILD llvm-19.0.0_pre20240316.ebuild 13059 BLAKE2B 5600d64d2102dfa36b656aeadca5139bf3d0b790d158c2338e13cd51540437fd6b43276b9375234947e9c3d6680c5df16bee511e1df58e3535608e66033e7046 SHA512 dae4e03c9b86e02b45d2c3f866c7784fc5d83455160efaf3cb2e95dd4bd60829be93cbc5fc88365abd37febaca1c079f311f504f17ab6ee5b57793239341b604 +EBUILD llvm-19.0.0_pre20240322.ebuild 13059 BLAKE2B 5600d64d2102dfa36b656aeadca5139bf3d0b790d158c2338e13cd51540437fd6b43276b9375234947e9c3d6680c5df16bee511e1df58e3535608e66033e7046 SHA512 dae4e03c9b86e02b45d2c3f866c7784fc5d83455160efaf3cb2e95dd4bd60829be93cbc5fc88365abd37febaca1c079f311f504f17ab6ee5b57793239341b604 MISC metadata.xml 2835 BLAKE2B 07816d714509d62c0e0a443cc4af1f1f049497de75431f80a981f662b4f2281a16655be3e733a26099d0d814d5ce26d80cee13aa7a4e8d079168846a8e02670f SHA512 292ccb0a05a0239b5b00c6a84be11b4b385900d6467a6a139af03588c61aff9ac0e4bbcd23e89b2a7d7947f7d8cf8ba9323f2539a6c563a338b73f5ac6ffd00f diff --git a/sys-devel/llvm/llvm-17.0.6.ebuild b/sys-devel/llvm/llvm-17.0.6.ebuild index bb3bd996f1e3..1bcff3456a9b 100644 --- a/sys-devel/llvm/llvm-17.0.6.ebuild +++ b/sys-devel/llvm/llvm-17.0.6.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" +binutils-plugin debug debuginfod doc exegesis libedit +libffi ncurses test xar xml z3 zstd diff --git a/sys-devel/llvm/llvm-19.0.0_pre20240322.ebuild b/sys-devel/llvm/llvm-19.0.0_pre20240322.ebuild new file mode 100644 index 000000000000..b4633658a186 --- /dev/null +++ b/sys-devel/llvm/llvm-19.0.0_pre20240322.ebuild @@ -0,0 +1,542 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake flag-o-matic llvm.org multilib-minimal pax-utils python-any-r1 +inherit toolchain-funcs + +DESCRIPTION="Low Level Virtual Machine" +HOMEPAGE="https://llvm.org/" + +# Additional licenses: +# 1. OpenBSD regex: Henry Spencer's license ('rc' in Gentoo) + BSD. +# 2. xxhash: BSD. +# 3. MD5 code: public-domain. +# 4. ConvertUTF.h: TODO. + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE=" + +binutils-plugin +debug debuginfod doc exegesis libedit +libffi + ncurses test xml z3 zstd +" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib:0=[${MULTILIB_USEDEP}] + debuginfod? ( + net-misc/curl:= + dev-cpp/cpp-httplib:= + ) + exegesis? ( dev-libs/libpfm:= ) + libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) + libffi? ( >=dev-libs/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) + ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) + z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + binutils-plugin? ( sys-libs/binutils-libs ) +" +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + sys-devel/gnuconfig + kernel_Darwin? ( + /dev/null || die + fi +} + +src_prepare() { + # disable use of SDK on OSX, bug #568758 + sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die + + # Update config.guess to support more systems + cp "${BROOT}/usr/share/gnuconfig/config.guess" cmake/ || die + + # Verify that the ebuild is up-to-date + check_uptodate + + llvm.org_src_prepare +} + +get_distribution_components() { + local sep=${1-;} + + local out=( + # shared libs + LLVM + LTO + Remarks + + # tools + llvm-config + + # common stuff + cmake-exports + llvm-headers + + # libraries needed for clang-tblgen + LLVMDemangle + LLVMSupport + LLVMTableGen + + # testing libraries + llvm_gtest + llvm_gtest_main + LLVMTestingAnnotations + LLVMTestingSupport + ) + + if multilib_is_native_abi; then + out+=( + # library used by lldb + LLVMDebuginfod + + # utilities + llvm-tblgen + FileCheck + llvm-PerfectShuffle + count + not + yaml-bench + UnicodeNameMappingGenerator + + # tools + bugpoint + dsymutil + llc + lli + lli-child-target + llvm-addr2line + llvm-ar + llvm-as + llvm-bcanalyzer + llvm-bitcode-strip + llvm-c-test + llvm-cat + llvm-cfi-verify + llvm-config + llvm-cov + llvm-cvtres + llvm-cxxdump + llvm-cxxfilt + llvm-cxxmap + llvm-debuginfo-analyzer + llvm-debuginfod-find + llvm-diff + llvm-dis + llvm-dlltool + llvm-dwarfdump + llvm-dwarfutil + llvm-dwp + llvm-exegesis + llvm-extract + llvm-gsymutil + llvm-ifs + llvm-install-name-tool + llvm-jitlink + llvm-jitlink-executor + llvm-lib + llvm-libtool-darwin + llvm-link + llvm-lipo + llvm-lto + llvm-lto2 + llvm-mc + llvm-mca + llvm-ml + llvm-modextract + llvm-mt + llvm-nm + llvm-objcopy + llvm-objdump + llvm-opt-report + llvm-otool + llvm-pdbutil + llvm-profdata + llvm-profgen + llvm-ranlib + llvm-rc + llvm-readelf + llvm-readobj + llvm-readtapi + llvm-reduce + llvm-remarkutil + llvm-rtdyld + llvm-sim + llvm-size + llvm-split + llvm-stress + llvm-strings + llvm-strip + llvm-symbolizer + llvm-tli-checker + llvm-undname + llvm-windres + llvm-xray + obj2yaml + opt + sancov + sanstats + split-file + verify-uselistorder + yaml2obj + + # python modules + opt-viewer + ) + + if llvm_are_manpages_built; then + out+=( + # manpages + docs-dsymutil-man + docs-llvm-dwarfdump-man + docs-llvm-man + ) + fi + use doc && out+=( + docs-llvm-html + ) + + use binutils-plugin && out+=( + LLVMgold + ) + use debuginfod && out+=( + llvm-debuginfod + ) + fi + + printf "%s${sep}" "${out[@]}" +} + +multilib_src_configure() { + # ODR violations (bug #917536, bug #926529). Just do it for GCC for now + # to avoid people grumbling. GCC is, anecdotally, more likely to miscompile + # LLVM with LTO anyway (which is not necessarily its fault). + tc-is-gcc && filter-lto + + local ffi_cflags ffi_ldflags + if use libffi; then + ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) + ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi) + fi + + local libdir=$(get_libdir) + local mycmakeargs=( + # disable appending VCS revision to the version to improve + # direct cache hit ratio + -DLLVM_APPEND_VC_REV=OFF + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + + -DBUILD_SHARED_LIBS=OFF + -DLLVM_BUILD_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_DISTRIBUTION_COMPONENTS=$(get_distribution_components) + + # cheap hack: LLVM combines both anyway, and the only difference + # is that the former list is explicitly verified at cmake time + -DLLVM_TARGETS_TO_BUILD="" + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + -DLLVM_INCLUDE_BENCHMARKS=OFF + -DLLVM_INCLUDE_TESTS=ON + -DLLVM_BUILD_TESTS=$(usex test) + -DLLVM_INSTALL_GTEST=ON + + -DLLVM_ENABLE_FFI=$(usex libffi) + -DLLVM_ENABLE_LIBEDIT=$(usex libedit) + -DLLVM_ENABLE_TERMINFO=$(usex ncurses) + -DLLVM_ENABLE_LIBXML2=$(usex xml) + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DLLVM_ENABLE_LIBPFM=$(usex exegesis) + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + -DLLVM_ENABLE_Z3_SOLVER=$(usex z3) + -DLLVM_ENABLE_ZLIB=FORCE_ON + -DLLVM_ENABLE_ZSTD=$(usex zstd FORCE_ON OFF) + -DLLVM_ENABLE_CURL=$(usex debuginfod) + -DLLVM_ENABLE_HTTPLIB=$(usex debuginfod) + + -DLLVM_HOST_TRIPLE="${CHOST}" + + -DFFI_INCLUDE_DIR="${ffi_cflags#-I}" + -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}" + + -DPython3_EXECUTABLE="${PYTHON}" + + # disable OCaml bindings (now in dev-ml/llvm-ocaml) + -DOCAMLFIND=NO + ) + + local suffix= + if [[ -n ${EGIT_VERSION} && ${EGIT_BRANCH} != release/* ]]; then + # the ABI of the main branch is not stable, so let's include + # the commit id in the SOVERSION to contain the breakage + suffix+="git${EGIT_VERSION::8}" + fi + if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then + # Smart hack: alter version suffix -> SOVERSION when linking + # against libc++. This way we won't end up mixing LLVM libc++ + # libraries with libstdc++ clang, and the other way around. + suffix+="+libcxx" + mycmakeargs+=( + -DLLVM_ENABLE_LIBCXX=ON + ) + fi + mycmakeargs+=( + -DLLVM_VERSION_SUFFIX="${suffix}" + ) + + use test && mycmakeargs+=( + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + if multilib_is_native_abi; then + local build_docs=OFF + if llvm_are_manpages_built; then + build_docs=ON + mycmakeargs+=( + -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + -DLLVM_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html" + -DSPHINX_WARNINGS_AS_ERRORS=OFF + ) + fi + + mycmakeargs+=( + -DLLVM_BUILD_DOCS=${build_docs} + -DLLVM_ENABLE_OCAMLDOC=OFF + -DLLVM_ENABLE_SPHINX=${build_docs} + -DLLVM_ENABLE_DOXYGEN=OFF + -DLLVM_INSTALL_UTILS=ON + ) + use binutils-plugin && mycmakeargs+=( + -DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include + ) + fi + + use kernel_Darwin && mycmakeargs+=( + # On Macos prefix, Gentoo doesn't split sys-libs/ncurses to libtinfo and + # libncurses, but llvm tries to use libtinfo before libncurses, and ends up + # using libtinfo (actually, libncurses.dylib) from system instead of prefix + -DTerminfo_LIBRARIES=-lncurses + # Use our libtool instead of looking it up with xcrun + -DCMAKE_LIBTOOL="${EPREFIX}/usr/bin/${CHOST}-libtool" + ) + + # LLVM can have very high memory consumption while linking, + # exhausting the limit on 32-bit linker executable + use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + cmake_src_configure + + grep -q -E "^CMAKE_PROJECT_VERSION_MAJOR(:.*)?=${LLVM_MAJOR}$" \ + CMakeCache.txt || + die "Incorrect version, did you update _LLVM_MAIN_MAJOR?" + multilib_is_native_abi && check_distribution_components +} + +multilib_src_compile() { + tc-env_build cmake_build distribution + + pax-mark m "${BUILD_DIR}"/bin/llvm-rtdyld + pax-mark m "${BUILD_DIR}"/bin/lli + pax-mark m "${BUILD_DIR}"/bin/lli-child-target + + if use test; then + pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/Orc/OrcJITTests + pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/MCJIT/MCJITTests + pax-mark m "${BUILD_DIR}"/unittests/Support/SupportTests + fi +} + +multilib_src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + cmake_build check +} + +src_install() { + local MULTILIB_CHOST_TOOLS=( + /usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-config + ) + + local MULTILIB_WRAPPED_HEADERS=( + /usr/include/llvm/Config/llvm-config.h + ) + + local LLVM_LDPATHS=() + multilib-minimal_src_install + + # move wrapped headers back + mv "${ED}"/usr/include "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include || die +} + +multilib_src_install() { + DESTDIR=${D} cmake_build install-distribution + + # move headers to /usr/include for wrapping + rm -rf "${ED}"/usr/include || die + mv "${ED}"/usr/lib/llvm/${LLVM_MAJOR}/include "${ED}"/usr/include || die + + LLVM_LDPATHS+=( "${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)" ) +} + +multilib_src_install_all() { + local revord=$(( 9999 - ${LLVM_MAJOR} )) + newenvd - "60llvm-${revord}" <<-_EOF_ + PATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin" + # we need to duplicate it in ROOTPATH for Portage to respect... + ROOTPATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/bin" + MANPATH="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" + LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )" + _EOF_ + + docompress "/usr/lib/llvm/${LLVM_MAJOR}/share/man" + llvm_install_manpages +} + +pkg_postinst() { + elog "You can find additional opt-viewer utility scripts in:" + elog " ${EROOT}/usr/lib/llvm/${LLVM_MAJOR}/share/opt-viewer" + elog "To use these scripts, you will need Python along with the following" + elog "packages:" + elog " dev-python/pygments (for opt-viewer)" + elog " dev-python/pyyaml (for all of them)" +} diff --git a/sys-devel/llvmgold/Manifest b/sys-devel/llvmgold/Manifest index a9172cdcf5e0..8b4d225b46eb 100644 --- a/sys-devel/llvmgold/Manifest +++ b/sys-devel/llvmgold/Manifest @@ -1,6 +1,6 @@ EBUILD llvmgold-15.ebuild 576 BLAKE2B c9493f322fa0e387411df160c28078a514510e684f01c415a035c93868dd5a16ae718f10af0debe2e1a4112ea0864890a81a89ebf3fefc55ffdc89adc743524f SHA512 7cdb73379b9f6db22abde1f01043e28b8bfd797f3123f77d31ab3166e2c8d72747aad0963e8f6a41a0a01a19ea29eb468d869b5dbc7a35eb016a4a89c57715c3 EBUILD llvmgold-16.ebuild 583 BLAKE2B b4c4b79a88e671db744f646cf645788aadbf1a76c86ce3f2d76bb850a5cedb21b0ed92feb1f647188176a6d218adf0b3d0f21da16390188cf91ade0a495fb32e SHA512 39d956efdd7685b0b99e274badd0a42b2a088eb9d8d065670743c93cb24ad617bc1e7f6e92112e67f00393c1d68fe1397b36222546b24ecc58be2eb11d47bd21 -EBUILD llvmgold-17.ebuild 586 BLAKE2B a3de135bc79ae94d8bef64f9cc6514c21ad4d4503e3e19b0a8d52baacb376221b36bf27becd6fe273686b7866c618fdba402f5c51eb9e72c75c25b66c147af76 SHA512 5820c9481a68639c94031902e44696b3c990de33ef99061e5e7f80348d9ff1a9a01c133eb9d11c36f4eb74e508fbf994e7bc38fab7a8bf51ab6e13a23716edc9 +EBUILD llvmgold-17.ebuild 583 BLAKE2B ef13dbfa0436488cdd3c19605d9bea4c2a2809697ef2afc7bf42e746d5a606db14f970136f5ad003b19b14af56e41e9f1102db8221784a433aa1a5d699f43deb SHA512 35f0d5a652ef54b5ebea6d3b9965eae0216a46b5d00d88d97b67d2fc2d3f0d2a2930b62b9058354a7fa983c3831c2e5c87732a92a33ee612e6753621a09db183 EBUILD llvmgold-18.ebuild 589 BLAKE2B 74c9c60efaadb0379a5ec2bd1b031d8def6e67e779e15e2e09ff469dd8b0c5331aedf1d242b3748a71bfcd0c798136b5f6badf735e99f20eac7cb7b354901274 SHA512 99022ed0cec754d6d7776a5cf9e1d3e67e854e40a3d34076d86d597a3bd201ba40073ba2e0191facd208f59caa3ad04a652b8ac5e4c08574ab990bcdd8c3d539 EBUILD llvmgold-19.ebuild 508 BLAKE2B 7d5b7e88512381f3a9a7e3ef019b706f6ba00d71e1a69e4f83face525864611602dad8e8c4765b25553647fe02223fcecec91cb6282e16b8d375473cb59a25ef SHA512 f51985a55f4c3b9909c3cdce098bac4f7ff6a29cbf09fd55d1684a00cb7733af904140e9cc2196bea60df1c8f3bfee5579d2f170e902eefeb7380bd9f6a0c955 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/sys-devel/llvmgold/llvmgold-17.ebuild b/sys-devel/llvmgold/llvmgold-17.ebuild index d766785e996c..ad52f2c99dcd 100644 --- a/sys-devel/llvmgold/llvmgold-17.ebuild +++ b/sys-devel/llvmgold/llvmgold-17.ebuild @@ -9,7 +9,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv sparc x86 ~amd64-linux" RDEPEND=" sys-devel/llvm:${PV}[binutils-plugin] -- cgit v1.2.3