diff options
Diffstat (limited to 'sys-devel')
49 files changed, 1155 insertions, 797 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex 779cfe198705..3287a6526db7 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest index 32aa61faa3e8..478085d6fdcc 100644 --- a/sys-devel/binutils/Manifest +++ b/sys-devel/binutils/Manifest @@ -47,6 +47,6 @@ EBUILD binutils-2.42-r2.ebuild 15820 BLAKE2B 87a25289661a96d90dfd5df0bb68151b75c EBUILD binutils-2.43-r2.ebuild 15915 BLAKE2B 8c51957a6b971cbc75764aa2dd73aa45670fc49316e7a456e9439d199079334a949db0386b3815fe7f6b0a447eef02ecb9ad8a4f429c2cc1fee45316e4cd233e SHA512 2849b6773fa748de176badfd8b98e55005b97e53422f6efcf512e15fdb9c80ffb984c035ea92f0210eae873447de04a5807af45ea64adea1b88535d04e4594a0 EBUILD binutils-2.43.9999.ebuild 16246 BLAKE2B 9a3e64ad92ba503c3a67940f7b518bc0d982b4df6d207850b8267c98ef183f6b0adca7ff4e54f288ba2bad903d3306a37b83446e3576954d552e0b0d68ed618c SHA512 6d030df61ffde1c05b61f218e05781688ca7a1c6775a710ae4b0b210774cf9d472d498ae5254cc0d41d2e0817b8ad42bde6da0596c805f9868bab0c3e9998817 EBUILD binutils-2.44.9999.ebuild 16473 BLAKE2B e44aa5b5c2f3ad3b5fe3d419bfb209dd4e83b6de1461c8d88f8d5157dfeb2d069c5b0ebe9fc321eb0355493b29922e7f2116233e5e32a0f2c38291bace077e14 SHA512 c63ff86772fccd9ca76a228a21875740cb0ba9be6ad3b7f3d08df0b6ba5ac0a1da620deb0eb1cf2e840c16c91bb8b9e0159ffdcb248c11a2a1ebe9ea78ab80ce -EBUILD binutils-2.44.ebuild 16465 BLAKE2B 9edd1d31c2e0b2204a01bbcdeda333d50ea4eee6a4de8ba48ac854ee818aa8d271ce304cb608580fcaeef2ce591f58bfc54c8c3bbf35b0d44b150fb32ec9ee44 SHA512 4a6a3114e7b3e0761ff9bd9c76e07814b333195b20dc1bcf2a8dc16881fa646881ffbb2ec7368db539982e66e69021653f52ecb9b9414bb2449d57e90a1eeb9d +EBUILD binutils-2.44.ebuild 16464 BLAKE2B 6eba74681c65dbc25cad46b2fcc6c5690d2b245950a9741552d4cd32c35922286c7d574dc1da502bc23c5ac06d76f112aa46a78efc620c95217eef171c58f2c8 SHA512 ef298d12582fa7baa9d484b676dc48035e64c636a0d513d4a68b1c4854dde23d2c340c05cd28e675d28d2c787aa9c958a3623d48e02e661229f3b204bbe5b055 EBUILD binutils-9999.ebuild 16381 BLAKE2B eedac67ae186fb6448923e1eb8b15b518cd132e7523a1083ccab0c62c4102194548d472edac5389c1d35f05db797d9cc8fe9bc7a3e6e5e7e25266935aad69159 SHA512 8833620bc5aeec19c6006df32c333a69bfcd259e5671499997831d8df396c22ee31c1a451ef4965b9133c58a823e54be84bbdea20d485cd7669046752d390ffd MISC metadata.xml 1081 BLAKE2B 84552999d26b3fa492cd1fd9116339229bb88b0132c083355800c65df993650f23cdff42d232a150d36fc9b21b63001198fda9e39bac26459556a04002542069 SHA512 5be692843451ee199cae8e5aae10232de600ef8158190ff067818cc90884aaf7712c1f72941a6c64d19565d39a59190b8eeb770e6d123283b35385f23fc2f93d diff --git a/sys-devel/binutils/binutils-2.44.ebuild b/sys-devel/binutils/binutils-2.44.ebuild index d8629b626de8..074cb1c9bb19 100644 --- a/sys-devel/binutils/binutils-2.44.ebuild +++ b/sys-devel/binutils/binutils-2.44.ebuild @@ -35,7 +35,7 @@ else [[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI} https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" SLOT=$(ver_cut 1-2) - KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi # diff --git a/sys-devel/dwz/Manifest b/sys-devel/dwz/Manifest index aaad539d9f46..a37c36522578 100644 --- a/sys-devel/dwz/Manifest +++ b/sys-devel/dwz/Manifest @@ -1,7 +1,6 @@ AUX dwz-0.15-gdb-15.patch 13050 BLAKE2B 9f00c3dc0b8e8f4f64da11e41d52afe611c38ba68d4273a8fc898e090b8c02882749c1e34f4754b140702fa24e52b6d0224f7dfd39c74cacf09dabe91ef1d605 SHA512 3291a800ae771244dface7b0180d067e484c5ebbcc2082c3fd2264fe1e76147793d6ffb64827b533eb3598f27ab5c07cd307a48d538c8de018b62362f4cbfa61 AUX dwz-0.15-readelf.patch 1464 BLAKE2B c8a3752b116f7e79bef4e477e655ee3b490f83013f57c2eaab3890b62f7981df9adb1d2d23ca7789e6c019c04ed541bb42c280c806b98738ab1423317be60b77 SHA512 c8f1fc676008d97ba1e011192a1238f67f52b44617ee6e4aea3579b97dd55fb6a5cd264ff212e55767d48e2731641f8c17339a3c964fcfcec1b86e425524c055 DIST dwz-0.15.tar.xz 150080 BLAKE2B 4ce1722a53cb588cda8195211a26b28d69891ed32cc59e44897270298d033590c79c8c73168dc3b261cb017fc12874a9cbd50db3bfaa0aa7de8ed7cf8a588cca SHA512 43eb4b08c1f529859dc3466697d5ad7e172d6efbf21409530a67a2492ae4acc3734d5134bbd6e07c089ecc358d915871b13e22f6e4f1dd4c3af19ef804f8fcc5 -EBUILD dwz-0.15-r1.ebuild 1024 BLAKE2B b184f8872b3b1b9edadacabd12fc503ef08d1c4cb44a189a95cbabb29a9bd4effa0ac4d9ebc74baae0ffdeb53f6dadfa7db849f623e741d9a405ac9e3d66eb1d SHA512 6d52170c348aaa928cf44cca1404d97943e48484f9f9d18e32533847db67f6733f9c5f3058c37af0f841724254d307bf05039f9e8879da25307604db3fe6c40e EBUILD dwz-0.15-r4.ebuild 1573 BLAKE2B 4d52200df3b5ec8e4724b4f27ff1892bcb59f90dabaf8abea3abdada6494fbc11b8283b718256a37cc61ac24fca4ac3e94356c03e6787be5c9c073026198bc19 SHA512 f07171dca6c0c3094d137e785dd36eb7a79d4ebf12a549ff5746bf7db1b80d3e8fdf35756b12e6b3886192c7b914fa992764b66b19aeb57355e2eaf185b0cf6e -EBUILD dwz-9999.ebuild 1038 BLAKE2B 942aa7a71de42218ab7a734a0c4b62e82e36045f37ccdef1bbb87f6948c72c0cd7fe9775d3a53e1a331cce07ef08e2c715bc48093e9d68b248263c5eea5dbeb4 SHA512 466762c125ed44a7c764f7f0907798541c8cbab8e2df2494cd08101c2085691fc1db269ac0122cb7024436a55dc314d68303d443c8d624020274dbd4d048ac72 +EBUILD dwz-9999.ebuild 1438 BLAKE2B f68542887327af8386d55396f4307ca3b6a681224e45960cfc57b41c697cbedc2cce67b6a513c188e8205c4931e357fdfad2c1ac4ac2880b084c8287e5e3bdcd SHA512 9c8bb8b7de5ea4f779f52489755272d867312cdf344f1004fa92c5266ecef7cb48a79def8eab288dfa49e19e1f6725570758856691e90a65a6aaa48cf3f66e91 MISC metadata.xml 812 BLAKE2B abd6e645ab8cf502bfb6b90cd5712ff43d22a4e17ed7a2025bfbb16407a907b6b482497ce060ffb55b250a441fcbc495a37cb540b9d1152ed42dbdbbb4b074ca SHA512 7dea9a490d130dc0a03291b01000f38b880be517c13d762a6b6ac82e7313375c0dc5c0506ead51dd6789e72ffc612ade73e734456bfa8696777ede3f90dd6394 diff --git a/sys-devel/dwz/dwz-0.15-r1.ebuild b/sys-devel/dwz/dwz-0.15-r1.ebuild deleted file mode 100644 index 93355724c9f4..000000000000 --- a/sys-devel/dwz/dwz-0.15-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="DWARF optimization and duplicate removal tool" -HOMEPAGE="https://sourceware.org/dwz" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://sourceware.org/git/dwz.git" - inherit git-r3 -else - SRC_URI="https://sourceware.org/ftp/dwz/releases/${P}.tar.xz" - S="${WORKDIR}/${PN}" - - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86" -fi - -LICENSE="GPL-2+ GPL-3+" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/elfutils - dev-libs/xxhash -" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( - dev-debug/gdb - dev-libs/elfutils[utils] - dev-util/dejagnu - ) -" - -src_prepare() { - default - tc-export CC -} - -src_compile() { - export LANG=C LC_ALL=C # grep find nothing for non-ascii locales - - emake CFLAGS="${CFLAGS}" srcdir="${S}" -} - -src_test() { - emake CFLAGS="${CFLAGS}" srcdir="${S}" check -} - -src_install() { - emake DESTDIR="${D}" CFLAGS="${CFLAGS}" srcdir="${S}" install -} diff --git a/sys-devel/dwz/dwz-9999.ebuild b/sys-devel/dwz/dwz-9999.ebuild index 7692569e9bca..2087550f34b4 100644 --- a/sys-devel/dwz/dwz-9999.ebuild +++ b/sys-devel/dwz/dwz-9999.ebuild @@ -14,7 +14,7 @@ else SRC_URI="https://sourceware.org/ftp/dwz/releases/${P}.tar.xz" S="${WORKDIR}/${PN}" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi LICENSE="GPL-2+ GPL-3+" @@ -25,6 +25,10 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-libs/elfutils dev-libs/xxhash + elibc_musl? ( + >=sys-libs/error-standalone-2.0 + sys-libs/obstack-standalone + ) " DEPEND="${RDEPEND}" BDEPEND=" @@ -33,6 +37,7 @@ BDEPEND=" dev-libs/elfutils[utils] dev-util/dejagnu ) + virtual/pkgconfig " src_prepare() { @@ -43,13 +48,21 @@ src_prepare() { src_compile() { export LANG=C LC_ALL=C # grep find nothing for non-ascii locales - emake CFLAGS="${CFLAGS}" srcdir="${S}" + tc-export PKG_CONFIG + + export LIBS="-lelf" + if use elibc_musl; then + export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags obstack-standalone error-standalone)" + export LIBS="${LIBS} $(${PKG_CONFIG} --libs obstack-standalone error-standalone)" + fi + + emake CFLAGS="${CFLAGS}" LIBS="${LIBS}" srcdir="${S}" } src_test() { - emake CFLAGS="${CFLAGS}" srcdir="${S}" check + emake CFLAGS="${CFLAGS}" LIBS="${LIBS}" srcdir="${S}" check } src_install() { - emake DESTDIR="${D}" CFLAGS="${CFLAGS}" srcdir="${S}" install + emake DESTDIR="${D}" CFLAGS="${CFLAGS}" LIBS="${LIBS}" srcdir="${S}" install } diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index fb55b92e7908..c1864e9ce5b1 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -1,8 +1,8 @@ AUX gcc-13-fix-cross-fixincludes.patch 883 BLAKE2B 1ae33195320754c55f42e1206bcfdf98914af5190df5939a4c7b072a2bc25216c354ea5d76f5171e1b8a150ca7764bdf57cea1bc137c237a5e8bb44713885f1b SHA512 ca9625001f0a10826d75691fdba35ca5783ed2f80e605b935785f8dc7591b0e650dca28bf1fc7e688e27547dddc7ab38232459b4f1865ed10a148978d0e09703 AUX gcc-14.2.1_p20241221-arm-Revert-arm-MVE-intrinsics-Fix-support-for-predicate-.patch 5160 BLAKE2B f229bc58851d348a67d636d65878166479f2eb735dddc6368e21c2cc5b1c2b8660b1c87024c1637a25a9acf609662823337307f21fe9a51fe9cbfc6fdcbb0a16 SHA512 c62e991b826cee7258abfa3f1305fc33b8b0e0dce2aaa1ae5a753b547126d9dde6632894eb72e46c6c78c9777029a7593a4f9afbb6a3ac6d831c63ea0c19decd -AUX gcc-15.0.1_pre20250223-c-Fix-range-for-with-PMFs-PR118923.patch 7059 BLAKE2B 20118efd091888c495b25a1fc9372931a328336fe94fd43c084419557c44b054859ff98283e66cc59d633a3402c9b7260fe84344502c3e5a42f234cd51afaf5f SHA512 1b19210be96e337abf1cd2cc6879f7e418aadaa098314013b80c0adf767ad9bb7923aee72bca25d148482f1779550bf70f280adeac1538963fb8ded51365c172 -AUX gcc-15.0.1_pre20250302-firefox-ice.patch 3245 BLAKE2B 10d80ae54ca2dc82d1fa16db1bd49339aae3477ecf812ba6015396c1a23a85c47426ebed7dcc3e9bd4296917ab082e92cfc5ae1e28f4a98ce9065c4aefdb0aea SHA512 6d7d6385bb6bb6303d4f863f4ae9729d719bc46caa88025bda1e5798875688357f3446374c7e0fbd7225ce2eae70cb1ce177252ba4a20dfa18dcf20b0e3c7e85 -AUX gcc-15.0.1_pre20250302-firefox-pgo-ice.patch 1993 BLAKE2B ea3be0d39bb52f49f96f541205676438182ebb1aaee96aa34c145ea1a301adf3f6f38902910cc8d36daff64a9d1c1462ecd881cdee703e7a50a64b000377cbd6 SHA512 552199c7f1f8d27644b0a4b0efbb24bb57c30405ce4d9d461beb5d3a7b3ef186d5fa5e8fd8a6559c0c965ecc2d8318d33a3c657b0dd66694b6e0fbd866da6ca3 +AUX gcc-15.0.1_pre20250323-disable-musttail.patch 7995 BLAKE2B b147d64f1757c6ddf17963cc62bc0304cf344ae3e42b26ca0ff8a04f447355057ce5906107b946aa40848c72957f92637aaed0276a8decd715c48e6b3fbb5b0c SHA512 2d1af2c1ce6bf0801665cb1014a01bd43cbbcf174e196c6f2f47a4bdcbf5a36e2aa8ff1ec52574a2dc9395404a98d3efbbd4d88fb3ecb5f9a44a562d8e6552a1 +AUX gcc-15.0.1_pre20250323-e2fsprogs.patch 4467 BLAKE2B 80ced89c0ea4d44ed5bac8adcdeb985ea1ea2ae46e269beb8dd7a825207cf52dc3f0e49724d54681f8a787d9c103ff806c88f941b073160a2674f8aafed2f21e SHA512 42382c7e5b1fc527ca4f30c9507edbe966d06a47b281299adebbf1bc2c97ef8bffe46aae75a227eb50506e76685b34ead2a0e8cf531e9ea1199e77cb2e4b398b +AUX gcc-15.0.1_pre20250330-lifetime-extension.patch 5800 BLAKE2B 9893082839344508114800872c17ac5982c77591db0949c6315d0db8c51fc80e30d354c7e5d886aee29ba7207df942b3a9c1378361c42be769d788a6eec94fd6 SHA512 284bc62c97cd30a1355df639d40043bf08911807fbbc4122501347998bbd0f4b826e85f6a9719acc3ed7712c0fe2560355b07f436c5686008c4208dd78a72f71 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 @@ -12,59 +12,66 @@ DIST gcc-11.5.0-patches-1.tar.xz 13664 BLAKE2B 64fd9c2d074aca58ecd8c0035ccf2d2b8 DIST gcc-11.5.0.tar.xz 82399864 BLAKE2B f4a61faad32aac9e9cb553c1a1a011df0a057f6e2cac92a13cc7e285d08191dd4a117f41a8faac2359c0e2a16f954c7fef354dda9df8c63bff1c5cefda82602c SHA512 88f17d5a5e69eeb53aaf0a9bc9daab1c4e501d145b388c5485ebeb2cc36178fbb2d3e49ebef4a8c007a05e88471a06b97cf9b08870478249f77fbfa3d4abd9a8 DIST gcc-12-20241219.tar.xz 79920016 BLAKE2B 71044352515f33eaf0bcc64cc6eacdecb8b7b1dbca6d8836b629f76e60320f5090178ff37b6804fbda0913c0f55afca37588647974fd72e9961edd338ccf6ffb SHA512 e0c08366f392083feb1ae242242e9bd335681234808ed44d4e75afe157be2814bef321d2327186d217f38bbb6176706e1258228904d31fdb3bb37c8e245dacb0 DIST gcc-12-20250227.tar.xz 79915940 BLAKE2B 0adb19847cb3f317316549f657434654b9923806366a4b95e496effea9c07995b7d3de65c40cc2f62ba1e87cfb0f8cd8a1a833284042fdc5e6fce2bd7e7e9543 SHA512 d01cad1771762f5b56c783d6a3b39415be1c7619229b5ff056fe40ef0bf821c67a2d1a2272c2227a44f92825582579625352d19e2342d11f76a079556dae0ae8 -DIST gcc-12-20250306.tar.xz 79914120 BLAKE2B 52744beac63301b3e0f2564efc82384f6452cd05bb2543f3c421d14fdfc4eed107d25d24183e9d7045d33f1e9f14741b8cb8580bb0c7e8cda8b3e5b4dd5e0d4e SHA512 585aeab071fda880a6ad5c9e0e766164683faf4e84ad63764ad7dc0420fe5e355452338234f76f6f2cb2b25f4b39b059658323f53594c2c7da3db6631c69a14c -DIST gcc-12-20250313.tar.xz 79917528 BLAKE2B 2ce76d12f0d90d5728df2e14ece3c13e781005eac43dd10357602efc1dd3a9c939fee7640c1baae643df88354905bdbcd314d6bb7c7f384df9148074d8448afc SHA512 465a9923c8ebef98cf4590096afd44468993116cf38ba1e5bbbc70dfb57ec1716ad55a544dc12444011663dc8cd3c9a7c19326d69dfcea181d07783a0aceb73f +DIST gcc-12-20250320.tar.xz 79921688 BLAKE2B cafdd710d1bf04083f8db4cce873667caded67961b701760f95e95f76ad98924582b51752061fe404e2e7f6dbab4215e0fe5c4436826ac320d9bd224ae7a061c SHA512 1dc331f1a942c4a10ae56fc234bcc37c72dd720df1cb9e1aa1802092307378abffd83b887b718a8f8d11c16296c0a7aa53011a7358aea86c8e60522d8f50e76d +DIST gcc-12-20250327.tar.xz 79923680 BLAKE2B 7bbe5a736f42ad9e04740b6c8adcb06ae8bd405e32b4f45897c76c15eb24428a55827f2ba715456c48a906d02693b42b280f8b73e61926d05c4c99316de4a4b3 SHA512 8cf3aced94a42635b68f7a0f57e831d09718d1674272ee9134c1419a81a2b6f7d056f156ff3b0c5565c098eb62334d318a1320a268e6713a3c64ac59c5ad910a +DIST gcc-12-20250403.tar.xz 79905284 BLAKE2B 768f10e1dd000f0f409552ad73198df6eb9c8f7f5950b9e0995700e76a71dfc7732d2ae176807f1410d48191bc457bca895bc3142ba8166c3225b264e204c2bc SHA512 c2df1232658a7a58def2ebdb991f09487b5badf8ab1fbd265308fabf54e329acd7307971861ac143271fef5a6ce93791ea4278faad7e960419072abe5f4a9984 DIST gcc-12.4.0-musl-patches-1.tar.xz 3068 BLAKE2B e5e39c24934072ea89e4467d0dc5196f3dadfb5ffba0c856d051648a2fbf57d434a57e95227cdf2b8cea45f0f5555aec2bc372d2f6cb0b69efd87831d248d364 SHA512 b9db204845a25be043d76cae826d42eebeeb4f9be7c3049af6fe7601a552bedfd24731156a6a36b4b5e2e2af656a589a5c556d2b0b3ded33ba290a773ee87c62 DIST gcc-12.4.0-patches-1.tar.xz 15576 BLAKE2B 98c29888de7701b365be7ac9062f0cee3340d58c85485e26f0d02f1483ec64cc9c10651488a4fd937551afe30f4e19777e6766871a724ae3ba6c290c16f4fdf1 SHA512 3f7c5d36e56e07ea9dd143a5d13342a6c1ccbf0643abd1c0bcbfb46bb7c7b1308aef6e3e882031c9c191610f01af906b19be5aa2b139cf617614f46e97463aec DIST gcc-12.4.0-patches-2.tar.xz 14876 BLAKE2B 6bf5abbb2abba4b9fe9fa153ac4112fe5f563e97cd4e1b885ccd0d88abf1124fa91f20d6be972e2242410447be73bca60014785f8551b8087ed0d4cc3e868225 SHA512 dfd5f02d4c1076fad4ee998b2f620171dd3eb65a1160312def9dae89b18327a06db853f569e0e3c049e5ab06c61488bb6faecec52bafe737fddeb43628c54a1f +DIST gcc-12.4.0-patches-3.tar.xz 14140 BLAKE2B cc73805b2c1f9f6a8d96b2a31d79ce0034ebc3ef1976e78e8ec4f2649c33cef48acee943773de5e03b891128f37e4d72c07d7f4c0bd6d473e484a4b6a9df9f25 SHA512 a93c6bc7d2bd1d7b80bfc6b16c042ac6d3cb6e15cada16041baa48b8023d857b4a1557f4620c46646136daece6566655523010366411aa9fad671398efb03b6f DIST gcc-12.4.0.tar.xz 83377372 BLAKE2B 0d5aa9995bf53fa2dc976a846240cfb8fafd125ad6c54f45dc9d770215eae3e9ea0db82a9a4f79c51b4d5f8461a1d730c17db6841bc31bd96dba11d9ed7544ae SHA512 5bd29402cad2deb5d9388d0236c7146414d77e5b8d5f1c6c941c7a1f47691c3389f08656d5f6e8e2d6717bf2c81f018d326f632fb468f42925b40bd217fc4853 DIST gcc-13-20241220.tar.xz 84504500 BLAKE2B 60d6dcdcafa36399a0c0de7fef3a4eb4ca8e0b6780cd31c9eace2965c53115205bf64e8247b833a4375c1e3ad2d94820b5bdc97a4689be95d8ab55a676afa689 SHA512 10fe009dc3b8872b24350e4fb999f71b848bd5a03e48e8292f76e6eca3dbdef8383a3b13b813aada983ebdbe3ecab1642961b3210cd1e0063a86655a44493017 DIST gcc-13-20250301.tar.xz 84525780 BLAKE2B c366f4de63b7956abb1bf2d1039acdf90c7a801adbb2793e4c199b0f743d143327aac9c2b078991f802da758ed4326dd913d9f60aec4fc471eff9af72f781a8e SHA512 075bfb3c5aeaf1c9bf7ab69ef117fcc1fd3ce1042edc9442d95df717e622c2ea9cfabbabf8be5eda32b3cf115d7d3e73907fd577a69f0beb6895f7ec2c5fc813 -DIST gcc-13-20250307.tar.xz 84518416 BLAKE2B 2afe5b57ab2d6af1800c3c74ab629e9033ec4368471d103377958d5225912ffa259f1fbb9d04804f817df9527b7659913ff762b40147a40f65eaa1caaef2c4f5 SHA512 c2a63fcab70db6a5123347897a47a60d7423723e3e202e4c56c77f50caeb460b629d7fa3af9102467c73271273e7018fc431f2254993b039d5270ba093c7a865 -DIST gcc-13-20250314.tar.xz 84540844 BLAKE2B 7e032e0fafeb9eb47f8acb387d49d024fb44ba54d782c0afce26b0751b099208212a5a977d3c027a9c5c0efc3d3a5ed99ad98e56b16f2cabf234cc8bca89e6de SHA512 51320889e0e959b763bdcb1334d38aff48ba6099e6bcc75055633d81a17e1f59c71e81597ec391eab95f86614b7b62cff37aa00827c61d949d6596f9ba36fb9c +DIST gcc-13-20250321.tar.xz 84515248 BLAKE2B b07d6f518bf2d32ad17b3c169ddb782dfe4de5efb157e2d4b8b2eb00f68f50b9250ba9e873b4dee269506740330176d98b1160d754ca6c714e1d6c76358c6493 SHA512 16a2acce5b2900749b7100a445ae387b03504a6e2319f76cd0a8a1d67eae8c04493f845f63e4e040d8fecba9123105d8b9fed433220e1fa6abc87448180dccd8 +DIST gcc-13-20250328.tar.xz 84532580 BLAKE2B e518053fd44461632560334c536ca29a3510493147bffba3906c3a9f2f08f4a124bd50132a0f2b82eb8a783fa3de58c5a41507c4558fd701d0cb9e2667526ad5 SHA512 277348fff14e1c44d32ffa717c9b2496fbf2975b95a237256a2c8585bbdba6b833b7212b0d9c59c3b430ebc98fe2866fe07e6acc429b09c0087e72da631f5ad3 DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-3.tar.xz 30956 BLAKE2B 29ce043b46645640ca1e983397af3e158588ad87575f0bc59451ea4a7dd5e3bb5b190ed031de6a22cd790d423ba111e95d222187dd09985dceb12db9f0a2d907 SHA512 4ffecae7be320124ad0c4e71e39e142b7aa8db0e70b5f486f491d7a33ea31efc6464c6abeea77df02a8bd5cf81f08225d625c8af5c27f9afa32c0d7d989f7a3c DIST gcc-13.2.0.tar.xz 87858592 BLAKE2B 0034b29d3d6cc05821f0c4253ce077805943aff7b370729dd203bda57d89c107edd657eeddc2fb1e69ea15c7b0323b961f46516c7f4af89a3ccf7fea84701be2 SHA512 d99e4826a70db04504467e349e9fbaedaa5870766cda7c5cab50cdebedc4be755ebca5b789e1232a34a20be1a0b60097de9280efe47bdb71c73251e30b0862a2 DIST gcc-13.3.0-patches-2.tar.xz 44440 BLAKE2B ebde73f6c3cd1a5fdc5bbce36414a59dda0925cba9d422d3689fc9c14fece44ee2391982a674411aa99bf47ffd49200f3ce51cc908beb8298adfff78e709a84c SHA512 eb56e0d7e69b5c3cca21f4cbff21c1204cf64ede7e66d689f45cf5ff37de8a59f24eb1f4b30d9c4222fd4126654fe4ffc146851f504761014995553c1202e8fd DIST gcc-14-20241221.tar.xz 88198252 BLAKE2B 7491c2e1c8885e201859143bdf5cae95af4c0db77709ec7d761ad535df30042f5deb8488ba7c508de3673e4b0f2af1de8d17476f39cd47b745ddccec6a9e4470 SHA512 91fe1e1d1f8e8fad64930a2eadf942a542bd42f841fceb49f475bccac00f04692b8cd38821ea9ee05f78b5c51001d8bd39df5f71f3a3d89aab8980019cea9be8 DIST gcc-14-20250301.tar.xz 88230928 BLAKE2B 2b65e7cccbf431a74df73adac53995873e78240d7abd97e9c9c576806c389b3c1abb6d47710a25a26f2ee399de750a07c3fb7916a580875d08a3a83354d89c1c SHA512 6b2afe19ce95a595307ae10b89054927116d33b499f1ef8233936d719271c04cb8f66890068ef2252c59ab0276dd0e6210990cb88abdfb4965818c25949f431e -DIST gcc-14-20250308.tar.xz 88224372 BLAKE2B d5b76b553cc48aa16a4d00fb1ba232856a52deef32049a10b9d2ffe7a010a5afbc782ad1ebec0a2546ec74703e0afabea936d81180b19ce8c4786d07b0495bf2 SHA512 900a43be42471e6d9484dbfdc972065fcd342908d0115f28edb35ff371e3f4ae0e219e99a4ecd52bcd23a156b3df2da80d508e2236cbb7495ae3df655154dc9c -DIST gcc-14-20250315.tar.xz 88211476 BLAKE2B e99ef61416fc5fdec4e2c65257bf36e8d2e8f8a61e558dd989682e53c9d33253aca897834f0fd7060b1055f0cb7accd88a41db96e03d7f924d76cbd51dd8c1a8 SHA512 2c288ff52d730e2a8bb4600519cc2ddb1de140377c7dccefa7f268032b86c4f51b87f563abc0d6393bb7a2d7de5d0d2d6f7105869e9c998ae33479dcec7b0f39 +DIST gcc-14-20250322.tar.xz 88221060 BLAKE2B c8ec3dcbaaed1ee9a8d35f866a21879192a10707600a9ffa10c9a958de84e0fec3f8bd93950a5cdd53f2e4d9fcc74b45c4416a357eb271e70b314bd339da4818 SHA512 860049792547bfc21c4f61f1648056510495f16e97ea47444d02a740e60bfea1870d3ff437548854681e94fb2e7099a186526a6acecb02df7753e0f5661f6d30 +DIST gcc-14-20250329.tar.xz 88223376 BLAKE2B 024343e0307d8cc18efe326a137f599c25304346e23ba2a501e7a414c7c96891cd339ac5f82c9b6b1f8bfa0101734aafc3580d8577405d8f18d0c809f5d1b2d2 SHA512 ae86076dee09826ef3bed6ae927c757205ea48c9fcef59c61a74a3ca31117797a958ba2307cdee785f2c2bbccd87dd93316a0e3415f0e81bf2712d6abebcdef3 DIST gcc-14.1.0-musl-patches-1.tar.xz 3600 BLAKE2B 4cd920b7ca1f122cae806707564d8e45bfd48e78c88788a12a301f6068b5a5f335d8885e67479ac536c66aeaa81f2ecb7240ae56e9fc821a7246ab66b453711f SHA512 61c48d90a55dfc2129d96aee69d939d6a89f6407f69f7bd12c1a619f28989f471fd219d731958f8e62b0fd650c32300f0ad8dc06d5df23d9fc8c1a77fe210c25 DIST gcc-14.2.0-patches-7.tar.xz 14244 BLAKE2B 11236e91e1fe83fec8ffaa40ec0cdd4b52a00a951e9aa9a7a0a932b234b8f1a9603333a7ccf55859f4ef53dd4d8ad1fd5c1d2514b6e45fce5b86bb58622a0ecc SHA512 5a4d86d943e31fa068b5a784c0132bd83c23243dcb3cf972557a42e004469a415e1b3185f31b1bb36f916594d475f266a2fda031a414e4a15e0bbfe471269eee DIST gcc-14.2.0-patches-8.tar.xz 14540 BLAKE2B 09f66035343d4cab694b8ab382170f8e2d546ddffedf3477f26edbd6a798ddf94294f569c2661729d40088d590bc17a4eb651710d8d9f66f33703734a1a82b67 SHA512 7a9a2724ef8db3c57b033d90751192969c16e5eaa8f4777b7f16470222ff3a18771b461bd89feaad701e7f0d573b883b487981588129933c732fb76117728b86 -DIST gcc-15-20250309.tar.xz 90853908 BLAKE2B 403b9b3a2eb1ed5d23558eff000784b8b6345c419b9050d68e38343a30ceb58c7ddaebb44c345668c98e19f66c1dd1edcc22a3a911754cb85f8fbfc6559ba3f1 SHA512 b20760997cf8111429524ca1400e1a23c328e303a8b4652cd859dcc3dc3e2dd11c72cf9e1b744c88374ebdb9fbb90f217ffe892eca24e581b781e2741b177d04 -DIST gcc-15-20250316.tar.xz 91424124 BLAKE2B 4a33b98d04961a8dd2bdc2890d0e1547902fc6bba63cea1b995bc82c6ef1b384a0843792961cd77162cae948808d41c2d5758f526371bbc501143c575e683a10 SHA512 5bd5a524b76a523a1979054bebc10ddbe3dce4c1f905b123dc8da983506c4cefb34cc035234845c021d4f7b3110dd5a8383da9c134af0bc54a154a0cdac8eea5 +DIST gcc-15-20250323.tar.xz 91685912 BLAKE2B cd56bfe95b80358cbc44ae27a15d297d60630495f452e5d8158f5dfb7be457cdbb144226ef3bc8bdac6eec7f9e20185240a7a4ddc229ab96b7a9ef5c502c308a SHA512 45e44a9136c466ef1ace86129cc5e4629f4cbeefd896967ef9701711a09f806ac0505232f5eb840823aeaca82c8e6107b6cbb3ea7b912264402b4faf5cd19788 +DIST gcc-15-20250330.tar.xz 91772420 BLAKE2B 164a4db7f83d40a010edbed11ecf949e459a5f0c866425812299d55ed96965fcc537bb40190dc78a16f66dfaa8da110b74fb612d8e76fe29ce4031d6196ef0b3 SHA512 719f5b1d79cd8ba4462d6916b1ddb401ca7ee9a9596610e6be00085fdf0d20c7ccbdc88983a22cfea73a0b21b28e1edb8dfd095ca95696362d1d9d62fe6551c2 DIST gcc-15.0.0-musl-patches-2.tar.xz 3076 BLAKE2B 0073248fe4f7dd827980559017b5aa1fb5c4c46acc9ad5c410dc152fd1e44966d3066bf7152338573cb45b1c36027de5f0c519abd414d97a37bccef07f6a5281 SHA512 295f1a669020bbe2874e9b03afd46b5d083073b276fca3543f3767a2d74f35df81cf0a67abad50c200cf7a3af36ec98ff9977cb7d5c19f334af7d3bb1926a3de -DIST gcc-15.0.0-patches-46.tar.xz 22212 BLAKE2B 159b2693ded0b1dbddd271ca56d7f6db3569a8f79155521737b968ad131eee2730d3441dacef821b9dcd31b17ca0bf16a7b24001e7cb4ae1b36c55750184a3f6 SHA512 26d293ee368c75570e606949480feed18a69baad4687beaf2f50629bfc72d542bbce4b1cb6580fe7e578409a108891dc9762bb15c53b611434c83db5dd83d695 -DIST gcc-15.0.0-patches-47.tar.xz 16456 BLAKE2B c1b60eb5b0717f74ca528462e7cddfc6c2386cc122e8d0394152e974e092ae7c29bcfd96e7dbfde85aaa9194950dd867aef59fea17f1be1bb0f9f30eb192cd3f SHA512 c2f74c561eaa5b158de44b251116a923f3e81e5c5b6126d7cb387211c83697813fc22695ae36d245844e3e0dd2a6076fd710fbbed39965a151209a34812ba752 +DIST gcc-15.0.0-patches-48.tar.xz 18120 BLAKE2B bfb1e7330c1c0499d2d0a0046506961cccaac1df8e5779f9de599e8b6d89e9014b512072159ed18fb58243e95716b79aaa0d7665e7742ceda117d40a867cf34f SHA512 1cc61250e943e2cae543a5336fdc9ad04851186f8f45e4b82cb9be287a804374e84066cec0efd55662211107cecde92f78b6d3c745e421bc83b3d60101be9ebd +DIST gcc-15.0.0-patches-50.tar.xz 25208 BLAKE2B 09e98c3dcdd3c60ede26c6e322d513b3df09efddfa21ea95b2cb7c3ee57b4c054f41fc60668706e33e56f022ef4b7cb96f7cc01b4a25d62d9777ef8b3b0d1ade SHA512 3b69d97a08c894a387fbcc4934bf0c519af8f66aff394c2a2565ed545fcb93f0bd70526cc74f5d952047d8d6782847c6d8e4aa7a408f0f89b1666c747ada8b4d +DIST gcc-15.0.0-patches-51.tar.xz 18672 BLAKE2B 3912f0db334c7169eb89f994625329348e60ba462f809ce52c93925b3dfa7b34bbc801ac4311c56ca53ab636a02b8e99a1fcca146e7089136c9af2a9f4e53f9a SHA512 65d2ded634c5f90a4c059339c820e7fcc0b9675c8ee7c7f1f30694964d6645ce78f7d061ec367da4f2da5078f3df68e69e83a2c65a37e3395800f294c7baca9b +DIST gcc-15.0.1_pre20250330-patches.tar.xz 148252 BLAKE2B 34c5d7ed6d7afd3c848ae82ab22a3007c7cd42b2c43c640c5ae01e55b3861a71c8a3206c16db407a6b089b7ab03431562c696d4135c9377c56fc671b3dfcef22 SHA512 ff54d8966370384a0ddbc2c9cd9e5aef808bd254a803dcd0d07ea4716c5a5b07d69a2c2cfede9f63960ac18ff0d499f6942aa613f46e90712f68666693a8f639 DIST gcc-8.5.0-patches-4.tar.xz 18616 BLAKE2B 7594cbaea5daecf1a0b3d526c06aeba0a84c6da66aee2e105a51fda6be8d30a37ccc3814281b284a4582d892a1d556bca063551584edfc2525bed8ea5b6888e7 SHA512 1aa5742c361186637e7855f06feb1a4547e7d4d5de6e51f3d049e0ef3c19e2eff179465f52781739f59422035b7f8e4c0efa3844849f920f3c96acfdc37ca6a6 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 DIST gcc-validate-failures-a447cd6dee206facb66720bdacf0c765a8b09f33.py 27537 BLAKE2B 96c7474de0bc50ab890a91551412398c979396c43aa237a4b6d8baa98ce7fda2cc9f5a755a03fd9d055d885ee2fb40ba29644a0649c24398361ce75a20fae634 SHA512 409434953351cf1f2287f1e4a4fbde5b28a27add35ddd284080acec71b33cb4ec5e1c07f41a79fac060bd6f1eedd198812495141923e410ded907429fe515f83 -EBUILD gcc-10.5.0.ebuild 1449 BLAKE2B a73661c664c8a682a2756e9d6652e482555d011e4305c862d2717121a9b5f62b0078b866efdc2ac8d4bf990783c25d60cd54cba616a14117d96bf4e152fd20c7 SHA512 edb74e8a20cdb1fe76b6397d45b9330543aa6925d4a3ff38be6aeb9fce0e54551dab5ab8ae54ba813d67eba2e154e69e130aa3ae0415920b417dd3445f5d2c1e -EBUILD gcc-11.5.0.ebuild 1608 BLAKE2B fec194acf8db837d4261b6f5b2b953ef28a6ad35e87b1b917179d8fd3b3ab45ee4a2a4138fb9a4394553114d8bd86d75203ffbc369eadaca8edce77d8ff88479 SHA512 fbbbd0379abe8a4e7c6b5cfe567274a21487a1667df82358c5534b770fb6f207981c0ebb0a3e3a941b80a627449ae4ebe8113ac917ca4ad1e7fc191185aa4bfb -EBUILD gcc-12.4.0.ebuild 1615 BLAKE2B c241479503ef04500043053c4e400559aba8d0b71e245c322a2eaba9eace24305b52a26e1166533351620cc1a253681371b5c9c41a0524ed71784b779754e3a6 SHA512 673af96489f9b069067f78f68130a7b559829aeea74b8ca0af20bccd90be5a24fec24224fac2287ca1ac30147ca1b0843984fe18b21bde195450241a83fc4b60 -EBUILD gcc-12.4.1_p20241219.ebuild 1615 BLAKE2B ea5fc1179a82bc8c92c01be77a9c6cff68018ff4fc196627cd4daf66ebec4019b89ff7b682cf8560d456f18e1800808d4ba94c9b9cfc1b717eac132eb8c0f9b9 SHA512 ef2d2cf32e012f5074a26853aac97fa76d979881ff81b1e788cfe192e61d1973729553268f6c7e419320315bd0da0a40f47ef0ff099425626e6aa0debfccdcb7 -EBUILD gcc-12.4.1_p20250227.ebuild 1623 BLAKE2B c1a1de3e527d07739c4b4ba10b7c0f318cd593b271bb52e86d14fae39d0d30c8c2e28b5849dd60ddaf74fe01e391654dc0f5b517149cd621b387612fdf67f406 SHA512 a59988681339c1d63f7ae7347369e2559289a6748912674ab2ff72def0ea475e29c8af4ef09e21d2627bfdd5eafa0215776cd8de7071c90819a803141210ab3f -EBUILD gcc-12.4.1_p20250306.ebuild 1624 BLAKE2B f4a16d6af11158666ec0ad9ced5841c89b6ce70964950b3c439105b240a3534b633dca7bf97aaef847b222f8aa323f815fa7410b5f4b115f07f50f4ff1cd31db SHA512 30bc2e09a28caf65eccc0e2f496d5095d2735e5e118b269d2cfad638c8874283ce364a14074d63c4e43862e247cc0626364c7f19ab3ac314250a5e52360331fc -EBUILD gcc-12.4.1_p20250313.ebuild 1624 BLAKE2B f4a16d6af11158666ec0ad9ced5841c89b6ce70964950b3c439105b240a3534b633dca7bf97aaef847b222f8aa323f815fa7410b5f4b115f07f50f4ff1cd31db SHA512 30bc2e09a28caf65eccc0e2f496d5095d2735e5e118b269d2cfad638c8874283ce364a14074d63c4e43862e247cc0626364c7f19ab3ac314250a5e52360331fc -EBUILD gcc-12.5.9999.ebuild 1592 BLAKE2B 287d83b5979c9cf974e890e5835bab37fa34a97dfc8fd473d1344e9896835a2980c885e7584649ebaede68b06dcf5cdbbc0f768aa1fa6c1603d3b0135a93d170 SHA512 025fa1a7803303e99c2186bc2eb2e69e9cd5401f787aa4eac2f0ad709558142130adff6fb75e610d2b9acf9ea7775540e4b249ecbd348d30167a04108e97d523 -EBUILD gcc-13.2.0.ebuild 1682 BLAKE2B 5a19639504afafced19bd1ad913e3106a65d16b4b3d5aeabedb0cbc891bdac22d9cd0a21928eef51b88dcbbe64927fabe8fc9bf0fe19ea755ad5959bf5acfb67 SHA512 3865dff4bb19f022f6a1a2d653bc8f7eab9c47e99ec5b30e4600506faab301f410ff26f1155b5305f219f3b89f344cc8271aef8b6d6fb2568e8937d5867ea843 -EBUILD gcc-13.3.1_p20241220.ebuild 1674 BLAKE2B f259931c9581507f6140ee400ddab4bb7f0889a6eefdf2f7f72430cf34c487f0aa0cde5b3bbe13b513331e3f656078c5033f3540b8873de949d3225b2f584976 SHA512 865c309f411438db3b85ee5cdc93025e4ae7808236d382057c4d0c40a03850555d559357168f2928c174660fbe7a4aa530fb055af90ad5f086af7f46c9654029 -EBUILD gcc-13.3.1_p20250301.ebuild 1682 BLAKE2B 6140a01b163bafd70f9144a8f0f1791fe85d1a675875d6e29bcea753968ea9a510caddc22249311f1a4705d25f0bf6038ef9530cfe5910f8c4e520275a07e2c7 SHA512 de42788db89616c99df7672de1075f14fb1ea238dce1949a4c558ae2cd2963a483e1d19eee81a8b5edcba0a0441bd9a9f358ec1440fa4859180e00c76a3ec44b -EBUILD gcc-13.3.1_p20250307.ebuild 1683 BLAKE2B 206ccd1583bf86e8facebad527f8deb2aa0c804bb3db379016e8bcc60319a42647510c0e27b1fd622121721877346d07565d15878c5bdd7ea6ef4bf8473f9db3 SHA512 d593a33b2b28477201788954afc6c307e8ad9d1d720cf4de273742c441e43894516ae8c57756dca8cd504c2a1da021aeb2a403bacbf8870ea9d9f8e823373c9f -EBUILD gcc-13.3.1_p20250314.ebuild 1683 BLAKE2B 206ccd1583bf86e8facebad527f8deb2aa0c804bb3db379016e8bcc60319a42647510c0e27b1fd622121721877346d07565d15878c5bdd7ea6ef4bf8473f9db3 SHA512 d593a33b2b28477201788954afc6c307e8ad9d1d720cf4de273742c441e43894516ae8c57756dca8cd504c2a1da021aeb2a403bacbf8870ea9d9f8e823373c9f -EBUILD gcc-13.4.9999.ebuild 1651 BLAKE2B 48ad06325489ff94c03e1a1584a9d92f3d624aa8c6a1bb1a55ec8818ef66a75b9acca9a3b18c2743d11b118f1643fecdd5be577f780dad86dc89f67ac095e761 SHA512 7670b8cd00501d127cfaa8ca283bf83b1b29cbe65aa3e2f956c0c3fb169a903f1ef55d298c05b833cd3a2b3e6a72c0f7a2145aca698be730e20fc1a1c406c2de -EBUILD gcc-14.2.1_p20241221.ebuild 1537 BLAKE2B c7c007768b41459ce15112d6b1847aba0793f45416979433d1416ea786c2eb93c340da86af3e78999c68bbf16cce0f67f7653587bfb549fb68cd0ba9d25dd300 SHA512 021fec1ab5cf2073a93018221caa9af35c0a2975fb9820e484a03250136edc15135ccfd2861f7815b04ea1fd1bf109bca9bd66222469c99414fecd0b5ef072be -EBUILD gcc-14.2.1_p20250301.ebuild 1439 BLAKE2B c2cad8f8237ba7e082598ad05a483575e29d00d688aef2584e70c7ca96327991758c297911b1b61ebb5433ccaeed190e9013f062848776b4e355ded5df509995 SHA512 04618a03e3fa2b8f660887960d3351eef65993285fb49847c83442460a396614143d36126f66d4588de29e04b5583139f1e81ce739bbd94683e1cd7f9437b5ec -EBUILD gcc-14.2.1_p20250308.ebuild 1440 BLAKE2B 403218e223a17ec1336d65ecc52686145d09d644278a3edd92af74ca9d83d172c14ccac9250f6c968976a5b3ebdc9ed6f6bd9194ae08c167d5c53cb65e83009c SHA512 bafbc66c0d28630b563f419d73c165f954e98ee03b9f92a859383957c2f980d8b9f6648056b13a9e7a17d99b406e58adebd86b02be0975f6daec10bc0aac5077 -EBUILD gcc-14.2.1_p20250315.ebuild 1440 BLAKE2B 403218e223a17ec1336d65ecc52686145d09d644278a3edd92af74ca9d83d172c14ccac9250f6c968976a5b3ebdc9ed6f6bd9194ae08c167d5c53cb65e83009c SHA512 bafbc66c0d28630b563f419d73c165f954e98ee03b9f92a859383957c2f980d8b9f6648056b13a9e7a17d99b406e58adebd86b02be0975f6daec10bc0aac5077 -EBUILD gcc-14.3.9999.ebuild 1410 BLAKE2B 0f77f0e17b7bf3d617ed4feec61406108d92e9ac8bd3597651b7f6814c45ddf56393228cda23fccf189e3fa106b9d389196da4f565283a10923bfe29a06fbfe2 SHA512 802582faf27fe46fcd75b8b917aa155739e4e0f70d010f14bf42cea3007da124a53fe1ee903e6004d4d8277350ac88d7ade78f79ce8a036b29e14dec45ba2d15 -EBUILD gcc-15.0.1_pre20250309.ebuild 1359 BLAKE2B 0e4dcef21ac4b8541a43eb8fad28c3cafddbc91b186f8d5f3ed67e42c3c34f8614234d203b0e80f314f9454b1132c30e5b1f79b08a4f4b34c061839e911b8b7e SHA512 4b5f3b8b0df693d95204b8983d3c51a07a286ef0d0b56e9a1b3d9bfa37a4e8559fa7133eae15a101c70e5b9783dc7c81d8d72437366ae08b2e4d62732db9de2e -EBUILD gcc-15.0.1_pre20250316.ebuild 1359 BLAKE2B 995a99d18cd9ec5673f26c151acf0da40b64dae9458dea37996224c55fd6d7c626b1dbfce7a07ba798f21d27ebdec70813066cc5c22484da55df522647e890d6 SHA512 322e4eb468a5254273ad1c96b5febd64d206fadde020538e555da5e368f0a07ab8b6c417b1c756ee6a45ae3b38a458981a7799590da7b5f05bfe9e66173b6b06 -EBUILD gcc-15.0.9999.ebuild 1332 BLAKE2B 6f17f77603522bac72d4d57094cc086263a9bfe6273c04d91b169ebc23d78fa2943c0950d4a40fe846d9d92648e54ca54ad1cecd5446ed5710062f9dca569b4b SHA512 4e4a673229a36dee68238e10efb2d9e0ff1c530411395e5230bbf567c92342a4b79d0ecb0ec91573c52fd8b5efd5cf6d20e612971848c9529378e0c42c0e213d -EBUILD gcc-8.5.0-r2.ebuild 549 BLAKE2B 2856372670c76fbe54778c0532815e3510b01b1c8aad99acc3e9183bf6829251952e29887340895625c1e421e19302430ae1a0a8dddcd8470bd71cc221f0b6b0 SHA512 559ba0dbdc7542b6af5d101f19a5b3c9eab38b9996c26330834ffa924fd8c792988f223b492e6ac84255eccbc4af762be50c2d60e84ca24b7a9ebba134608c6d -EBUILD gcc-9.5.0.ebuild 1257 BLAKE2B b398cea6cb4227fd126b85feb3e735f6b505236f54aecc9983e46fd30dbfcd8f16e80680c231567212c7cbd524b0d485574f7c5c5830137f9ebeea089a641e90 SHA512 0faea0a2389563bede22ba172ae6ab490a693c221bf6700152e9f63b23fad8d74a595a50c40cdf2eed32ee5e9cdddfdb6e2907629036c94034327f5772c93f6f +EBUILD gcc-10.5.0.ebuild 1583 BLAKE2B 96f73c4b51c22382c62341d5e900f7987dfa99deb96357609f2c7e1de83d5bfb5df5b9b0d14cc4ee84430270623376345a30203e1d1693dd0d2f20ed40687265 SHA512 1f9b749537351300160c33ae07f39e403c8855347a1d69280aabe22b62a484b26b51a8e3e9dfcecf95c4cf6299ce7d7f62863ae0c7ed0295379e452f315f36f2 +EBUILD gcc-11.5.0.ebuild 1742 BLAKE2B 7797a8d1f6c41ec683e2b79b1e5f87886f39a5b54a48639ae02fd5ee55b15f11a2bbe3e7298562825f15b81a70f3b01fc8991582993e4392cb0ea019a5f15349 SHA512 fcdb1c80c1f511a54c7c4694e8785d35b76aa4f245231288e416ba7035fb77ed4e5001d8ed215bbc02af3bce2f4635aa4515d2f33991bed1c64cb7805e721ab8 +EBUILD gcc-12.4.0.ebuild 1749 BLAKE2B 9c4b66bd600a1de0fd71e168b3690ee3cc86402459707157ce40b5bb44ba2b0750ab75a652e3a69079e044c1e441150bee439c16a3208ba0f6e3e410565e833b SHA512 0a11b213d42f0a86e4596893c35c476a874e4b5eb8e32e9ab5cbc504a1cfd0f649b3c46f5eae3b485886cb4fb61773b730e6469785acd955d94ebd40d6035a20 +EBUILD gcc-12.4.1_p20241219.ebuild 1749 BLAKE2B fad51e263d2e2e42c6737b73adfe44933cafb93d0340aab85661e0049c1b7ad9a9833508c3bd3fdc713ed9852440af3367ded197533917f9901514415dbde193 SHA512 4706a0693f56b03c36de25df96f9231f8ef64fc5b746238e0279d8c90f69616f7c53b829d4e4aebea5728a2e0933b678d0234dbbe32c0c0d28d2f3b531193380 +EBUILD gcc-12.4.1_p20250227.ebuild 1757 BLAKE2B 1f97964bb9406d1cf8ccd3347ac306269e6c9afadda35d88c6fdc2e2eab2796096bb53dfc91de68a8c7ae1039b8a57b7d4330f4a549b9dae2191dec56fe5a20c SHA512 3844adda8937d53ad81155361f3261a41ee36604df6a6215be8d05c1d4fd4199a990a4a62c7d776da836d65e67706d4e79ca5767b7384855f134b75b5eceaead +EBUILD gcc-12.4.1_p20250320.ebuild 1758 BLAKE2B 573075771c236fd4f633810300f44dec9ffa0d7aa424c0fbda14e9b91752aea2b0310afc9a885275544103b1705a66f76612ec18061db5145673a35433ec884f SHA512 203c3342ddec624f95ffc30087906f8099d6bb72248e3dad63ca9f97be1643ebb138873bb189237039591865c20a79ce48ddee5b28902b69d826d69f897710d6 +EBUILD gcc-12.4.1_p20250327.ebuild 1758 BLAKE2B 573075771c236fd4f633810300f44dec9ffa0d7aa424c0fbda14e9b91752aea2b0310afc9a885275544103b1705a66f76612ec18061db5145673a35433ec884f SHA512 203c3342ddec624f95ffc30087906f8099d6bb72248e3dad63ca9f97be1643ebb138873bb189237039591865c20a79ce48ddee5b28902b69d826d69f897710d6 +EBUILD gcc-12.4.1_p20250403.ebuild 1758 BLAKE2B 4da295b40083c7b74646b5539558948236a5cf8196208dd27a5f9b0afbeeacbace858b5311a3075f96a61f334796d7ec03f22bdb56c7991c7946e61a54ad176c SHA512 262470d2d322d3a1396dd41902ed679020c5e1737a4a199ea693d63cd77ecf7eadeb8dc468e97dd9515c77d0900639026ddabb74fa45640a096c47b500429a3e +EBUILD gcc-12.5.9999.ebuild 1726 BLAKE2B 8d753844c1ad6b1c629a8c154cd8f7444727a9ea87f342b284800066a9cb687c94f21420266b45030d2d06b93cf4e9987c44bfd822c7b210f653440c86a7e9e1 SHA512 0bf81d0eb41ad8f4e05112a40d35d8bde0d3a32c8e5fed934abfcfd0f9376eeff5426a7df1648fad38a059f4aa6f450864e2f7aeb96a4c76149f76537306e362 +EBUILD gcc-13.2.0.ebuild 1816 BLAKE2B 54931644f5bd55ca9cd9ded15fef585b6bf50eb05c531524946d52ac4dd0c2995284717abc7004dafe4e80486860d3aa8f02c1a02d050e886e7da5d4b928a28c SHA512 17275d2730361a822668252eff8707d7ae13926b4209aed740b2af8da31f5a71635e815bbe378660563d27e8587f5a1a932426b566147f22e3fe3e66f72466d6 +EBUILD gcc-13.3.1_p20241220.ebuild 1808 BLAKE2B 5ff1086eee151428cb3fc3388e9f474eef4ed5a8b0d6261745dc94c9e54b4fa6f6669c3c90fc231291c3816f837304ee094e4eedb705694b7f393cf0882aaf78 SHA512 3ece41883ac888ee4117cf544f666ae1393f0c54bec84e9c879359162956268a105ca415f88b4838a39aa1fba90f3a38ce1f53d0b9ce0d0ac77bf4c4787fd88e +EBUILD gcc-13.3.1_p20250301.ebuild 1816 BLAKE2B efc8a595ee852e8fe294828a3f144d997546f6b2769c94566417eac2fb28f09d47eb07f4b672773e1cc1c7baddae756174d5c30ba262f0f09c48415aeeab53fe SHA512 5ff6c8fc5f11147577679c4b46beefbb6be249ae00a82f38f7db6f5a4cf040ad8b79aff42b6441fcde11f3c53a7928718253c044dcef00b635b5c8b5234e8124 +EBUILD gcc-13.3.1_p20250321.ebuild 1817 BLAKE2B 8af274631d9c5bc946959202dd05439410b35fc6b2eb2a8394bd81f50333ac8e91afcdc3b74830b613687d588d98eb7cbc36e98141a038bdd83fdddffeaf6354 SHA512 df34c229505b59d91115969a2f61f356a9cb71f52441a80901dd9b0bd8619ccd5dfd670cf5c721f137c881ac1ab09bf3cf8686d0892856dcf1e73c446d4197f4 +EBUILD gcc-13.3.1_p20250328.ebuild 1817 BLAKE2B 8af274631d9c5bc946959202dd05439410b35fc6b2eb2a8394bd81f50333ac8e91afcdc3b74830b613687d588d98eb7cbc36e98141a038bdd83fdddffeaf6354 SHA512 df34c229505b59d91115969a2f61f356a9cb71f52441a80901dd9b0bd8619ccd5dfd670cf5c721f137c881ac1ab09bf3cf8686d0892856dcf1e73c446d4197f4 +EBUILD gcc-13.4.9999.ebuild 1785 BLAKE2B cdaa9a6d1ed038b84921822489001c1a24da22380b915a06e284d59d89dfd4674e8ae878f121443b51f1585308937f39364cc931d50fb05040d36e29e30c4b39 SHA512 0f17118d27ed2940829153dce1cb7d730161e385e08bf4f85be93a0b04ef2337a59777037d12ec82829b976b4bf2f9fabcbfeaa91d05a59b4aff4dd4420578b3 +EBUILD gcc-14.2.1_p20241221.ebuild 1671 BLAKE2B be37005763106d7e235911720995010fc4d21b6ac271d0116976209aae053208a191db32bc72f1c95c2f303f896722cedb1f9e91b88b088527863cd78b187b55 SHA512 5141a562ed4138f463e21b1548585b49f3427015535d7ec2c6df8496bc88e2762a153ed4019fc09e18d368e962a3d2a8530084c4de4723cba8ee4d2dfcc5ff74 +EBUILD gcc-14.2.1_p20250301.ebuild 1573 BLAKE2B 5a2e92ce7e4b2a1d74a7d1d40bcd3de6104290044c56139b55daa99f87bbdb30c22b23ed33c9ded472efa7cdaea40d5a9a21d7128b615ff2e3bac9b58f08a6da SHA512 c1424741140b2d067ad8017a751c438915186dadd5c58960946f2367b1e2fc43ac107a438115dcc209e4bbc4546ec0437148fdd6f3b3307ce2501c16cd62db04 +EBUILD gcc-14.2.1_p20250322.ebuild 1574 BLAKE2B 6adb8d31e8a39464d81bab35916494df6a9d595c37b9a1c936016d08a30302173bcc777d6a5605a0ab774a63aa024852f5b3f2c80b87c57622fbea95bcead8d4 SHA512 5dacff91df9d51714f31891aabe6a02d73775bd401b6e349614294eb6e71b092ca3b1ad730acee2bd833680aa701bc98bfed56bf575f3e1c88005aad0234ebe7 +EBUILD gcc-14.2.1_p20250329.ebuild 1574 BLAKE2B 6adb8d31e8a39464d81bab35916494df6a9d595c37b9a1c936016d08a30302173bcc777d6a5605a0ab774a63aa024852f5b3f2c80b87c57622fbea95bcead8d4 SHA512 5dacff91df9d51714f31891aabe6a02d73775bd401b6e349614294eb6e71b092ca3b1ad730acee2bd833680aa701bc98bfed56bf575f3e1c88005aad0234ebe7 +EBUILD gcc-14.3.9999.ebuild 1544 BLAKE2B cc463c5c5a86e4d7d1695493a80c13f4cc4a1583d349960c1594a4704f83e5eef411825a467c9ba6230b4bb37f6ae14fa99f50a145ceee1ea75f1602a9ff5ae5 SHA512 e9ee5685b18fe8fb078ac976fda9c9569ea839f5291ab55197526fd00e269db827845c18a3e6b765943ecaef5415ea311fc0d0ccabc6c447666149fd502f9b36 +EBUILD gcc-15.0.1_pre20250323-r1.ebuild 1586 BLAKE2B b46700779c75b1e836d5fb6c7a8ed2ee7703c93b45fcc00898c4785c6b555023ecf2f6a84049471a6dfba43548f3b98d311ceec493c42e78c263df23d3b61336 SHA512 de2c37907b99a616b76e470a200378ebd974af2efd5cd15b2eb6dc13f41c2d566629ebfab24e920e9d83adf0ebc12df53b135b3765531f35da722d5986139a2d +EBUILD gcc-15.0.1_pre20250330-r1.ebuild 1692 BLAKE2B c26a994c7a04818c1fe4cb27a9a6cad804395bc65048a6205a1f07d8bc5d3c7b5ec123609820bdb07f5f308dff6522a0e4974263ee5e4aa72eb8c0b41b569e30 SHA512 14aca0677d3c3796ba7395d877bd6813b38738aa980c70a97f305a8bf37052075c4120f938c9cee0293c49b9d10a54260401f52a632f08fc13a76554dd337ca0 +EBUILD gcc-15.0.1_pre20250330-r2.ebuild 1634 BLAKE2B 83718bbe4c815c062097f631f5647bc238ad0115cf0c46f616b2306cad3382b2afd6084f4fece4d38223c7afbf4069eac0e9b41461bc7969a532d962f852c19c SHA512 bc7bdb01a50b03065e78f82b4f711c152a729fb4e72e0ac3744c6ba8696bded753cbb52aea3e0dc30dfd38cef8e39c72123cfc817065f46f481f4487be4f648a +EBUILD gcc-15.0.1_pre20250330.ebuild 1493 BLAKE2B fbd03226327b6c4a8efed9394f5c3112f3b7a90df1af5709ecceed7033ba563e55b644b86472e45bd39ca89d512e2a68a7d18ca400db90a0323d059c0473c06d SHA512 f9942e80dd37ebe85d1193fe622941bf0ceb49cf6b9fc155d216370e0946bb792b692cb3fec26933085accb146378bc609ec9fcdeacc99945bd9a02a9c6ea1b2 +EBUILD gcc-15.0.9999.ebuild 1466 BLAKE2B 32e002d112c6523b45e80c43cfebdcd53dd2ef85d55edfd55c2b532c8ced6dce972ef00c37810f5f2af6d87fe8e103eaba39b92c793088acc4dc87b6052f772b SHA512 4c6aeccac90f8b8ba41d8deef7276513026db3560e7f9a5aa7db983670b6b38339d04d75d0cdf601d4174c11f0b7b9f426d85087c19dffed9f1401f8541dc9f0 +EBUILD gcc-8.5.0-r2.ebuild 683 BLAKE2B baac476321e8c074abe7d261aea13046f0d6508297c28e6b29708b56e1831318dba86273cd20985a9a41f40f12f2861121e6bdf563c627c2cb3d8fa59df3f799 SHA512 6872ad082f203aec401a7916cff7388eb9fdefb20651e61ecfad9a45a983820d499d200bc9ba50b60e0548134b7d2ea1739a185d0a07c08c522080e84b324338 +EBUILD gcc-9.5.0.ebuild 1391 BLAKE2B 1e6795285b290c046ee80c729da8771ef666a912d38d74ba46a9636bb133d9771ea5313612c6a21084c8cf2d40c6a941440a17a93df316513515687bf2b05037 SHA512 7f5244300603de512ff83195f03013905d017fc2353b54a584f6cc8e89a9525123842202e49d863ea7ba27c7b113ac5881de7e1dc8eb06d7139e9cc69d9d2a14 MISC metadata.xml 5636 BLAKE2B d45615a6e5e5dae0218d127b8c1351734ea94327a8c08ba2561c6bdae8653eff09fd6f14ec09910832b09583e1c318f95bf61dce3b6b9f6ef6792407208c90e8 SHA512 a469c5932c32209633508d9f28d90f24999706c6a180043fea1feab04812bda651f9cb2bd289d65fad7e526278ca9c7d038d7b1fce49ed0965a4927feaa88ee6 diff --git a/sys-devel/gcc/files/gcc-15.0.1_pre20250223-c-Fix-range-for-with-PMFs-PR118923.patch b/sys-devel/gcc/files/gcc-15.0.1_pre20250223-c-Fix-range-for-with-PMFs-PR118923.patch deleted file mode 100644 index 04cf198fb673..000000000000 --- a/sys-devel/gcc/files/gcc-15.0.1_pre20250223-c-Fix-range-for-with-PMFs-PR118923.patch +++ /dev/null @@ -1,231 +0,0 @@ -From a41b3f54c13890b1327bb3d4fbae8f7feb37d00b Mon Sep 17 00:00:00 2001 -Message-ID: <a41b3f54c13890b1327bb3d4fbae8f7feb37d00b.1740542521.git.sam@gentoo.org> -From: Jakub Jelinek <jakub@redhat.com> -Date: Tue, 25 Feb 2025 09:26:46 +0100 -Subject: [PATCH] c++: Fix range for with PMFs [PR118923] - -The following testcases segfault because the new range for -frange-for-ext-temps -temporary extension extends even the internal TARGET_EXPRs created by -get_member_function_from_ptrfunc. - -The following patch fixes that by using get_internal_target_expr for those -instead of force_target_expr (similarly in cp_finish_decl and -build_comparison_op) and using force_target_expr inside of -get_internal_target_expr. - -2025-02-25 Jakub Jelinek <jakub@redhat.com> - - PR c++/118923 - * tree.cc (get_internal_target_expr): Use force_target_expr - instead of build_target_expr_with_type. - * typeck.cc (get_member_function_from_ptrfunc): Use - get_internal_target_expr instead of force_target_expr. - * decl.cc (cp_finish_decl): Likewise. - * method.cc (build_comparison_op): Likewise. - - * g++.dg/cpp0x/pr118923.C: New test. - * g++.dg/cpp1y/pr118923.C: New test. ---- - gcc/cp/decl.cc | 6 +-- - gcc/cp/method.cc | 2 +- - gcc/cp/tree.cc | 3 +- - gcc/cp/typeck.cc | 6 +-- - gcc/testsuite/g++.dg/cpp0x/pr118923.C | 66 +++++++++++++++++++++++++++ - gcc/testsuite/g++.dg/cpp1y/pr118923.C | 38 +++++++++++++++ - 6 files changed, 110 insertions(+), 11 deletions(-) - create mode 100644 gcc/testsuite/g++.dg/cpp0x/pr118923.C - create mode 100644 gcc/testsuite/g++.dg/cpp1y/pr118923.C - -diff --git a/gcc/cp/decl.cc b/gcc/cp/decl.cc -index 05ad9bb24d59..936e48e907e2 100644 ---- a/gcc/cp/decl.cc -+++ b/gcc/cp/decl.cc -@@ -9377,8 +9377,7 @@ cp_finish_decl (tree decl, tree init, bool init_const_expr_p, - tree guard = NULL_TREE; - if (cleanups || cleanup) - { -- guard = force_target_expr (boolean_type_node, -- boolean_false_node, tf_none); -+ guard = get_internal_target_expr (boolean_false_node); - add_stmt (guard); - guard = TARGET_EXPR_SLOT (guard); - } -@@ -9407,8 +9406,7 @@ cp_finish_decl (tree decl, tree init, bool init_const_expr_p, - popped that all, so push those extra cleanups around - the whole sequence with a guard variable. */ - gcc_assert (TREE_CODE (sl) == STATEMENT_LIST); -- guard = force_target_expr (integer_type_node, -- integer_zero_node, tf_none); -+ guard = get_internal_target_expr (integer_zero_node); - add_stmt (guard); - guard = TARGET_EXPR_SLOT (guard); - for (unsigned i = 0; i < n_extra_cleanups; ++i) -diff --git a/gcc/cp/method.cc b/gcc/cp/method.cc -index 3914bbb1ef23..05c19cf0661e 100644 ---- a/gcc/cp/method.cc -+++ b/gcc/cp/method.cc -@@ -1597,7 +1597,7 @@ build_comparison_op (tree fndecl, bool defining, tsubst_flags_t complain) - /* Some other array, will need runtime loop. */ - else - { -- idx = force_target_expr (sizetype, maxval, complain); -+ idx = get_internal_target_expr (maxval); - loop_indexes = tree_cons (idx, NULL_TREE, loop_indexes); - } - expr_type = TREE_TYPE (expr_type); -diff --git a/gcc/cp/tree.cc b/gcc/cp/tree.cc -index 5628a576f01b..5863b6878f02 100644 ---- a/gcc/cp/tree.cc -+++ b/gcc/cp/tree.cc -@@ -982,8 +982,7 @@ tree - get_internal_target_expr (tree init) - { - init = convert_bitfield_to_declared_type (init); -- tree t = build_target_expr_with_type (init, TREE_TYPE (init), -- tf_warning_or_error); -+ tree t = force_target_expr (TREE_TYPE (init), init, tf_warning_or_error); - TARGET_EXPR_INTERNAL_P (t) = true; - return t; - } -diff --git a/gcc/cp/typeck.cc b/gcc/cp/typeck.cc -index a9c32ff930d5..bbaca960bd7c 100644 ---- a/gcc/cp/typeck.cc -+++ b/gcc/cp/typeck.cc -@@ -4219,16 +4219,14 @@ get_member_function_from_ptrfunc (tree *instance_ptrptr, tree function, - && !DECL_P (instance_ptr) - && !TREE_CONSTANT (instance_ptr))) - instance_ptr = instance_save_expr -- = force_target_expr (TREE_TYPE (instance_ptr), instance_ptr, -- complain); -+ = get_internal_target_expr (instance_ptr); - - /* See above comment. */ - if (TREE_SIDE_EFFECTS (function) - || (!nonvirtual - && !DECL_P (function) - && !TREE_CONSTANT (function))) -- function -- = force_target_expr (TREE_TYPE (function), function, complain); -+ function = get_internal_target_expr (function); - - /* Start by extracting all the information from the PMF itself. */ - e3 = pfn_from_ptrmemfunc (function); -diff --git a/gcc/testsuite/g++.dg/cpp0x/pr118923.C b/gcc/testsuite/g++.dg/cpp0x/pr118923.C -new file mode 100644 -index 000000000000..55d3052b61f3 ---- /dev/null -+++ b/gcc/testsuite/g++.dg/cpp0x/pr118923.C -@@ -0,0 +1,66 @@ -+// PR c++/118923 -+// { dg-do run { target c++11 } } -+// { dg-additional-options "-frange-for-ext-temps" { target c++23 } } -+// { dg-additional-options "-fno-range-for-ext-temps" { target c++20_down } } -+ -+int g; -+ -+struct A { -+ int a[3]; -+ A (int x, int y, int z) : a{x, y, z} { if ((g++ & 7) != 4) __builtin_abort (); } -+ A (const A &x) = delete; -+ ~A () { if ((g++ & 7) != 7 - 2 * (__cpp_range_based_for >= 202211)) __builtin_abort (); } -+ int *begin () { return a; } -+ int *end () { return a + 3; } -+}; -+ -+struct B { -+ B () { if ((g++ & 7) != 3) __builtin_abort (); } -+ B (const B &) = delete; -+ ~B () { if ((g++ & 7) != 5 + (__cpp_range_based_for >= 202211)) __builtin_abort (); } -+}; -+ -+struct C { -+ A foo (const B &) { return { 1, 2, 3 }; } -+ A bar (const B &) { return { 4, 5, 6 }; } -+ bool baz () { return b; } -+ bool b = false; -+ static C c; -+}; -+ -+C C::c; -+ -+struct D { -+ D () { if ((g++ & 5) != 0) __builtin_abort (); } -+ D (const D &) = delete; -+ ~D () { if ((g & 7) != 1 && (g & 7) != 6 + (__cpp_range_based_for >= 202211)) __builtin_abort (); g++; } -+}; -+ -+inline C * -+qux (const D &) -+{ -+ return &C::c; -+} -+ -+void -+foo () -+{ -+ int z = 1; -+ auto d = qux (D {})->baz () ? &C::bar : &C::foo; -+ for (const int &r : (qux (D {})->*d) (B {})) -+ if (z++ != r) -+ __builtin_abort (); -+ C::c.b = true; -+ d = qux (D {})->baz () ? &C::bar : &C::foo; -+ for (const int &r : (qux (D {})->*d) (B {})) -+ if (z++ != r) -+ __builtin_abort (); -+} -+ -+int -+main () -+{ -+ foo (); -+ if (g != 16) -+ __builtin_abort (); -+} -diff --git a/gcc/testsuite/g++.dg/cpp1y/pr118923.C b/gcc/testsuite/g++.dg/cpp1y/pr118923.C -new file mode 100644 -index 000000000000..b375f47a7d0f ---- /dev/null -+++ b/gcc/testsuite/g++.dg/cpp1y/pr118923.C -@@ -0,0 +1,38 @@ -+// PR c++/118923 -+// { dg-do run { target c++14 } } -+ -+struct A { -+ int a[3] = { 0, 0, 0 }; -+ int *begin () { return a; } -+ int *end () { return a + 3; } -+}; -+ -+struct B { -+ A foo () { return { 1, 2, 3 }; } -+ A bar () { return { 1, 2, 3 }; } -+ bool baz () { return b; } -+ bool b = false; -+ static B c; -+}; -+ -+B B::c; -+ -+inline B * -+qux () -+{ -+ return &B::c; -+} -+ -+void -+foo () -+{ -+ auto d = qux ()->baz () ? &B::foo : &B::bar; -+ for (const int &r : (qux ()->*d) ()) -+ ; -+} -+ -+int -+main () -+{ -+ foo (); -+} --- -2.48.1 - diff --git a/sys-devel/gcc/files/gcc-15.0.1_pre20250302-firefox-ice.patch b/sys-devel/gcc/files/gcc-15.0.1_pre20250302-firefox-ice.patch deleted file mode 100644 index 6fbc91e926b1..000000000000 --- a/sys-devel/gcc/files/gcc-15.0.1_pre20250302-firefox-ice.patch +++ /dev/null @@ -1,99 +0,0 @@ -https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=f22e89167b3abfbf6d67f42fc4d689d8ffdc1810 -https://gcc.gnu.org/PR119067 - -From f22e89167b3abfbf6d67f42fc4d689d8ffdc1810 Mon Sep 17 00:00:00 2001 -From: Richard Biener <rguenther@suse.de> -Date: Mon, 3 Mar 2025 09:54:15 +0100 -Subject: [PATCH] ipa/119067 - bogus TYPE_PRECISION check on VECTOR_TYPE - -odr_types_equivalent_p can end up using TYPE_PRECISION on vector -types which is a no-go. The following instead uses TYPE_VECTOR_SUBPARTS -for vector types so we also end up comparing the number of vector elements. - - PR ipa/119067 - * ipa-devirt.cc (odr_types_equivalent_p): Check - TYPE_VECTOR_SUBPARTS for vectors. - - * g++.dg/lto/pr119067_0.C: New testcase. - * g++.dg/lto/pr119067_1.C: Likewise. ---- - gcc/ipa-devirt.cc | 10 +++++++++- - gcc/testsuite/g++.dg/lto/pr119067_0.C | 22 ++++++++++++++++++++++ - gcc/testsuite/g++.dg/lto/pr119067_1.C | 10 ++++++++++ - 3 files changed, 41 insertions(+), 1 deletion(-) - create mode 100644 gcc/testsuite/g++.dg/lto/pr119067_0.C - create mode 100644 gcc/testsuite/g++.dg/lto/pr119067_1.C - -diff --git a/gcc/ipa-devirt.cc b/gcc/ipa-devirt.cc -index c31658f57ef2..532e25e87c60 100644 ---- a/gcc/ipa-devirt.cc -+++ b/gcc/ipa-devirt.cc -@@ -1259,13 +1259,21 @@ odr_types_equivalent_p (tree t1, tree t2, bool warn, bool *warned, - || TREE_CODE (t1) == OFFSET_TYPE - || POINTER_TYPE_P (t1)) - { -- if (TYPE_PRECISION (t1) != TYPE_PRECISION (t2)) -+ if (!VECTOR_TYPE_P (t1) && TYPE_PRECISION (t1) != TYPE_PRECISION (t2)) - { - warn_odr (t1, t2, NULL, NULL, warn, warned, - G_("a type with different precision is defined " - "in another translation unit")); - return false; - } -+ if (VECTOR_TYPE_P (t1) -+ && maybe_ne (TYPE_VECTOR_SUBPARTS (t1), TYPE_VECTOR_SUBPARTS (t2))) -+ { -+ warn_odr (t1, t2, NULL, NULL, warn, warned, -+ G_("a vector type with different number of elements " -+ "is defined in another translation unit")); -+ return false; -+ } - if (TYPE_UNSIGNED (t1) != TYPE_UNSIGNED (t2)) - { - warn_odr (t1, t2, NULL, NULL, warn, warned, -diff --git a/gcc/testsuite/g++.dg/lto/pr119067_0.C b/gcc/testsuite/g++.dg/lto/pr119067_0.C -new file mode 100644 -index 000000000000..e0f813ceffed ---- /dev/null -+++ b/gcc/testsuite/g++.dg/lto/pr119067_0.C -@@ -0,0 +1,22 @@ -+/* { dg-lto-do link } */ -+/* { dg-skip-if "" { ! { x86_64-*-* i?86-*-* } } } */ -+/* { dg-require-effective-target avx2 } */ -+/* { dg-require-effective-target shared } */ -+/* { dg-lto-options { { -O2 -fPIC -flto } } } */ -+/* { dg-extra-ld-options { -shared } } */ -+ -+#pragma GCC push_options -+#pragma GCC target("avx2") -+typedef char __v32qi __attribute__ ((__vector_size__ (32))); -+struct ff -+{ -+ __v32qi t; -+}; -+__v32qi g(struct ff a); -+ -+__v32qi h(__v32qi a) -+{ -+ struct ff t = {a}; -+ return g(t); -+} -+#pragma GCC pop_options -diff --git a/gcc/testsuite/g++.dg/lto/pr119067_1.C b/gcc/testsuite/g++.dg/lto/pr119067_1.C -new file mode 100644 -index 000000000000..d8e2935fa24d ---- /dev/null -+++ b/gcc/testsuite/g++.dg/lto/pr119067_1.C -@@ -0,0 +1,10 @@ -+/* { dg-options "-mavx2" } */ -+ -+typedef char __v32qi __attribute__ ((__vector_size__ (32))); -+struct ff -+{ -+ __v32qi t; -+}; -+__v32qi g(struct ff a) { -+ return a.t; -+} --- -2.43.5 diff --git a/sys-devel/gcc/files/gcc-15.0.1_pre20250302-firefox-pgo-ice.patch b/sys-devel/gcc/files/gcc-15.0.1_pre20250302-firefox-pgo-ice.patch deleted file mode 100644 index 9486b69147d3..000000000000 --- a/sys-devel/gcc/files/gcc-15.0.1_pre20250302-firefox-pgo-ice.patch +++ /dev/null @@ -1,58 +0,0 @@ -https://inbox.sourceware.org/gcc-patches/ri6bjui45il.fsf@virgil.suse.cz/ - -From 833d679c3c071b78dfb22015fe03d2cecfd650ec Mon Sep 17 00:00:00 2001 -Message-ID: <833d679c3c071b78dfb22015fe03d2cecfd650ec.1741019831.git.sam@gentoo.org> -From: Martin Jambor <mjambor@suse.cz> -Date: Mon, 3 Mar 2025 14:18:10 +0100 -Subject: [PATCH] ipa-cp: Avoid ICE when redistributing nodes among edges to - recursive clones (PR 118318) - -Hi, - -PR 118318 reported an ICE during PGO build of Firefox when IPA-CP, in -the final stages of update_counts_for_self_gen_clones where it -attempts to guess how to distribute profile count among clones created -for recursive edges and the various edges that are created in the -process. If one such edge has profile count of kind GUESSED_GLOBAL0, -the compatibility check in the operator+ will lead to an ICE. After -discussing the situation with Honza, we concluded that there is little -more we can do other than check for this situation before touching the -edge count, so this is what this patch does. - -Bootstrapped and LTO-profile-bootstrapped and tested on x86_64. OK for -master? (Should I then backport this to active release branches? I -guess it would make sense.) - -Thanks, - -Martin - -gcc/ChangeLog: - -2025-02-28 Martin Jambor <mjambor@suse.cz> - -PR ipa/118318 - * ipa-cp.cc (adjust_clone_incoming_counts): Add a compatible_p check. ---- - gcc/ipa-cp.cc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/gcc/ipa-cp.cc b/gcc/ipa-cp.cc -index 3c994f24f540..264568989a96 100644 ---- a/gcc/ipa-cp.cc -+++ b/gcc/ipa-cp.cc -@@ -4638,7 +4638,8 @@ adjust_clone_incoming_counts (cgraph_node *node, - cs->count = cs->count.combine_with_ipa_count (sum); - } - else if (!desc->processed_edges->contains (cs) -- && cs->caller->clone_of == desc->orig) -+ && cs->caller->clone_of == desc->orig -+ && cs->count.compatible_p (desc->count)) - { - cs->count += desc->count; - if (dump_file) - -base-commit: f1c30c6213fb228f1e8b5973d10c868b834a4acd --- -2.48.1 - diff --git a/sys-devel/gcc/files/gcc-15.0.1_pre20250323-disable-musttail.patch b/sys-devel/gcc/files/gcc-15.0.1_pre20250323-disable-musttail.patch new file mode 100644 index 000000000000..537496f9a2d2 --- /dev/null +++ b/sys-devel/gcc/files/gcc-15.0.1_pre20250323-disable-musttail.patch @@ -0,0 +1,199 @@ +https://inbox.sourceware.org/gcc-patches/20250320013102.1336516-1-andi@firstfloor.org/ + +From 592f60bef27cb60ea6405ca8603449fc4d92e640 Mon Sep 17 00:00:00 2001 +Message-ID: <592f60bef27cb60ea6405ca8603449fc4d92e640.1742435883.git.sam@gentoo.org> +From: Andi Kleen <ak@gcc.gnu.org> +Date: Wed, 19 Mar 2025 18:31:02 -0700 +Subject: [PATCH] PR119376: Disable clang musttail + +There are multiple reports (see PR 119376) now where semantic differences +in the gcc musttail implementation break existing programs written for the clang +variant. + +Even though that can be all hopefully fixed eventually, +for the gcc 15 release it seems safer to disable clang::musttail, +and only keep gnu::musttail. + +That means that programs that use __has_c_attribute to check for +clang::musttail must opt-in explicitly. + +Reported-by: Sam James + +gcc/c/ChangeLog: + + PR ipa/119376 + * c-parser.cc (c_parser_handle_musttail): Drop clang namespace + check. + +gcc/cp/ChangeLog: + + PR ipa/119376 + * parser.cc (cp_parser_jump_statement): Drop clang namespace + check. + +gcc/ChangeLog: + + PR ipa/119376 + * doc/extend.texi: Drop clang::musttail reference. + +gcc/testsuite/ChangeLog: + +PR ipa/119376 + * c-c++-common/musttail23.c: Don't use clang::musttail + * c-c++-common/musttail24.c: Dito. + * c-c++-common/musttail3.c: Dito. + * g++.dg/musttail14.C: Dito. +--- + gcc/c/c-parser.cc | 5 ----- + gcc/cp/parser.cc | 6 ------ + gcc/doc/extend.texi | 2 +- + gcc/testsuite/c-c++-common/musttail23.c | 10 +++++----- + gcc/testsuite/c-c++-common/musttail24.c | 6 ------ + gcc/testsuite/c-c++-common/musttail3.c | 6 +++--- + gcc/testsuite/g++.dg/musttail14.C | 4 ++-- + 7 files changed, 11 insertions(+), 28 deletions(-) + +diff --git a/gcc/c/c-parser.cc b/gcc/c/c-parser.cc +index d49d5c58659f..79654448acaa 100644 +--- a/gcc/c/c-parser.cc ++++ b/gcc/c/c-parser.cc +@@ -7409,11 +7409,6 @@ c_parser_handle_musttail (c_parser *parser, tree std_attrs, attr_state &attr) + std_attrs = remove_attribute ("gnu", "musttail", std_attrs); + attr.musttail_p = true; + } +- if (lookup_attribute ("clang", "musttail", std_attrs)) +- { +- std_attrs = remove_attribute ("clang", "musttail", std_attrs); +- attr.musttail_p = true; +- } + } + return std_attrs; + } +diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc +index 2fb1dc5992d4..da7700b55c64 100644 +--- a/gcc/cp/parser.cc ++++ b/gcc/cp/parser.cc +@@ -15342,12 +15342,6 @@ cp_parser_jump_statement (cp_parser* parser, tree &std_attrs) + musttail_p = true; + std_attrs = remove_attribute ("gnu", "musttail", std_attrs); + } +- /* Support this for compatibility. */ +- if (lookup_attribute ("clang", "musttail", std_attrs)) +- { +- musttail_p = true; +- std_attrs = remove_attribute ("clang", "musttail", std_attrs); +- } + + tree ret_expr = expr; + if (ret_expr && TREE_CODE (ret_expr) == TARGET_EXPR) +diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi +index b919df914648..50f95e968ff9 100644 +--- a/gcc/doc/extend.texi ++++ b/gcc/doc/extend.texi +@@ -10241,7 +10241,7 @@ have to optimize it to just @code{return 42 + 42;}. + @cindex @code{musttail} statement attribute + @item musttail + +-The @code{gnu::musttail} or @code{clang::musttail} standard attribute ++The @code{gnu::musttail} standard attribute + or @code{musttail} GNU attribute can be applied to a @code{return} statement + with a return-value expression that is a function call. It asserts that the + call must be a tail call that does not allocate extra stack space, so it is +diff --git a/gcc/testsuite/c-c++-common/musttail23.c b/gcc/testsuite/c-c++-common/musttail23.c +index d2ba70b03250..1ceab1165129 100644 +--- a/gcc/testsuite/c-c++-common/musttail23.c ++++ b/gcc/testsuite/c-c++-common/musttail23.c +@@ -19,10 +19,10 @@ foo (int x) + [[gnu::musttail (1, "", 3)]] return bar (); /* { dg-error "'musttail' attribute does not take any arguments" } */ + /* { dg-error "expected" "" { target c } .-1 } */ + if (x == 3) +- [[clang::musttail (1)]] return bar (); /* { dg-error "'musttail' attribute does not take any arguments" } */ ++ [[gnu::musttail (1)]] return bar (); /* { dg-error "'musttail' attribute does not take any arguments" } */ + /* { dg-error "expected" "" { target c } .-1 } */ + if (x == 4) +- [[clang::musttail (1, "", 3)]] return bar (); /* { dg-error "'musttail' attribute does not take any arguments" } */ ++ [[gnu::musttail (1, "", 3)]] return bar (); /* { dg-error "'musttail' attribute does not take any arguments" } */ + /* { dg-error "expected" "" { target c } .-1 } */ + if (x == 5) + __attribute__((fallthrough, musttail)) return bar (); /* { dg-warning "attribute 'musttail' mixed with other attributes on 'return' statement" "" { target c } } */ +@@ -32,14 +32,14 @@ foo (int x) + [[fallthrough]] [[gnu::musttail]] return bar (); /* { dg-warning "'fallthrough' attribute ignored" "" { target c } } */ + /* { dg-warning "attributes at the beginning of statement are ignored" "" { target c++ } .-1 } */ + if (x == 7) +- [[clang::musttail, fallthrough]] return bar (); /* { dg-warning "'fallthrough' attribute ignored" "" { target c } } */ ++ [[gnu::musttail, fallthrough]] return bar (); /* { dg-warning "'fallthrough' attribute ignored" "" { target c } } */ + /* { dg-warning "attributes at the beginning of statement are ignored" "" { target c++ } .-1 } */ + if (x == 8) + __attribute__((musttail, musttail)) return bar (); + if (x == 9) + [[gnu::musttail, gnu::musttail]] return bar (); + if (x == 10) +- [[clang::musttail]] [[clang::musttail]] return bar (); ++ [[gnu::musttail]] [[gnu::musttail]] return bar (); + if (x == 11) +- [[clang::musttail]] [[gnu::musttail]] return bar (); ++ [[gnu::musttail]] [[gnu::musttail]] return bar (); + } +diff --git a/gcc/testsuite/c-c++-common/musttail24.c b/gcc/testsuite/c-c++-common/musttail24.c +index 10c2d3f188d8..26b8dbfb4c8e 100644 +--- a/gcc/testsuite/c-c++-common/musttail24.c ++++ b/gcc/testsuite/c-c++-common/musttail24.c +@@ -8,14 +8,8 @@ + #if !__has_cpp_attribute (gnu::musttail) + #error missing gnu::musttail attribute + #endif +-#if !__has_cpp_attribute (clang::musttail) +-#error missing clang::musttail attribute +-#endif + #else + #if !__has_c_attribute (gnu::musttail) + #error missing gnu::musttail attribute + #endif +-#if !__has_c_attribute (clang::musttail) +-#error missing clang::musttail attribute +-#endif + #endif +diff --git a/gcc/testsuite/c-c++-common/musttail3.c b/gcc/testsuite/c-c++-common/musttail3.c +index 7499fd6460b4..daedca28852a 100644 +--- a/gcc/testsuite/c-c++-common/musttail3.c ++++ b/gcc/testsuite/c-c++-common/musttail3.c +@@ -11,7 +11,7 @@ struct str + cstruct (int x) + { + if (x < 10) +- [[clang::musttail]] return cstruct (x + 1); ++ [[gnu::musttail]] return cstruct (x + 1); + return ((struct str){ x, 0 }); + } + +@@ -19,11 +19,11 @@ int + foo (int x) + { + if (x < 10) +- [[clang::musttail]] return foo2 (x, 29); ++ [[gnu::musttail]] return foo2 (x, 29); + if (x < 100) + { + int k = foo (x + 1); +- [[clang::musttail]] return k; /* { dg-error "cannot tail-call: " } */ ++ [[gnu::musttail]] return k; /* { dg-error "cannot tail-call: " } */ + } + return x; + } +diff --git a/gcc/testsuite/g++.dg/musttail14.C b/gcc/testsuite/g++.dg/musttail14.C +index 810b45546d61..e4764a3bc03b 100644 +--- a/gcc/testsuite/g++.dg/musttail14.C ++++ b/gcc/testsuite/g++.dg/musttail14.C +@@ -58,8 +58,8 @@ garply (int x) + case 3: + __attribute__(()) [[gnu::musttail]] __attribute__(()) [[]] __attribute__(()) return qux (45); + case 4: +- [[]] __attribute__(()) [[clang::musttail]] __attribute__(()) [[]] return corge (46); ++ [[]] __attribute__(()) [[gnu::musttail]] __attribute__(()) [[]] return corge (46); + default: +- __attribute__(()) [[clang::musttail]] __attribute__(()) [[]] __attribute__(()) return freddy (47); ++ __attribute__(()) [[gnu::musttail]] __attribute__(()) [[]] __attribute__(()) return freddy (47); + } + } +-- +2.49.0 diff --git a/sys-devel/gcc/files/gcc-15.0.1_pre20250323-e2fsprogs.patch b/sys-devel/gcc/files/gcc-15.0.1_pre20250323-e2fsprogs.patch new file mode 100644 index 000000000000..5619bd5ef5a4 --- /dev/null +++ b/sys-devel/gcc/files/gcc-15.0.1_pre20250323-e2fsprogs.patch @@ -0,0 +1,112 @@ +https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=584b346a4c7a6e6e77da6dc80968401a3c08161d + +From 584b346a4c7a6e6e77da6dc80968401a3c08161d Mon Sep 17 00:00:00 2001 +From: Jakub Jelinek <jakub@redhat.com> +Date: Tue, 25 Mar 2025 16:55:24 +0100 +Subject: [PATCH] i386: Fix up combination of -2 r<<= (x & 7) into btr + [PR119428] + +The following patch is miscompiled from r15-8478 but latently already +since my r11-5756 and r11-6631 changes. +The r11-5756 change was +https://gcc.gnu.org/pipermail/gcc-patches/2020-December/561164.html +which changed the splitters to immediately throw away the masking. +And the r11-6631 change was an optimization to recognize +(set (zero_extract:HI (...) (const_int 1) (...)) (const_int 1) +as btr. + +The problem is their interaction. x86 is not a SHIFT_COUNT_TRUNCATED +target, so the masking needs to be explicit in the IL. +And combine.cc (make_field_assignment) has since 1992 optimizations +which try to optimize x &= (-2 r<< y) into zero_extract (x) = 0. +Now, such an optimization is fine if y has not been masked or if the +chosen zero_extract has the same mode as the rotate (or it recognizes +something with a left shift too). IMHO such optimization is invalid +for SHIFT_COUNT_TRUNCATED targets because we explicitly say that +the masking of the shift/rotate counts are redundant there and don't +need to be part of the IL (I have a patch for that, but because it +is just latent, I'm not sure it needs to be posted for gcc 15 (and +also am not sure if it should punt or add operand masking just in case)). +x86 is not SHIFT_COUNT_TRUNCATED though and so even fixing combine +not to do that for SHIFT_COUNT_TRUNCATED targets doesn't help, and we don't +have QImode insv, so it is optimized into HImode insertions. Now, +if the y in x &= (-2 r<< y) wasn't masked in any way, turning it into +HImode btr is just fine, but if it was x &= (-2 r<< (y & 7)) and we just +decided to throw away the masking, using btr changes the behavior on it +and causes e2fsprogs and sqlite miscompilations. + +So IMHO on !SHIFT_COUNT_TRUNCATED targets, we need to keep the maskings +explicit in the IL, either at least for the duration of the combine pass +as does the following patch (where combine is the only known pass to have +such transformation), or even keep it until final pass in case there are +some later optimizations that would also need to know whether there was +explicit masking or not and with what mask. The latter change would be +much larger. + +The following patch just reverts the r11-5756 change and adds a testcase. + +2025-03-25 Jakub Jelinek <jakub@redhat.com> + + PR target/96226 + PR target/119428 + * config/i386/i386.md (splitter after *<rotate_insn><mode>3_mask, + splitter after *<rotate_insn><mode>3_mask_1): Revert 2020-12-05 + changes. + + * gcc.c-torture/execute/pr119428.c: New test. +--- + gcc/config/i386/i386.md | 6 ++++-- + gcc/testsuite/gcc.c-torture/execute/pr119428.c | 18 ++++++++++++++++++ + 2 files changed, 22 insertions(+), 2 deletions(-) + create mode 100644 gcc/testsuite/gcc.c-torture/execute/pr119428.c + +diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md +index 2b3cffc1f350..9d1b34e55959 100644 +--- a/gcc/config/i386/i386.md ++++ b/gcc/config/i386/i386.md +@@ -18168,7 +18168,8 @@ + [(set (match_dup 4) (match_dup 1)) + (set (match_dup 0) + (any_rotate:SWI (match_dup 4) +- (subreg:QI (match_dup 2) 0)))] ++ (subreg:QI ++ (and:SI (match_dup 2) (match_dup 3)) 0)))] + "operands[4] = gen_reg_rtx (<MODE>mode);") + + (define_insn_and_split "*<insn><mode>3_mask_1" +@@ -18202,7 +18203,8 @@ + == GET_MODE_BITSIZE (<MODE>mode) - 1" + [(set (match_dup 4) (match_dup 1)) + (set (match_dup 0) +- (any_rotate:SWI (match_dup 4) (match_dup 2)))] ++ (any_rotate:SWI (match_dup 4) ++ (and:QI (match_dup 2) (match_dup 3))))] + "operands[4] = gen_reg_rtx (<MODE>mode);") + + (define_insn_and_split "*<insn><mode>3_add" +diff --git a/gcc/testsuite/gcc.c-torture/execute/pr119428.c b/gcc/testsuite/gcc.c-torture/execute/pr119428.c +new file mode 100644 +index 000000000000..33a93f46b3bd +--- /dev/null ++++ b/gcc/testsuite/gcc.c-torture/execute/pr119428.c +@@ -0,0 +1,18 @@ ++/* PR target/119428 */ ++ ++__attribute__((noipa)) void ++foo (unsigned int x, unsigned char *y) ++{ ++ y += x >> 3; ++ *y &= (unsigned char) ~(1 << (x & 0x07)); ++} ++ ++int ++main () ++{ ++ unsigned char buf[8]; ++ __builtin_memset (buf, 0xff, 8); ++ foo (8, buf); ++ if (buf[1] != 0xfe) ++ __builtin_abort (); ++} +-- +2.43.5 diff --git a/sys-devel/gcc/files/gcc-15.0.1_pre20250330-lifetime-extension.patch b/sys-devel/gcc/files/gcc-15.0.1_pre20250330-lifetime-extension.patch new file mode 100644 index 000000000000..42eed3f6bb86 --- /dev/null +++ b/sys-devel/gcc/files/gcc-15.0.1_pre20250330-lifetime-extension.patch @@ -0,0 +1,168 @@ +https://inbox.sourceware.org/gcc-patches/Z-sCHDjucrcWTs2f@redhat.com/ + +From d1ddf83b25fbe6c7c247007c754b7858cfaea916 Mon Sep 17 00:00:00 2001 +Message-ID: <d1ddf83b25fbe6c7c247007c754b7858cfaea916.1743458566.git.sam@gentoo.org> +From: Marek Polacek <polacek@redhat.com> +Date: Mon, 31 Mar 2025 16:59:08 -0400 +Subject: [PATCH] c++: fix missing lifetime extension [PR119383] + +Since r15-8011 cp_build_indirect_ref_1 won't do the *&TARGET_EXPR -> +TARGET_EXPR folding not to change its value category. That fix seems +correct but it made us stop extending the lifetime in this testcase, +causing a wrong-code issue -- extend_ref_init_temps_1 did not see +through the extra *& because it doesn't use a tree walk. + +This patch reverts r15-8011 and instead handles the problem in +build_over_call by calling force_lvalue in the is_really_empty_class +case as well as in the general case. + + PR c++/119383 + +gcc/cp/ChangeLog: + + * call.cc (build_over_call): Use force_lvalue to ensure op= returns + an lvalue. + * cp-tree.h (force_lvalue): Declare. + * cvt.cc (force_lvalue): New. + * typeck.cc (cp_build_indirect_ref_1): Revert r15-8011. + +gcc/testsuite/ChangeLog: + +* g++.dg/cpp0x/temp-extend3.C: New test. +--- + gcc/cp/call.cc | 9 ++++--- + gcc/cp/cp-tree.h | 1 + + gcc/cp/cvt.cc | 13 +++++++++ + gcc/cp/typeck.cc | 10 +++---- + gcc/testsuite/g++.dg/cpp0x/temp-extend3.C | 32 +++++++++++++++++++++++ + 5 files changed, 55 insertions(+), 10 deletions(-) + create mode 100644 gcc/testsuite/g++.dg/cpp0x/temp-extend3.C + +diff --git a/gcc/cp/call.cc b/gcc/cp/call.cc +index c1c8987ec8b1..b1469cb5a4c9 100644 +--- a/gcc/cp/call.cc ++++ b/gcc/cp/call.cc +@@ -10828,10 +10828,8 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain) + if (is_really_empty_class (type, /*ignore_vptr*/true)) + { + /* Avoid copying empty classes, but ensure op= returns an lvalue even +- if the object argument isn't one. This isn't needed in other cases +- since MODIFY_EXPR is always considered an lvalue. */ +- to = cp_build_addr_expr (to, tf_none); +- to = cp_build_indirect_ref (input_location, to, RO_ARROW, complain); ++ if the object argument isn't one. */ ++ to = force_lvalue (to, complain); + val = build2 (COMPOUND_EXPR, type, arg, to); + suppress_warning (val, OPT_Wunused); + } +@@ -10852,6 +10850,9 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain) + tree array_type, alias_set; + + arg2 = TYPE_SIZE_UNIT (as_base); ++ /* Ensure op= returns an lvalue even if the object argument isn't ++ one. */ ++ to = force_lvalue (to, complain); + to = cp_stabilize_reference (to); + arg0 = cp_build_addr_expr (to, complain); + +diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h +index 2f2122dcf241..927f51b116b3 100644 +--- a/gcc/cp/cp-tree.h ++++ b/gcc/cp/cp-tree.h +@@ -7079,6 +7079,7 @@ extern tree convert_to_reference (tree, tree, int, int, tree, + tsubst_flags_t); + extern tree convert_from_reference (tree); + extern tree force_rvalue (tree, tsubst_flags_t); ++extern tree force_lvalue (tree, tsubst_flags_t); + extern tree ocp_convert (tree, tree, int, int, + tsubst_flags_t); + extern tree cp_convert (tree, tree, tsubst_flags_t); +diff --git a/gcc/cp/cvt.cc b/gcc/cp/cvt.cc +index bd1f147f2c56..f663a6d08c89 100644 +--- a/gcc/cp/cvt.cc ++++ b/gcc/cp/cvt.cc +@@ -575,6 +575,19 @@ force_rvalue (tree expr, tsubst_flags_t complain) + return expr; + } + ++/* Force EXPR to be an lvalue, if it isn't already. */ ++ ++tree ++force_lvalue (tree expr, tsubst_flags_t complain) ++{ ++ if (!lvalue_p (expr)) ++ { ++ expr = cp_build_addr_expr (expr, complain); ++ expr = cp_build_indirect_ref (input_location, expr, RO_ARROW, complain); ++ } ++ return expr; ++} ++ + + /* If EXPR and ORIG are INTEGER_CSTs, return a version of EXPR that has + TREE_OVERFLOW set only if it is set in ORIG. Otherwise, return EXPR +diff --git a/gcc/cp/typeck.cc b/gcc/cp/typeck.cc +index c8e4441fb8b4..4f4dc683b5a0 100644 +--- a/gcc/cp/typeck.cc ++++ b/gcc/cp/typeck.cc +@@ -3870,13 +3870,11 @@ cp_build_indirect_ref_1 (location_t loc, tree ptr, ref_operator errorstring, + return error_mark_node; + } + else if (do_fold && TREE_CODE (pointer) == ADDR_EXPR +- && same_type_p (t, TREE_TYPE (TREE_OPERAND (pointer, 0))) +- /* Don't let this change the value category. '*&TARGET_EXPR' +- is an lvalue, but folding it into 'TARGET_EXPR' would turn +- it into a prvalue of class type. */ +- && lvalue_p (TREE_OPERAND (pointer, 0))) ++ && same_type_p (t, TREE_TYPE (TREE_OPERAND (pointer, 0)))) + /* The POINTER was something like `&x'. We simplify `*&x' to +- `x'. */ ++ `x'. This change the value category: '*&TARGET_EXPR' ++ is an lvalue and folding it into 'TARGET_EXPR' turns it into ++ a prvalue of class type. */ + return TREE_OPERAND (pointer, 0); + else + { +diff --git a/gcc/testsuite/g++.dg/cpp0x/temp-extend3.C b/gcc/testsuite/g++.dg/cpp0x/temp-extend3.C +new file mode 100644 +index 000000000000..3eab88d0076e +--- /dev/null ++++ b/gcc/testsuite/g++.dg/cpp0x/temp-extend3.C +@@ -0,0 +1,32 @@ ++// PR c++/119383 ++// { dg-do run { target c++11 } } ++ ++int g; ++ ++struct base { ++ virtual base *clone() const = 0; ++ ~base() { } ++}; ++ ++struct impl : virtual base { ++ base *clone() const { return new impl; } // #1 ++ impl() { ++g; } ++ ~impl() { --g; } ++}; ++ ++const base * ++make_a_clone () ++{ ++ const base &base = impl{}; // #2 ++ return base.clone(); ++} ++ ++int ++main () ++{ ++ make_a_clone (); ++ // impl::impl() is called twice (#1 and #2), impl::~impl() once, ++ // at the end of make_a_clone. ++ if (g != 1) ++ __builtin_abort (); ++} + +base-commit: aa3aaf2bfb8fcc17076993df4297597b68bc5f60 +-- +2.49.0 + diff --git a/sys-devel/gcc/gcc-10.5.0.ebuild b/sys-devel/gcc/gcc-10.5.0.ebuild index 0f2205413cb9..886019dca3e5 100644 --- a/sys-devel/gcc/gcc-10.5.0.ebuild +++ b/sys-devel/gcc/gcc-10.5.0.ebuild @@ -1,15 +1,18 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="10.5.0" PATCH_VER="6" MUSL_VER="2" MUSL_GCC_VER="10.5.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-11.5.0.ebuild b/sys-devel/gcc/gcc-11.5.0.ebuild index b378f2ea9405..477eb3fd96ac 100644 --- a/sys-devel/gcc/gcc-11.5.0.ebuild +++ b/sys-devel/gcc/gcc-11.5.0.ebuild @@ -1,15 +1,18 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="11.5.0" PATCH_VER="1" MUSL_VER="2" MUSL_GCC_VER="11.4.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.4.0.ebuild b/sys-devel/gcc/gcc-12.4.0.ebuild index e3066d71350d..8198fc49dbb4 100644 --- a/sys-devel/gcc/gcc-12.4.0.ebuild +++ b/sys-devel/gcc/gcc-12.4.0.ebuild @@ -1,15 +1,18 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.4.0" PATCH_VER="1" MUSL_VER="1" MUSL_GCC_VER="12.4.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.4.1_p20241219.ebuild b/sys-devel/gcc/gcc-12.4.1_p20241219.ebuild index 0e2516dfa303..bc4c233455e3 100644 --- a/sys-devel/gcc/gcc-12.4.1_p20241219.ebuild +++ b/sys-devel/gcc/gcc-12.4.1_p20241219.ebuild @@ -1,15 +1,18 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.4.0" PATCH_VER="2" MUSL_VER="1" MUSL_GCC_VER="12.4.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.4.1_p20250227.ebuild b/sys-devel/gcc/gcc-12.4.1_p20250227.ebuild index 2ea8273862ee..abbfb04944b8 100644 --- a/sys-devel/gcc/gcc-12.4.1_p20250227.ebuild +++ b/sys-devel/gcc/gcc-12.4.1_p20250227.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.4.0" PATCH_VER="2" MUSL_VER="1" MUSL_GCC_VER="12.4.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.4.1_p20250306.ebuild b/sys-devel/gcc/gcc-12.4.1_p20250320.ebuild index 83011b194d30..1e4993aa40d0 100644 --- a/sys-devel/gcc/gcc-12.4.1_p20250306.ebuild +++ b/sys-devel/gcc/gcc-12.4.1_p20250320.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.4.0" PATCH_VER="2" MUSL_VER="1" MUSL_GCC_VER="12.4.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.4.1_p20250313.ebuild b/sys-devel/gcc/gcc-12.4.1_p20250327.ebuild index 83011b194d30..1e4993aa40d0 100644 --- a/sys-devel/gcc/gcc-12.4.1_p20250313.ebuild +++ b/sys-devel/gcc/gcc-12.4.1_p20250327.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.4.0" PATCH_VER="2" MUSL_VER="1" MUSL_GCC_VER="12.4.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-12.4.1_p20250403.ebuild b/sys-devel/gcc/gcc-12.4.1_p20250403.ebuild new file mode 100644 index 000000000000..fb6181799426 --- /dev/null +++ b/sys-devel/gcc/gcc-12.4.1_p20250403.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="12.4.0" +PATCH_VER="3" +MUSL_VER="1" +MUSL_GCC_VER="12.4.0" +PYTHON_COMPAT=( python3_{10..13} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply_user +} diff --git a/sys-devel/gcc/gcc-12.5.9999.ebuild b/sys-devel/gcc/gcc-12.5.9999.ebuild index 0043f4a8e801..8e7542f313af 100644 --- a/sys-devel/gcc/gcc-12.5.9999.ebuild +++ b/sys-devel/gcc/gcc-12.5.9999.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="12.4.0" MUSL_GCC_VER="12.4.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.2.0.ebuild b/sys-devel/gcc/gcc-13.2.0.ebuild index dc739761db42..51f50a6419e8 100644 --- a/sys-devel/gcc/gcc-13.2.0.ebuild +++ b/sys-devel/gcc/gcc-13.2.0.ebuild @@ -1,9 +1,12 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +PYTHON_COMPAT=( python3_{10..13} ) TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.2.0" diff --git a/sys-devel/gcc/gcc-13.3.1_p20241220.ebuild b/sys-devel/gcc/gcc-13.3.1_p20241220.ebuild index fe5ff279c92e..716039677f5e 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20241220.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20241220.ebuild @@ -1,15 +1,18 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.3.0" MUSL_GCC_VER="13.2.0" PATCH_VER="2" MUSL_VER="2" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.3.1_p20250301.ebuild b/sys-devel/gcc/gcc-13.3.1_p20250301.ebuild index 4ffc7cf0e20a..7969b89177cc 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20250301.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20250301.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.3.0" MUSL_GCC_VER="13.2.0" PATCH_VER="2" MUSL_VER="2" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.3.1_p20250314.ebuild b/sys-devel/gcc/gcc-13.3.1_p20250321.ebuild index ac245b9b4177..bdc9b8c2e5b6 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20250314.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20250321.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.3.0" MUSL_GCC_VER="13.2.0" PATCH_VER="2" MUSL_VER="2" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.3.1_p20250307.ebuild b/sys-devel/gcc/gcc-13.3.1_p20250328.ebuild index ac245b9b4177..bdc9b8c2e5b6 100644 --- a/sys-devel/gcc/gcc-13.3.1_p20250307.ebuild +++ b/sys-devel/gcc/gcc-13.3.1_p20250328.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.3.0" MUSL_GCC_VER="13.2.0" PATCH_VER="2" MUSL_VER="2" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-13.4.9999.ebuild b/sys-devel/gcc/gcc-13.4.9999.ebuild index 63dafe8c1a36..1de90381b631 100644 --- a/sys-devel/gcc/gcc-13.4.9999.ebuild +++ b/sys-devel/gcc/gcc-13.4.9999.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="13.3.0" MUSL_GCC_VER="13.3.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/gcc/gcc-14.2.1_p20241221.ebuild b/sys-devel/gcc/gcc-14.2.1_p20241221.ebuild index 24c331b6c98b..4e0e4421fa08 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20241221.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20241221.ebuild @@ -1,15 +1,18 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.2.0" PATCH_VER="7" MUSL_VER="1" MUSL_GCC_VER="14.1.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-14.2.1_p20250301.ebuild b/sys-devel/gcc/gcc-14.2.1_p20250301.ebuild index ec135f5bd0b7..a2ede76ffc5f 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20250301.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20250301.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.2.0" PATCH_VER="8" MUSL_VER="1" MUSL_GCC_VER="14.1.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-14.2.1_p20250308.ebuild b/sys-devel/gcc/gcc-14.2.1_p20250322.ebuild index 8797a7ea318b..d405a1386bd4 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20250308.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20250322.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.2.0" PATCH_VER="8" MUSL_VER="1" MUSL_GCC_VER="14.1.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-14.2.1_p20250315.ebuild b/sys-devel/gcc/gcc-14.2.1_p20250329.ebuild index 8797a7ea318b..d405a1386bd4 100644 --- a/sys-devel/gcc/gcc-14.2.1_p20250315.ebuild +++ b/sys-devel/gcc/gcc-14.2.1_p20250329.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.2.0" PATCH_VER="8" MUSL_VER="1" MUSL_GCC_VER="14.1.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-14.3.9999.ebuild b/sys-devel/gcc/gcc-14.3.9999.ebuild index 84d9971ffbe8..0465a3f8e64c 100644 --- a/sys-devel/gcc/gcc-14.3.9999.ebuild +++ b/sys-devel/gcc/gcc-14.3.9999.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="14.2.0" MUSL_GCC_VER="14.2.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-15.0.1_pre20250316.ebuild b/sys-devel/gcc/gcc-15.0.1_pre20250323-r1.ebuild index 2b8242c47ec0..2a59abeeb80c 100644 --- a/sys-devel/gcc/gcc-15.0.1_pre20250316.ebuild +++ b/sys-devel/gcc/gcc-15.0.1_pre20250323-r1.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" -PATCH_VER="47" +PATCH_VER="48" MUSL_VER="2" MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs @@ -48,5 +51,7 @@ src_prepare() { done toolchain_src_prepare + eapply "${FILESDIR}"/${P}-e2fsprogs.patch + eapply "${FILESDIR}"/${P}-disable-musttail.patch eapply_user } diff --git a/sys-devel/gcc/gcc-15.0.1_pre20250330-r1.ebuild b/sys-devel/gcc/gcc-15.0.1_pre20250330-r1.ebuild new file mode 100644 index 000000000000..f51cba8957f7 --- /dev/null +++ b/sys-devel/gcc/gcc-15.0.1_pre20250330-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.0.0" +PATCH_VER="50" +MUSL_VER="2" +MUSL_GCC_VER="15.0.0" +PYTHON_COMPAT=( python3_{10..13} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + 80_all_PR119376-tailc-Don-t-fail-musttail-calls-if-they-use-or-could.patch + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${P}-lifetime-extension.patch + eapply "${FILESDIR}"/${PN}-15.0.1_pre20250323-disable-musttail.patch + eapply_user +} diff --git a/sys-devel/gcc/gcc-15.0.1_pre20250330-r2.ebuild b/sys-devel/gcc/gcc-15.0.1_pre20250330-r2.ebuild new file mode 100644 index 000000000000..6baa03cc8933 --- /dev/null +++ b/sys-devel/gcc/gcc-15.0.1_pre20250330-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_PATCH_DEV="sam" +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.0.0" +PATCH_VER="51" +MUSL_VER="2" +MUSL_GCC_VER="15.0.0" +PYTHON_COMPAT=( python3_{10..13} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz" + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${WORKDIR}"/gcc-15.0.1_pre20250330-patches + eapply_user +} diff --git a/sys-devel/gcc/gcc-15.0.1_pre20250309.ebuild b/sys-devel/gcc/gcc-15.0.1_pre20250330.ebuild index 729c8b24821d..8a87e0ec2f08 100644 --- a/sys-devel/gcc/gcc-15.0.1_pre20250309.ebuild +++ b/sys-devel/gcc/gcc-15.0.1_pre20250330.ebuild @@ -3,13 +3,16 @@ EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" -PATCH_VER="46" +PATCH_VER="50" MUSL_VER="2" MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-15.0.9999.ebuild b/sys-devel/gcc/gcc-15.0.9999.ebuild index 01eae230d759..a6edd9dc968f 100644 --- a/sys-devel/gcc/gcc-15.0.9999.ebuild +++ b/sys-devel/gcc/gcc-15.0.9999.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="15.0.0" MUSL_GCC_VER="15.0.0" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then # Cheesy hack for RCs diff --git a/sys-devel/gcc/gcc-8.5.0-r2.ebuild b/sys-devel/gcc/gcc-8.5.0-r2.ebuild index bb2c7eb73ab8..650d49559b88 100644 --- a/sys-devel/gcc/gcc-8.5.0-r2.ebuild +++ b/sys-devel/gcc/gcc-8.5.0-r2.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_SUFFIX="xz" TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_VER="4" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit toolchain diff --git a/sys-devel/gcc/gcc-9.5.0.ebuild b/sys-devel/gcc/gcc-9.5.0.ebuild index db195459e4a6..a38688e620b5 100644 --- a/sys-devel/gcc/gcc-9.5.0.ebuild +++ b/sys-devel/gcc/gcc-9.5.0.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + TOOLCHAIN_PATCH_DEV="sam" TOOLCHAIN_HAS_TESTS=1 PATCH_GCC_VER="9.5.0" PATCH_VER="2" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) if [[ ${PV} == *.9999 ]] ; then MY_PV_2=$(ver_cut 2) diff --git a/sys-devel/mold/Manifest b/sys-devel/mold/Manifest index 960b6ab221d5..68f39a27f101 100644 --- a/sys-devel/mold/Manifest +++ b/sys-devel/mold/Manifest @@ -5,7 +5,7 @@ DIST mold-2.36.0.tar.gz 10094759 BLAKE2B d86e6c7b71bbda0f02fbf2215f15a0e4c15cbb0 DIST mold-2.37.1.tar.gz 10169802 BLAKE2B 702f5678f070b66cd3e6a2df000aad73ce6248d0bb025bfbfaa5de76be71c2ea265c45c5e5086426c79354f95c9326e0c33b0e78a144881a22456fbb495e46b1 SHA512 641c6668ee31368409d80ea01c0d84a58eac827eedc110495ca075bfce22081c906308d027e4723750995fc0d8b6bba8be3c3472c20f765ef45d14e1c4e36cd4 EBUILD mold-2.1.0.ebuild 2169 BLAKE2B b91dec8fb9890052e06cf40124f7647833a6ea786d95d44863848bfff17c0ba335f28aaac08d6971a619dbb845b9091d1134bae47f70bd811d2fde0f9ca11066 SHA512 5d27926e5003e6bd24ee3baf8258ab043aa660b7a36918500283bbec9d991ad8ea6971add52579ba6ee10a7eeeb97a6dff3a7e065c7292ced42d2f0043e33d1e EBUILD mold-2.35.1.ebuild 2587 BLAKE2B 37ce681019fab2dcc215efa29628214c974bf4b5d9331528f49ac674fe9e82b540ddd1d5755207761cccc186a1763956ec8a6087b1531324c278b94cc412aa90 SHA512 e40620b614d823308d9440785ccfd3a4a597f14b1af07c013fbd0a5a29f000a22b817cf7f9e8360c9e3beff3b55a679b454c1b2e7d86ae465fd7d934f699d778 -EBUILD mold-2.36.0.ebuild 2644 BLAKE2B a80b9c704fe4e722de16caac1715d5cf77efc6472010d44f7aee9ab5c72d8ccbb8f2d3f2aa899c1f9ea2ba00d978b5a51fe2c19827001f4bcebc0bf993971d50 SHA512 d32f3d70481fb4c965e069b54022e6bd413980241e38a9f9e35e42b8decf610f1a831aa1982a59ef7a648398d9a7fc7e21f14b9306eddf8f652e7e714dad3c46 +EBUILD mold-2.36.0.ebuild 2643 BLAKE2B 53026434252a6f9fac0aa74aff3a2649dd8678934a04be7ac253b10ea65a135bbcf6cff53c79cef76dbf8fc61da3cd983cbef119118a6fb658aea8cf2fb0cb03 SHA512 d6e164c93e9ad2a3000e61f576b9d6c972572726b6b0833b73357077907a2d65a8493b01ba8ff469dce631dd75101b3474db6a4ad080bf1cc27c2fe96f77aa56 EBUILD mold-2.37.1.ebuild 2744 BLAKE2B 5ada51542d02fb71e8487d596525d18967adf25f627e5499738fe5c2e7952021f019d111c9caa9cc9e3c669dd76fc9dd72000171042c91f356aa13987a120794 SHA512 14fff705c54127d0323a7c5f3558cfa28ce1b41b2c91de97292e7b98718d2a9bd8287ad80d55bfe786aca42a8fa84cb4fe325477a2402db7ec2d449bfbe3b2a6 EBUILD mold-9999.ebuild 2744 BLAKE2B 5ada51542d02fb71e8487d596525d18967adf25f627e5499738fe5c2e7952021f019d111c9caa9cc9e3c669dd76fc9dd72000171042c91f356aa13987a120794 SHA512 14fff705c54127d0323a7c5f3558cfa28ce1b41b2c91de97292e7b98718d2a9bd8287ad80d55bfe786aca42a8fa84cb4fe325477a2402db7ec2d449bfbe3b2a6 MISC metadata.xml 424 BLAKE2B a1c0cbdcb86c323fa1e6143c9665ec548f7713e74002a25b2fc26c51b60dae00922d3448a5aaecd5027a8cb026a681386ca7dea90657a3e10b25fb194dafc0d3 SHA512 1adc934e78ca0210743a1aa7479ebc4b5ea0b66a348c4408423460f02b404b885d3a8eca6e89ea8ac53ac9c76e85116965f1eef79e3f3e1f0451c8cf5ce0dfd6 diff --git a/sys-devel/mold/mold-2.36.0.ebuild b/sys-devel/mold/mold-2.36.0.ebuild index 4d2c1476008e..5097ae6cfba9 100644 --- a/sys-devel/mold/mold-2.36.0.ebuild +++ b/sys-devel/mold/mold-2.36.0.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then else SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" # -alpha: https://github.com/rui314/mold/commit/3711ddb95e23c12991f6b8c7bfeba4f1421d19d4 - KEYWORDS="-alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86" + KEYWORDS="-alpha amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86" fi # mold (MIT) diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest index c6a48bd0b108..c4c0b06e1d1c 100644 --- a/sys-devel/patch/Manifest +++ b/sys-devel/patch/Manifest @@ -13,14 +13,12 @@ AUX patch-2.7.6-configure-mkdir.patch 478 BLAKE2B 95135becb2749c9c0217aa6185a384 AUX patch-2.7.6-fix-error-handling-with-git-style-patches.patch 3582 BLAKE2B c443abb5112283aeb20db4ccf57c0d1241bfa586ad8d54d0ff2e1ae9026174f560df37dda1fedfc39db8178db05f77a4f94827ede80982311f475f460e4ae57f SHA512 1c05cf05b7348b86c878bd464a3f2f978b3e97655bf4f9aa83732af8bfd1e82046b88db39b7ce70e33ffc00c7f09c28ba777fba3fbd9538fd76767bfc396f382 AUX patch-2.7.6-fix-test-suite.patch 3006 BLAKE2B 4b00c743f880f3cd672d6d37ff89d691d34d38b9652a9434544db10c3e28adf412071a14b5f6e4fcb1cead5e6ec0c20f786b061c96eb3fed4d9e8744a18bb02a SHA512 626256394ca2df1fadfb6cfaaa4458b86912ba70debac88d959ce3c34d2f5791284fb2b9b38b88b3e38a50a1e0f6585f0c860a9866f27c40be4884e95d7d83f2 AUX patch-2.7.6-ndebug-assert-hash-table.patch 1563 BLAKE2B 283a1d0cf5228965809223fd977d9793313b8b031e8666813b0fc68da9b841ff9d46d840261fb8ef7e3b45957151f351d832d9c860df8e37ad9490a895f5edaa SHA512 5847dc8288ddd5149902bd0b2e4fb33d37eaf5d6ee253ccbba25378bec2261640b0ce557a89aff7e48d306ef825f7a8db9bb87707f42615bea103784e0cfc7d4 -AUX patch-2.7.6_p20250206-no-backup-if-mismatch-regression.patch 3476 BLAKE2B 3251e773b11cdc6d37e0907d17d4c659eb58107c8ea270de9d77b976d58879a8429689f7e97cfc9ed3b58215b3d1b0493724f6d33c1e197508bb8be34ad48747 SHA512 1da3bca476f2969422417f5803914c6bbb4b4fb44ac3576ff1b0fa8598c4fe627e99a3acf54336c326f0f7b21cf485c219c315549eabc1a121b48451697642d9 -AUX patch-2.7.6_p20250206-traditional-diff-lines.patch 2936 BLAKE2B f21a58b6e39694d9237a9eb5e05ef2aa6ba30fce4348e216c81302666e2a941a6a6bbd4a30df4d3c0a1b50fb56044152d727eec64cf903b298237c626266c7a9 SHA512 45c0103d868f93106c2df1e2cd79a51ec5208dbead0f003f213083d0d1e723e2d881916c04d5b45bf208cb062782f97e05a95356d5ccc63fff53ccfbac2f2e62 DIST patch-2.7.6.tar.xz 783756 BLAKE2B e3dd2d155a94c39cb60eafc26677e84de14c3a6d5814dff69de091ded52f21862490970254297795f2c42a0c3203f7e88a8f65bb66968f8dfd6e066bf53f2dfb SHA512 fcca87bdb67a88685a8a25597f9e015f5e60197b9a269fa350ae35a7991ed8da553939b4bbc7f7d3cfd863c67142af403b04165633acbce4339056a905e87fbd DIST patch-2.7.6.tar.xz.sig 801 BLAKE2B 8f2decb10402ecf0208d05ea7cce3bae565d31ee2bb2a118367c117d25b158d8bd525cae654ec0c0e2c036cc8f47a331edc1bb10b100683ade64dfa3b651988b SHA512 1302a1110dcda4f3d83b5263415d72be55c46dae0efb1c123e9c346154e09def5657004bbe7249e2d014555349410e7a5217140dd8852331235f75bcc757351b -DIST patch-2.7.6_p20250206.tar.xz 906596 BLAKE2B f110bcf19b655c900327088ba023743fd845161dd00cab228675d3c0992fa397916adf153c35775fc5ff8e733b559ce8a05eac71eec7156403f4c9ab17ff2a3e SHA512 2dd05af5f9f0864b0cccc5c5194d0ba4ca427fc366b91210e2f539a50bd2006d7142606f8f223b45c5d426eafef7e6b17c6b67c2ef9b7ec75589bb3d9fce68d3 -DIST patch-2.7.6_p20250206.tar.xz.sig 833 BLAKE2B 8363136c58bbde5c349a4c96cd277588f3b679a98ea1c21da39bcf375c2b85c0d36165f1dceab453a09bcc2745d5ab6959d5ba28020e138591e7530dbf72f180 SHA512 a114f836502bb02910c8f88d7e667ce92ef6b0b9a26eb466ee9bd1ad8956036867801b19ea3ee27418fe0fb6e673e3d5d2aad2b9c05f7e99fd8bb1a9d604ea6f +DIST patch-2.8.tar.xz 907208 BLAKE2B 687f566201adb2e32c3832b911adaddd9994aacb25b66886d6315bfe2752e09fd551b3856a39024b8472b2d95efebf412d4a7c085812a13620de811073a397ad SHA512 d689d696660a662753e8660792733c3be0a94c76abfe7a28b0f9f70300c3a42d6437d081553a59bfde6e1b0d5ee13ed89be48d0b00b6da2cadbfc14a15ada603 +DIST patch-2.8.tar.xz.sig 833 BLAKE2B 6890bd25e2b4b5633b58073949f28f7c71c57667af9e4d92acc8f1736740c6433adf7078bf9ed3199158bd9734d080dba5b7eb46577d5714aa487d79fd938603 SHA512 8050bc11cd52ee930025e40550afe6c1a866a4a74fdc99332087c2d0fe8358b83d031322bf64480333fe682a7f52127fba7aceffa0cf6747e1ee3f239539f5f7 EBUILD patch-2.7.6-r6.ebuild 2393 BLAKE2B bee456b5704807b931046f85172a93aa3ed564979a02ff307943b7c4d585d21bdcebc1d637f5914925d0eb9d088f5d2413ab9903ec8daf442a316455c9a2954a SHA512 706529f59336e2d746b88c68acfea63d299372505e021b38fd301f25ae09c3afc2fea9daab73526399dc1fa0898914a1937f9a18d1bce1c0cade10354ec484c6 EBUILD patch-2.7.6-r7.ebuild 2463 BLAKE2B f7ac6ef1bf4a98c8e8bc1257a1fd1732325888ea96e10c3ad1e130262b3e53ef73c82b82042fce0a990dba79e9be5a09c2bb1a51b730b6283ae67ed725323244 SHA512 36e5e6b27932bb904953d139f42bba3a6ce1d0e321b67298c54a422204bb124ed4206a3ccc4e3ce8ed2610c2265b26ef049a4bfdc3a4695055893e3010a57b93 -EBUILD patch-2.7.6_p20250206-r1.ebuild 2406 BLAKE2B 90bc1c01591a62cd5068d0dadfc4e850810e4283dc1a10bf63ff10c0102736447bf552ef0afdc64a5dac90da09e53e445c79bd2a369234a6c5f0b6fbc67c1946 SHA512 8b71298941bb4a2edfc314aa6b9008a8b3ae6388911d94fde5f0b822aa3b887193d63842368d6e28dfe0353671b5a4c68447e5a37d251984638d4e7e366abf2f +EBUILD patch-2.8.ebuild 2043 BLAKE2B 1656b1095752f92ae19eba238049d203590bea056d784f1011f8fdf48ab95a16bb4a91b51674cf7ce1e8e01889abfbb45d8a19a371da37ce3f64889d2ca2fea1 SHA512 d15f55a85a5674d05805931b75369c13ae072582ed370d590a85831e1591304cff232ab69752795303555b64a7b090894d99061a51db0024c887ce170682f6af EBUILD patch-9999.ebuild 2043 BLAKE2B 1656b1095752f92ae19eba238049d203590bea056d784f1011f8fdf48ab95a16bb4a91b51674cf7ce1e8e01889abfbb45d8a19a371da37ce3f64889d2ca2fea1 SHA512 d15f55a85a5674d05805931b75369c13ae072582ed370d590a85831e1591304cff232ab69752795303555b64a7b090894d99061a51db0024c887ce170682f6af MISC metadata.xml 329 BLAKE2B ac0ac5e4a422955e2e1cc040d03ab9df083c70d0275145366ffe47c04fb08ac5e9c1cf776ab9c96e023910a0f66a7ff3cfd8377574d8e282cd78c435a6d8bdd2 SHA512 a0c5d5bc2d111a6d22afa4bae0e56ac7f927798122fed5373dd64a214d7b51dc436482bf21eb2ef32073c2f4004cb6dd6449afd58b7ab6936ed3c2e3a4c39872 diff --git a/sys-devel/patch/files/patch-2.7.6_p20250206-no-backup-if-mismatch-regression.patch b/sys-devel/patch/files/patch-2.7.6_p20250206-no-backup-if-mismatch-regression.patch deleted file mode 100644 index f4d162694ab4..000000000000 --- a/sys-devel/patch/files/patch-2.7.6_p20250206-no-backup-if-mismatch-regression.patch +++ /dev/null @@ -1,131 +0,0 @@ -From b5d2124e2e6019ee5d329b49ef6904a0daec74a1 Mon Sep 17 00:00:00 2001 -From: Paul Eggert <eggert@cs.ucla.edu> -Date: Mon, 24 Feb 2025 22:59:51 -0800 -Subject: [PATCH] patch: fix --no-backup-if-mismatch regression - -Problem reported by Sam James in: -https://lists.gnu.org/archive/html/bug-patch/2025-02/msg00014.html -https://bugs.gentoo.org/show_bug.cgi?id=949834 -* src/patch.c (backup_if_mismatch_specified): New static var. -(get_some_switches): Set it. -(main): Default backup_if_mismatch only if not set on command line. -* tests/no-backup: New file. -* tests/Makefile.am (TESTS): Add it. ---- - src/patch.c | 6 ++++- - tests/Makefile.am | 1 + - tests/no-backup | 56 +++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 62 insertions(+), 1 deletion(-) - create mode 100644 tests/no-backup - -diff --git a/src/patch.c b/src/patch.c -index 6c460f7..e4d0524 100644 ---- a/src/patch.c -+++ b/src/patch.c -@@ -118,6 +118,7 @@ static bool merge; - static enum diff reject_format = NO_DIFF; /* automatic */ - static bool make_backups; - static bool backup_if_mismatch; -+static bool backup_if_mismatch_specified; - static char const *version_control; - static char const *version_control_context; - static bool remove_empty_files; -@@ -196,7 +197,8 @@ main (int argc, char **argv) - if (set_utc && setenv ("TZ", "UTC0", 1) < 0) - pfatal ("setenv"); - -- backup_if_mismatch = ! posixly_correct; -+ if (!backup_if_mismatch_specified) -+ backup_if_mismatch = !posixly_correct; - if (make_backups | backup_if_mismatch) - backup_type = get_version (version_control_context, version_control); - -@@ -1050,9 +1052,11 @@ get_some_switches (int argc, char **argv) - usage (stdout, EXIT_SUCCESS); - case CHAR_MAX + 5: - backup_if_mismatch = true; -+ backup_if_mismatch_specified = true; - break; - case CHAR_MAX + 6: - backup_if_mismatch = false; -+ backup_if_mismatch_specified = true; - break; - case CHAR_MAX + 7: - posixly_correct = true; -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 43ddf66..acb449a 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -50,6 +50,7 @@ TESTS = \ - mixed-patch-types \ - munged-context-format \ - need-filename \ -+ no-backup \ - no-mode-change-git-diff \ - no-newline-triggers-assert \ - preserve-c-function-names \ -diff --git a/tests/no-backup b/tests/no-backup -new file mode 100644 -index 0000000..57b73fa ---- /dev/null -+++ b/tests/no-backup -@@ -0,0 +1,56 @@ -+# Copyright 2025 Free Software Foundation, Inc. -+# -+# Copying and distribution of this file, with or without modification, -+# in any medium, are permitted without royalty provided the copyright -+# notice and this notice are preserved. -+ -+# Test the --no-backup-if-mismatch option -+ -+. $srcdir/test-lib.sh -+ -+require cat -+use_local_patch -+use_tmpdir -+ -+# ============================================================== -+ -+cat >my_file <<'EOF' -+/* ... */ -+void baz(); -+ -+ -+void baz() { -+ /* ... */ -+} -+ -+int main() { -+ int foo; -+ int bar; -+ -+ /* ... */ -+ baz(); -+} -+EOF -+ -+cat >my_file.patch <<'EOF' -+--- my_file 2025-02-16 11:22:12.881765792 +0000 -++++ my_file_new 2025-02-16 11:22:12.881796732 +0000 -+@@ -2,7 +2,7 @@ -+ void baz(); -+ -+ void baz() { -+- /* ... */ -++ // ... -+ } -+ -+ int main() { -+EOF -+ -+unset POSIXLY_CORRECT -+ -+check 'patch -N --no-backup-if-mismatch <my_file.patch || echo "Status: $?"' <<'EOF' -+patching file my_file -+Hunk #1 succeeded at 3 with fuzz 1 (offset 1 line). -+EOF -+ -+ncheck 'test ! -f my_file.orig' --- -2.45.3 - diff --git a/sys-devel/patch/files/patch-2.7.6_p20250206-traditional-diff-lines.patch b/sys-devel/patch/files/patch-2.7.6_p20250206-traditional-diff-lines.patch deleted file mode 100644 index 3d9d3109e91c..000000000000 --- a/sys-devel/patch/files/patch-2.7.6_p20250206-traditional-diff-lines.patch +++ /dev/null @@ -1,114 +0,0 @@ -From 29fced6251928e6334fa15fd28bf2c198acd4cd4 Mon Sep 17 00:00:00 2001 -From: Paul Eggert <eggert@cs.ucla.edu> -Date: Wed, 26 Feb 2025 16:44:48 -0800 -Subject: [PATCH 1/2] Count traditional diff pattern lines correctly -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This fixes a bug I introduced on Thu Sep 5 16:37:50 2024 -0700. -Problem reported by Petr Vaněk in: -https://lists.gnu.org/archive/html/bug-patch/2025-02/msg00017.html -* src/pch.c (another_hunk): Fix method for counting number -of lines in a traditional diff hunk. ---- - src/pch.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/pch.c b/src/pch.c -index 63c9a0c..d9f5c61 100644 ---- a/src/pch.c -+++ b/src/pch.c -@@ -1765,9 +1765,10 @@ another_hunk (enum diff difftype, bool rev) - if (*s == ',') { - idx_t last; - s = scan_linenum (s + 1, &last); -- if (p_first >= IDX_MAX - p_ptrn_lines) -+ ptrdiff_t diff = last - p_first; -+ if (! (-1 <= diff && diff < IDX_MAX)) - malformed (); -- p_ptrn_lines += 1 - p_first; -+ p_ptrn_lines = diff + 1; - } - else - p_ptrn_lines = (*s != 'a'); --- -2.45.3 - - -From b3d0c933389208ccac795a1b517c5a8b11cc012e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20Van=C4=9Bk?= <arkamar@gentoo.org> -Date: Wed, 26 Feb 2025 16:44:48 -0800 -Subject: [PATCH 2/2] Regression in commit abe92e8010ab affecting MariaDB tests - -I have disovered a regression in commit abe92e8010ab ("Prefer idx_t, -ptrdiff_t to lin") while I was running MariaDB tests. The regression is -related to a diff file [1], where the patch fails to apply it with -following error: - - patch: **** '---' expected at line 2 of patch - -To illustrate the issue, I have attached a git patch containing a -testcase with simplified reproducer. - -[1] https://github.com/MariaDB/server/blob/mariadb-10.6.21/mysql-test/suite/innodb/r/innodb-wl5522%2Cstrict_crc32.rdiff file ---- - tests/Makefile.am | 1 + - tests/regression-abe92e8010ab | 33 +++++++++++++++++++++++++++++++++ - 2 files changed, 34 insertions(+) - create mode 100644 tests/regression-abe92e8010ab - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index acb449a..8f1a248 100644 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -57,6 +57,7 @@ TESTS = \ - preserve-mode-and-timestamp \ - quoted-filenames \ - read-only-files \ -+ regression-abe92e8010ab \ - reject-format \ - remember-backup-files \ - remember-reject-files \ -diff --git a/tests/regression-abe92e8010ab b/tests/regression-abe92e8010ab -new file mode 100644 -index 0000000..0e11e34 ---- /dev/null -+++ b/tests/regression-abe92e8010ab -@@ -0,0 +1,33 @@ -+. $srcdir/test-lib.sh -+ -+require cat -+use_local_patch -+use_tmpdir -+ -+cat > f <<EOF -+1 -+2 -+test: -+a -+4 -+EOF -+ -+cat > f.diff <<EOF -+2,3c2 -+< test: -+< a -+--- -+> 3 -+EOF -+ -+check 'patch f < f.diff' <<EOF -+patching file f -+Hunk #1 succeeded at 3 (offset 1 line). -+EOF -+ -+check 'cat f' <<EOF -+1 -+2 -+3 -+4 -+EOF --- -2.45.3 - diff --git a/sys-devel/patch/patch-2.7.6_p20250206-r1.ebuild b/sys-devel/patch/patch-2.8.ebuild index 0c0ae58d62c4..c410f22ffd4f 100644 --- a/sys-devel/patch/patch-2.7.6_p20250206-r1.ebuild +++ b/sys-devel/patch/patch-2.8.ebuild @@ -3,11 +3,6 @@ EAPI=8 -WANT_AUTOCONF=none -WANT_LIBTOOL=none -WANT_AUTOMAKE=1.16 -inherit autotools - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/patch.asc inherit flag-o-matic verify-sig @@ -26,8 +21,9 @@ elif [[ ${PV} = *_p* ]] ; then else SRC_URI="mirror://gnu/patch/${P}.tar.xz" SRC_URI+=" verify-sig? ( mirror://gnu/patch/${P}.tar.xz.sig )" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" LICENSE="GPL-3+" SLOT="0" @@ -41,13 +37,6 @@ BDEPEND=" verify-sig? ( >=sec-keys/openpgp-keys-patch-20250206 ) " -PATCHES=( - # backport fix for https://bugs.gentoo.org/949834 - "${FILESDIR}"/${P}-no-backup-if-mismatch-regression.patch - # backport https://lists.gnu.org/archive/html/bug-patch/2025-02/msg00017.html - "${FILESDIR}"/${P}-traditional-diff-lines.patch -) - src_unpack() { if [[ ${PV} == 9999 ]] ; then git-r3_src_unpack @@ -61,11 +50,6 @@ src_unpack() { default } -src_prepare() { - default - eautomake -} - src_configure() { use static && append-ldflags -static diff --git a/sys-devel/rust-std/Manifest b/sys-devel/rust-std/Manifest index c8fd1ab342c8..eeb786ce68f6 100644 --- a/sys-devel/rust-std/Manifest +++ b/sys-devel/rust-std/Manifest @@ -10,6 +10,8 @@ DIST rustc-1.82.0-src.tar.xz 219769328 BLAKE2B 611f33e134c2d459c9af1695c0a4d033d DIST rustc-1.83.0-src.tar.xz 353808388 BLAKE2B 217c85f7351a7c57a2684da2c7c81a32094187b3812dee628b327a5b2faca57235abc54d033c586c071c8bfa0c7360bb28761aaa42fe18414e388db704d81231 SHA512 64db57949c6ac1df6a3f4c6bd0938685a5fb1bc3d318b34ccfcfccb0f9eff1cffd4d8a53a190ef0409eeca9ad12bc6234c2c1de69196cc74ae02d6afa20d0ce6 DIST rustc-1.84.1-src.tar.xz 355078168 BLAKE2B 849e8c909493bf76ce9749b9dcb1967180223b91a41d690bc477e78557d4e24949c9a8d8276d824af8c54ad62bc4a998e7a8efbc0bbd2008a4f64f51a7690d48 SHA512 f1cc4765736551508408126e44086988e8ddc30c1a929bf7b61c6be85ad0d65928dd5fb1041cfaeee8eb37d2208f2c1917e276aef2bc9a8e40e34f6713b349e1 DIST rustc-1.85.0-src.tar.xz 274011696 BLAKE2B 9cb1c5b9fa9b0ee8a3150d634b58f4d14c38342f19cffbdcaa4e783150f9b3c516763d549d9998d90e11377cd59e9d9442a99079aafccdc005739b075574447a SHA512 3e9c933d1d9b6e5fb081837cf07eb1638b1a6b4fd1cb607dd860c5021ba7b521edbaf8ba0fa8f182f62178b72a3e1a3e6b26675e8fb6530871137852a074443c +DIST rustc-1.85.1-src.tar.xz 274028992 BLAKE2B 1dddbbc0d14fe9551fd2eb59a47521ac7eaf783b8ebf5e89d3e82b38f3f1539c14626a86b6530a47e5a967d47a04db7a3daef568eb5164f42d98b6826346cffe SHA512 d61afb4f00d0c63eef132e10ca5369202064ecad8ab5bcf4fbd62e9a20b2bd71840b2a769dadcf43452fc0448865975c9de1c129752caa9928d2757027bacf7c +DIST rustc-1.86.0-src.tar.xz 275696736 BLAKE2B 9f33a710a3e567d92f56091920643f5ef2ddf2ad52acb5d9ee78496a7b5dbc10da5a51c72cf2a6f66d543a531d3138a49767c98501ae4e885e03988d2ccfbb59 SHA512 9ce195e24a03765f7163de16271e3d19d731d4b80fcc2bfd919106c9d42543eade018f712f6947ea3c6e57c6cb2e6841596aa668d608b8da15101a7da14f3097 EBUILD rust-std-1.71.1.ebuild 3434 BLAKE2B b419921941149604dde46b09eaf4c6c3456a750e86984e9da87f55a8c26a6f47ad0af220c9bf25eeb64087417cf03bfe21f2c649b9e4a470fac704665ea03991 SHA512 7b01967a53f8cc7343088ce1e744a5622f2e6129df1e3807490b782a9819e71493dd06cb848cdd748aa8caa8edda51af1c7088c819e249855cd2143c5b824df1 EBUILD rust-std-1.74.1.ebuild 3425 BLAKE2B 565cff2ad12983badb862c9c4cdf1ca6b29de258e0a612cc3320fab5b4802fe7fb15ca6e15e9a7f4007675a6ca9d9b294b01deaed19b61b411199ce5e70f25bd SHA512 49c10f5731a6d22c86b07497135c7a372bdc6d6c9cf5e6f4ec6848a73725d1238a94fc814763e60d6e680d1720e33e2607a458a5fbae41a043d6514abc9c4fbb EBUILD rust-std-1.75.0.ebuild 3513 BLAKE2B 0c7896ca2859e793c0daef7f0c8b28ec676dc80c737602bd127f420f651c922f4d5e4d0d066a4f22f3bf7f23d3b3e3da4b8903dd6b3cda8a00b170b44ee24906 SHA512 c4261b37358667ac32851fda7f79eb210bec30b2de69d5b867a5e6a6b26bbb10eb1acea2837fff4b836e0642982b15dff1b75912b0548959e5c9600d174c36ce @@ -21,4 +23,6 @@ EBUILD rust-std-1.82.0.ebuild 3424 BLAKE2B a1c2699723dfe16c431d46779b4bfa0360116 EBUILD rust-std-1.83.0.ebuild 3424 BLAKE2B a1c2699723dfe16c431d46779b4bfa03601162a912961e0c0c0c3aa95b39a69726513e6d040c8aebc4ff0dcf9f9d5aae9b20acc694407251b328749ca7e55048 SHA512 bbc066c53e4742f704a5f67431c6295e780b231145258eb8812c19a2ee048526eadf2a28727dfdb9f37f5adb205806ad0d1088fee7ec053ad70ac3fa6d8fe1c3 EBUILD rust-std-1.84.1.ebuild 3424 BLAKE2B fc74d016011076c5666a5bd3e2f81817d54bd1befb750ee39ea9c9310eda4995682ff24d3d327900148e06691167d3610692baf33ef29ae9652863aa7c6a8a23 SHA512 2d135ccb3cff3701ae8230821d14b2048a37b1ea94fe79da992bcbe9d007a6d95f46fbfaab41d7bbd49952b4fa99c548e95107ac7d37d88cf9c90fac992d6f6c EBUILD rust-std-1.85.0.ebuild 3422 BLAKE2B 34e0955fd9bd456ec8f81b372c79fc9c8a4fa536d212abd4fed6de83bac34bf474048e70c39677bf927e9baaecc693ffb684f3ebf3fab699eb2e4045fe7f3cb1 SHA512 3224c1992b9fc485b245aab95d5f330855f3f7f7be611495ab25b6de3ca523cf493e017807b6afba3d46bad2d1415ecc4ffa0393ff0930000ff688963ad6d43b +EBUILD rust-std-1.85.1.ebuild 3422 BLAKE2B 34e0955fd9bd456ec8f81b372c79fc9c8a4fa536d212abd4fed6de83bac34bf474048e70c39677bf927e9baaecc693ffb684f3ebf3fab699eb2e4045fe7f3cb1 SHA512 3224c1992b9fc485b245aab95d5f330855f3f7f7be611495ab25b6de3ca523cf493e017807b6afba3d46bad2d1415ecc4ffa0393ff0930000ff688963ad6d43b +EBUILD rust-std-1.86.0.ebuild 3422 BLAKE2B 34e0955fd9bd456ec8f81b372c79fc9c8a4fa536d212abd4fed6de83bac34bf474048e70c39677bf927e9baaecc693ffb684f3ebf3fab699eb2e4045fe7f3cb1 SHA512 3224c1992b9fc485b245aab95d5f330855f3f7f7be611495ab25b6de3ca523cf493e017807b6afba3d46bad2d1415ecc4ffa0393ff0930000ff688963ad6d43b MISC metadata.xml 1088 BLAKE2B de084a7853c3464405807bbd6d75477dbfdee3f3f8318d27b1dd01ec9a3cf8af1072a0593105f2220caff6ebe055d36ca2974cabf00271458a2a13c2f394ccaa SHA512 c0cb17085432a5316b4a4a719398d5998b6379273fb94a7ee517b385b70a3bc6b61e9bb77ae1bb3fa94fe2efef403eab7c2a4c802f431abe4af22d392b764e96 diff --git a/sys-devel/rust-std/rust-std-1.85.1.ebuild b/sys-devel/rust-std/rust-std-1.85.1.ebuild new file mode 100644 index 000000000000..c81b21f0667a --- /dev/null +++ b/sys-devel/rust-std/rust-std-1.85.1.ebuild @@ -0,0 +1,152 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit flag-o-matic multiprocessing python-any-r1 rust-toolchain toolchain-funcs + +DESCRIPTION="Rust standard library, standalone (for crossdev)" +HOMEPAGE="https://www.rust-lang.org" +SRC_URI="https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz" +S="${WORKDIR}/${P/-std/c}-src" + +LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4" +SLOT="stable/$(ver_cut 1-2)" +# please do not keyword +#KEYWORDS="" #nowarn +IUSE="debug" + +BDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/rust-${PV}:= +" +DEPEND="|| + ( + >="${CATEGORY}"/gcc-4.7:* + >="${CATEGORY/sys-devel/llvm-core}"/clang-3.5:* + ) +" +RDEPEND="${DEPEND}" + +# need full compiler to run tests +RESTRICT="test" + +QA_FLAGS_IGNORED="usr/lib/rust/${PV}/rustlib/.*/lib/lib.*.so" + +# +# The cross magic +# +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +is_cross() { + [[ ${CHOST} != ${CTARGET} ]] +} + +toml_usex() { + usex "$1" true false +} + +pkg_pretend() { + is_cross || die "${PN} should only be used for cross" +} + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + default +} + +src_configure() { + # do the great cleanup + strip-flags + filter-flags '-mcpu=*' '-march=*' '-mtune=*' '-m32' '-m64' + strip-unsupported-flags + + local rust_root x + rust_root="$(rustc --print sysroot)" + rtarget="$(rust_abi ${CTARGET})" + rtarget="${ERUST_STD_RTARGET:-${rtarget}}" # some targets need to be custom. + rbuild="$(rust_abi ${CBUILD})" + rhost="$(rust_abi ${CHOST})" + + echo + for x in CATEGORY rust_root rbuild rhost rtarget RUSTFLAGS CFLAGS CXXFLAGS LDFLAGS; do + einfo "$(printf '%10s' ${x^^}:) ${!x}" + done + + cat <<- EOF > "${S}"/config.toml + [build] + build = "${rbuild}" + host = ["${rhost}"] + target = ["${rtarget}"] + cargo = "${rust_root}/bin/cargo" + rustc = "${rust_root}/bin/rustc" + submodules = false + python = "${EPYTHON}" + locked-deps = true + vendor = true + extended = true + verbose = 2 + cargo-native-static = false + [install] + prefix = "${EPREFIX}/usr/lib/${PN}/${PV}" + sysconfdir = "etc" + docdir = "share/doc/rust" + bindir = "bin" + libdir = "lib" + mandir = "share/man" + [rust] + # https://github.com/rust-lang/rust/issues/54872 + codegen-units-std = 1 + optimize = true + debug = $(toml_usex debug) + debug-assertions = $(toml_usex debug) + debuginfo-level-rustc = 0 + backtrace = true + incremental = false + default-linker = "$(tc-getCC)" + rpath = false + dist-src = false + remap-debuginfo = true + jemalloc = false + [dist] + src-tarball = false + [target.${rtarget}] + ar = "$(tc-getAR ${CTARGET})" + cc = "$(tc-getCC ${CTARGET})" + cxx = "$(tc-getCXX ${CTARGET})" + linker = "$(tc-getCC ${CTARGET})" + ranlib = "$(tc-getRANLIB ${CTARGET})" + $(usev elibc_musl 'crt-static = false') + EOF + + einfo "${PN^} configured with the following settings:" + cat "${S}"/config.toml || die +} + +src_compile() { + env RUST_BACKTRACE=1 \ + "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) \ + library/std --stage 0 || die +} + +src_test() { + ewarn "${PN} can't run tests" +} + +src_install() { + local rustlib="lib/rust/${PV}/lib/rustlib" + dodir "/usr/${rustlib}" + pushd "build/${rhost}/stage0-sysroot/lib/rustlib" > /dev/null || die + cp -pPRv "${rtarget}" "${ED}/usr/${rustlib}" || die + popd > /dev/null || die +} diff --git a/sys-devel/rust-std/rust-std-1.86.0.ebuild b/sys-devel/rust-std/rust-std-1.86.0.ebuild new file mode 100644 index 000000000000..c81b21f0667a --- /dev/null +++ b/sys-devel/rust-std/rust-std-1.86.0.ebuild @@ -0,0 +1,152 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit flag-o-matic multiprocessing python-any-r1 rust-toolchain toolchain-funcs + +DESCRIPTION="Rust standard library, standalone (for crossdev)" +HOMEPAGE="https://www.rust-lang.org" +SRC_URI="https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz" +S="${WORKDIR}/${P/-std/c}-src" + +LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4" +SLOT="stable/$(ver_cut 1-2)" +# please do not keyword +#KEYWORDS="" #nowarn +IUSE="debug" + +BDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/rust-${PV}:= +" +DEPEND="|| + ( + >="${CATEGORY}"/gcc-4.7:* + >="${CATEGORY/sys-devel/llvm-core}"/clang-3.5:* + ) +" +RDEPEND="${DEPEND}" + +# need full compiler to run tests +RESTRICT="test" + +QA_FLAGS_IGNORED="usr/lib/rust/${PV}/rustlib/.*/lib/lib.*.so" + +# +# The cross magic +# +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +is_cross() { + [[ ${CHOST} != ${CTARGET} ]] +} + +toml_usex() { + usex "$1" true false +} + +pkg_pretend() { + is_cross || die "${PN} should only be used for cross" +} + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + default +} + +src_configure() { + # do the great cleanup + strip-flags + filter-flags '-mcpu=*' '-march=*' '-mtune=*' '-m32' '-m64' + strip-unsupported-flags + + local rust_root x + rust_root="$(rustc --print sysroot)" + rtarget="$(rust_abi ${CTARGET})" + rtarget="${ERUST_STD_RTARGET:-${rtarget}}" # some targets need to be custom. + rbuild="$(rust_abi ${CBUILD})" + rhost="$(rust_abi ${CHOST})" + + echo + for x in CATEGORY rust_root rbuild rhost rtarget RUSTFLAGS CFLAGS CXXFLAGS LDFLAGS; do + einfo "$(printf '%10s' ${x^^}:) ${!x}" + done + + cat <<- EOF > "${S}"/config.toml + [build] + build = "${rbuild}" + host = ["${rhost}"] + target = ["${rtarget}"] + cargo = "${rust_root}/bin/cargo" + rustc = "${rust_root}/bin/rustc" + submodules = false + python = "${EPYTHON}" + locked-deps = true + vendor = true + extended = true + verbose = 2 + cargo-native-static = false + [install] + prefix = "${EPREFIX}/usr/lib/${PN}/${PV}" + sysconfdir = "etc" + docdir = "share/doc/rust" + bindir = "bin" + libdir = "lib" + mandir = "share/man" + [rust] + # https://github.com/rust-lang/rust/issues/54872 + codegen-units-std = 1 + optimize = true + debug = $(toml_usex debug) + debug-assertions = $(toml_usex debug) + debuginfo-level-rustc = 0 + backtrace = true + incremental = false + default-linker = "$(tc-getCC)" + rpath = false + dist-src = false + remap-debuginfo = true + jemalloc = false + [dist] + src-tarball = false + [target.${rtarget}] + ar = "$(tc-getAR ${CTARGET})" + cc = "$(tc-getCC ${CTARGET})" + cxx = "$(tc-getCXX ${CTARGET})" + linker = "$(tc-getCC ${CTARGET})" + ranlib = "$(tc-getRANLIB ${CTARGET})" + $(usev elibc_musl 'crt-static = false') + EOF + + einfo "${PN^} configured with the following settings:" + cat "${S}"/config.toml || die +} + +src_compile() { + env RUST_BACKTRACE=1 \ + "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) \ + library/std --stage 0 || die +} + +src_test() { + ewarn "${PN} can't run tests" +} + +src_install() { + local rustlib="lib/rust/${PV}/lib/rustlib" + dodir "/usr/${rustlib}" + pushd "build/${rhost}/stage0-sysroot/lib/rustlib" > /dev/null || die + cp -pPRv "${rtarget}" "${ED}/usr/${rustlib}" || die + popd > /dev/null || die +} |