diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/Manifest.gz | bin | 7694 -> 7695 bytes | |||
-rw-r--r-- | sys-devel/clang-common/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/clang-common/clang-common-18.1.4-r4.ebuild (renamed from sys-devel/clang-common/clang-common-18.1.4-r3.ebuild) | 18 | ||||
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-14.0.1_pre20240430.ebuild | 67 | ||||
-rw-r--r-- | sys-devel/icecream/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/icecream/files/icecream.openrc | 10 | ||||
-rw-r--r-- | sys-devel/icecream/icecream-1.4-r1.ebuild (renamed from sys-devel/icecream/icecream-1.4.ebuild) | 2 | ||||
-rw-r--r-- | sys-devel/mold/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/mold/files/mold-2.30.0-gcc14.patch | 76 | ||||
-rw-r--r-- | sys-devel/mold/files/mold-2.30.0-which-hunt.patch | 31 | ||||
-rw-r--r-- | sys-devel/mold/mold-2.30.0.ebuild | 6 | ||||
-rw-r--r-- | sys-devel/mold/mold-2.4.0.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/mold/mold-2.4.1.ebuild | 1 | ||||
-rw-r--r-- | sys-devel/mold/mold-9999.ebuild | 1 |
15 files changed, 210 insertions, 23 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex 464c697b9182..f50f1db34152 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest index 55a55c758efd..df78884cd9ae 100644 --- a/sys-devel/clang-common/Manifest +++ b/sys-devel/clang-common/Manifest @@ -12,7 +12,7 @@ DIST llvm-project-f03cd2db91956456f1c5e2da86d3c50183eebd28.tar.gz 209375254 BLAK EBUILD clang-common-15.0.7-r8.ebuild 5482 BLAKE2B 20e8744166a852b4dbc233f128807e60bb204f14558d2cc1691b1a87777be2775d1a6c82a108945f795b02919bc47bf213b1a85e45f423c49a6009aed0fbbc3b SHA512 bf1f5cdf47c6772266117e9545994dcfb27cfd263a5e7749604106686d8e56b8b45ddab7073d6baf73e966304162f3aad755075c11dbb16bb42b88fa78e6face EBUILD clang-common-16.0.6-r4.ebuild 5726 BLAKE2B de26b88570bf487a2be2a59f4551c8e61b940fb84b0dc3cb5be1884252672782700b657fb63c0b7ac247ec2092b236a550b51273f73ec19fab7db6eeda0ff94e SHA512 9f2778fbb89d578e162b36c7a692219533437d9fbec407422e7aff1b11d942f09c8cf0edb5c5bd37bbf34523b1f947b418f954b632d769f836baa7d2493bc527 EBUILD clang-common-17.0.6-r5.ebuild 9010 BLAKE2B cbb5c5094ca6e99fc9ce1734acf02e2e35b792173f84b71e19b25e687f7a93a6fca31e4461fc580d92c0eadabe1400359bec3938fc0cba2cac9bc28a4b8d66be SHA512 ea66877912d34f11a0b788a0d188caf03a5c06098507e7bbb3fa609f594d7b9397ac8fa21c7b502238e36b1ede7bf32dc173b9a6d74a3be1e5d3f25babac9165 -EBUILD clang-common-18.1.4-r3.ebuild 8934 BLAKE2B a77b12fbdaf06369d9d59dd00470053d500572bccb209a59b634ea4685e28ece1b0ac50e7bed0f025ab08697ea91efac191823ad3419888628430332c8175d5c SHA512 4b4e1f0f1a947c127f2ad3e84df09c9309e3df9b5733f0a3f9b25473314823af9f976803830d4b2d1aa7611712fb77a0cf5536a10bd5aab2965705ff201e0d09 +EBUILD clang-common-18.1.4-r4.ebuild 9134 BLAKE2B ffad8a93bd8838dc8c22880e7cd195d777e960b4a4469ea6a3febb3507b324b582ed3109fc47685a759c9b06c6be98ecb04a56302b30ad723fe14b23989df9c8 SHA512 edddf1740383db3344500eada2484f2f1aa97bd8e3ad1142c23e4df43ee32df0cc21e085601294d4b0d02fd544e8983c1388c259af7e5d950f8fae44a1b093f6 EBUILD clang-common-19.0.0.9999.ebuild 9018 BLAKE2B 5f055aeaec9b6ebdfbfe9b84aa65dc6de8ffac3003235d3aef66e48b2f0f4daff56f38a574de61f9abb0a12e4728b27f99f726f840528ba279e7334b85d5bee4 SHA512 5463729ed67144428d5a154a91083efa2006e0d449b31f8870650097dd0b1322f4bd5ec7a7b2884ffd906a976ffa310e36dacd3c9dba519c1d5c26b3879cbd85 EBUILD clang-common-19.0.0_pre20240410.ebuild 9018 BLAKE2B 5f055aeaec9b6ebdfbfe9b84aa65dc6de8ffac3003235d3aef66e48b2f0f4daff56f38a574de61f9abb0a12e4728b27f99f726f840528ba279e7334b85d5bee4 SHA512 5463729ed67144428d5a154a91083efa2006e0d449b31f8870650097dd0b1322f4bd5ec7a7b2884ffd906a976ffa310e36dacd3c9dba519c1d5c26b3879cbd85 EBUILD clang-common-19.0.0_pre20240420.ebuild 9018 BLAKE2B 5f055aeaec9b6ebdfbfe9b84aa65dc6de8ffac3003235d3aef66e48b2f0f4daff56f38a574de61f9abb0a12e4728b27f99f726f840528ba279e7334b85d5bee4 SHA512 5463729ed67144428d5a154a91083efa2006e0d449b31f8870650097dd0b1322f4bd5ec7a7b2884ffd906a976ffa310e36dacd3c9dba519c1d5c26b3879cbd85 diff --git a/sys-devel/clang-common/clang-common-18.1.4-r3.ebuild b/sys-devel/clang-common/clang-common-18.1.4-r4.ebuild index fff63838526d..b7d4720e0e22 100644 --- a/sys-devel/clang-common/clang-common-18.1.4-r3.ebuild +++ b/sys-devel/clang-common/clang-common-18.1.4-r4.ebuild @@ -73,6 +73,11 @@ _doclang_cfg() { @gentoo-common.cfg @gentoo-common-ld.cfg EOF + if [[ ${triple} == x86_64* ]]; then + cat >> "${ED}/etc/clang/${tool}.cfg" <<-EOF || die + @gentoo-cet.cfg + EOF + fi done if use kernel_Darwin; then @@ -85,6 +90,11 @@ _doclang_cfg() { # This configuration file is used by the ${triple}-clang-cpp driver. @gentoo-common.cfg EOF + if [[ ${triple} == x86_64* ]]; then + cat >> "${ED}/etc/clang/${triple}-clang-cpp.cfg" <<-EOF || die + @gentoo-cet.cfg + EOF + fi # Install symlinks for triples with other vendor strings since some # programs insist on mangling the triple. @@ -175,11 +185,9 @@ src_install() { -include "${EPREFIX}/usr/include/gentoo/fortify.h" EOF - if use amd64; then - cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die - -Xarch_host -fcf-protection=$(usex cet full none) - EOF - fi + newins - gentoo-cet.cfg <<-EOF + -Xarch_host -fcf-protection=$(usex cet full none) + EOF if use kernel_Darwin; then newins - gentoo-hardened-ld.cfg <<-EOF diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index a316acadc625..3986b5a63d2a 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -23,6 +23,7 @@ DIST gcc-14-20240421.tar.xz 87982608 BLAKE2B e977ee966d7256e996064d0cb3a01ccbece DIST gcc-14-20240427.tar.xz 88008160 BLAKE2B 025474f2d325ee98b099e097086637983140f75df94d66e545b21a6f251760ab11b24dcd71ccc148fa23b7117d85efa2631356166e9e014eed0e35f0b0b84ee7 SHA512 91830661070619e185d77afc039b39adc70dfc630d3a95c71d2be15a7d93618200cee80922cce430cb5acd0109a72f8754e8ae85f5b668e40211d4a6339d1f54 DIST gcc-14.0.0-musl-patches-1.tar.xz 3576 BLAKE2B 692baee8a7709905d53aeb150d73a3721c4ba47ee5f397cfb1b5be905cf003ca02b60c94ee294d90ac39645cd5cdf186c7a3aa950c47d8cf680c128ed705b807 SHA512 0592ab98a7142e404623a6511c67dff61e9ade32c3fb2c0e75b456306e0af3799ad13252b50b3d2fdd31e5815d7f0b16b0ad63ab8386fe4d78729fc9c182d617 DIST gcc-14.0.0-patches-26.tar.xz 12360 BLAKE2B a2fdd6ff1774bc94f96bc4f7da4092c373936c93e04b94e75701227ab55d530523fee6b561773d05080e51748cc7716868d8b108f51a06e37a2c26a1d7f39b33 SHA512 1275e6345417ee196e74c46845d05508c8662d71e2432fbfbf7f1eb9c220657b4ee8e3b0ca02b7b4c7e14df164f254380c65af91cadc3bda4cd7afbe6af5ea8b +DIST gcc-14.1.0-RC-20240430.tar.xz 92292396 BLAKE2B c1a449c0677b6aaf61efd85cb80d14e1d27e9913a7b1b183689ccdb67ef62203d62e3665e093bbeb96b6f28c6d623694853c87ee67bb9098a4cb8397b224cdb9 SHA512 d4ee39b5e77f94dbf8212f5e026eefa15803f3cd6846d6179ea16edb6beea902bc5cb0b90a8c4383b6d6e50083f457959de2dc3b1240975eb283bff43b628f92 DIST gcc-15-20240428.tar.xz 87999896 BLAKE2B 83e53e5a93166c741bd61f1642539823f9eef5859f89c85493cfe0be412251950c07b3704e8a983c61e00fd4b0e0027f7333867f9b4245ba45d6f606ce56953d SHA512 69aedb59fd4d9ec59b7a71098bcf330ec0515e7a51e7510d237e086e7c042526aaa52a702783b6121ee7c9133345c8234d5d2fcd89459d7ae8a1a1e09c42cce8 DIST gcc-15.0.0-musl-patches-1.tar.xz 3596 BLAKE2B 48fddc723ec8282cc2704c795a50fb37a46738a555151e0430180dda61d039fe96b29a6c3e8a543386d69690302bf46dfc89aad572082b7e47c928c0ccefdeb0 SHA512 e43284d02e25b77b911ce90d57520897751e86c631bdd6beb7d2e4429000156801b8c11bd9a737ec11bc966812f13ae44b88c1893645f8e6c6f8dfddc636ec39 DIST gcc-15.0.0-patches-1.tar.xz 11588 BLAKE2B 0623914dcf3ee0d44c729776cebbecfe92b256039a48c91e3fc16a27254a9c40436a1b6ea7fa9285914b153af861ea98ab845515169af204eeea0243c890a652 SHA512 7d3bcb1adcfa79c1672737125539fc0583f9c74eb8da0301ea0e441c68afeb7e1dbcbdffbf18e03b2515b4f23822a39e339298cf88ea94b93f5fc22b497cd545 @@ -45,6 +46,7 @@ EBUILD gcc-13.2.1_p20240426.ebuild 1727 BLAKE2B 1c5dbab007729b544a2f8daec33cb6f6 EBUILD gcc-13.3.9999.ebuild 1635 BLAKE2B dd8eb497c0352febec3886808c4837e880b858ea20e68135ea72432919a9a7ff4a7e130912c06aad1e6db31f30db3e697f7978df1644f181d824be0ddbfe096c SHA512 211e181b1c449adefeedd28f6e304eac634797e897c39418da28d0ab20f5f33cfae7c10710f007fa0690cd049abd6e4a5adbd5dd02aaa6f532cbb2a593692fc0 EBUILD gcc-14.0.1_pre20240421.ebuild 1701 BLAKE2B 2d766ac2a880ac88b323e78b7c15d1758509b2180908742742913a26d583b110204193188f23eee483d5ccba736e4ad26c51f668366df3678a92a887bd37d82c SHA512 836d8a4658144abc598d65271e97b38f94a9a8882f39e3400a319c66b1e82c07bf1171a52bd9f8c2869f80b4327976e00f35354e5387518bda419023c4d2ca21 EBUILD gcc-14.0.1_pre20240427.ebuild 1701 BLAKE2B 2d766ac2a880ac88b323e78b7c15d1758509b2180908742742913a26d583b110204193188f23eee483d5ccba736e4ad26c51f668366df3678a92a887bd37d82c SHA512 836d8a4658144abc598d65271e97b38f94a9a8882f39e3400a319c66b1e82c07bf1171a52bd9f8c2869f80b4327976e00f35354e5387518bda419023c4d2ca21 +EBUILD gcc-14.0.1_pre20240430.ebuild 1720 BLAKE2B 8634f27897b913efc132a64c1adb2df035d54d89fb797b0c741252cd2b51f401fc7f071e258873173fabefdd11cc4c62a90174e26dbca3c42e25a35583683a11 SHA512 e3d6d2f09d3eb23a96d2a97cc683996418c1f0d88d0ec3b4d3f0dc8ecadab482169b9294cac8810428715b35e66ca99de4f9d1f427874adf7fc8146893dfad18 EBUILD gcc-14.0.9999.ebuild 1394 BLAKE2B 04a968c90bce4d339e8733240f491d7ca8a1a13bf927440e502727de157073de7645e430978a7d01c70475fd4a048dbe7f4c05ca6429352589ef156f77104fe8 SHA512 065f34f3bbe67f60f89b360ead2e2384080280d3d6e2670a1a081c39d0ba67e7971b237085efb88117954de7bc5d6ce863a9cefc781473000d2eb92eb1629623 EBUILD gcc-15.0.0_pre20240428.ebuild 1402 BLAKE2B a2dc6549ecd166026cefa55e320a1395c507ca41eab465f534ac1be0d299ea3dc2ab256424622a5f4b36ac589554b6c5bbb2869f1b0a769d780b00fee854b36d SHA512 dac996758ef871310c21f88d67990c22ef25bd3c5f668941e67348492e35dad5b5ef5f69affa8dd73a76bfa6e33494d35115c37d74df92f68f1cea83371471e9 EBUILD gcc-15.0.9999.ebuild 1375 BLAKE2B e7d060512e343b8e69a0d78de4fe8165f7f79ac3e45e98179d855554bc42ca3a483c6fa7412a215f01f7f2e7b6c17184290465064b2afff2af8b939d2fe7c13c SHA512 e59fb8dce92b241348d67291992c9a549c09768120e4d833413ab68d25fff31e25af9a48ac2d16256e5e674a8973e33a2f5eaf43144e33f79d5bf707c6d13ab4 diff --git a/sys-devel/gcc/gcc-14.0.1_pre20240430.ebuild b/sys-devel/gcc/gcc-14.0.1_pre20240430.ebuild new file mode 100644 index 000000000000..668f13440f36 --- /dev/null +++ b/sys-devel/gcc/gcc-14.0.1_pre20240430.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_GCC_RC=1 +TOOLCHAIN_PATCH_DEV="sam" +PATCH_GCC_VER="14.0.0" +PATCH_VER="26" +MUSL_VER="1" +MUSL_GCC_VER="14.0.0" +PYTHON_COMPAT=( python3_{10..11} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" + BDEPEND="amd64? ( >=${CATEGORY}/binutils-2.30[cet(-)?] )" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest index f36aef36990e..214c7ea34ed8 100644 --- a/sys-devel/icecream/Manifest +++ b/sys-devel/icecream/Manifest @@ -1,7 +1,7 @@ AUX icecc-scheduler.service 264 BLAKE2B 27b85732b81c77d419a3acecdc31442fa6ebd3cfb39847b61b056a266049ed4eda1fe533abec2216c6fa2b85914714b72796fe9c892c880671d9ad441a221831 SHA512 c9508266ac612cc6e9110da0d00351ef6b47855489fa9280a8e13dab1c213b0bc1b3e3e64a9bfc16ce89d295bb7418120bd46f8f2c22959d89d7178846abfe0a AUX iceccd.service 273 BLAKE2B 6d7ffa2776a8e2d813949185667f949a676240b231bf0c4d7640115fd79cb0b63a2a78506fdf4c557428390b56161bd1a296cb0f44a2505ce61a8de3aaa0b891 SHA512 1383cb4ef14bb673d49d000175dbc9363a55dc1eeb469abf2a393d7693eae0a9b25687a317431b02fd054c4f59bcba1a8eb7132c473c66236d7e2106b35fe079 AUX icecream-tmpfiles.conf 103 BLAKE2B 4a263834594e0f1fe8cc8e356520f937cfc5f1abd9f019a2b88075643ff651d002d49de113d3ab4bcbc10e22b43e03ee85ea8f948765800ba74c43e5dd3ca0e2 SHA512 152d687a9fe18c71f08c002ee87d36fe18572a6e5b7ab976bbde784c6ff80c5ecda59f9cce4561868fa53ad76a040674af4b0579a97c78c9bf141bc0533f7631 -AUX icecream.openrc 1669 BLAKE2B 18726b8d8752f3db9a2864612423dedd00b347a6802012de5c0ca30d2516b1995c9bf4ae32d1d320a5e401d9a3466f8fc7165fa805e0b9991c16b0f4a96d59d6 SHA512 8c3c66ffd508284f0dc7c9e2695d02ff283048f82f80ac9b41982b6484967b39856a4e7651015d4bb10f74e3f0a7435bd59c0a0ec5eb62bc5aee49cae0354fde +AUX icecream.openrc 1666 BLAKE2B 60a32cd3838ecd5eb1afcbfe133143dd8528e702ab29a223baa928fdb9d78fb9dc4cf4bcc4bd55ce35433a7552f57abd8c38dd10a2ee846187edab9ebc43a005 SHA512 99b539225d4f0e23a0f4fce8563bc6649eb6ad5b4eddba34146b3510d53d30a2155b0749740334c04d19d147c12b236da8ef8adfedff416023bbaf201108cb8f DIST icecream-1.4.tar.gz 232707 BLAKE2B 5fdebea4d0eba4a99e8c7c01acab46ec323a887d3fe9944da23ae7089403a9ebf7bf9870ca61af49578af6adf49679341f7070f9e3da3e8c7c2f50d9d4e7c3fe SHA512 b77dd630c51b7b6b4d7fa06cd14a580891b974fe2d50074f7a3b129adc558fc7ce19b3a3716a6798c2fd0f7d0d3a1bc295bbedee3ed6dafa015f309c7c2590f5 -EBUILD icecream-1.4.ebuild 1714 BLAKE2B 9dd4255f0160f290c6b6b4c9cf5639200deaf09e4d3cb2ad1a021ef858c011e90268b059ccd66733812699ecc0a8209e0f7c0821049a6f0c99aeb788f4f5a32c SHA512 880f1bd3f53c1517b287278f20d2543ea0a22792006424620f4e00691edf2fab1043df5d59b744abc321665de3e7bdf6e3ee7555817b686f005a6e2b1b1d6a15 +EBUILD icecream-1.4-r1.ebuild 1714 BLAKE2B e2df0d25dc9509c2b0989bbd9feaf6d4c5c005855868ff97c810727d32acc33a2f9c8175fc472e9e448978a1f05f0d3a6d191bdc0ddd0de4455900ea75d57888 SHA512 369e4d937b9caac2b61e21b42b5acf4e755372e8cfd8fa724803d29da3163d28225c98b6bf4bf0de144d7e53c8965fcedacda4b2d097e6e079e2310ab6f53f11 MISC metadata.xml 337 BLAKE2B 0a42596492049a954cd58c992c68ef68bec2a53a4eaaa83978b2d56c577f6c54fc8bc18b7621b0561fd8a348996d138e8a676ea129c94d08633663d3e254ac1a SHA512 7c96d0c35a47e595cf50c1c6efe5ccb186ec974ed0b31fea908240380f796fb9e77e2eba0ce9995a8473cd836056421d6475022f68685d88f8c360292d7284ec diff --git a/sys-devel/icecream/files/icecream.openrc b/sys-devel/icecream/files/icecream.openrc index b574874b2075..116d440cb1c4 100644 --- a/sys-devel/icecream/files/icecream.openrc +++ b/sys-devel/icecream/files/icecream.openrc @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 depend() { @@ -7,15 +7,15 @@ depend() { } start() { - basedir="${ICECREAM_BASEDIR:-'/var/cache/icecream'}" - verbosity="${ICECREAM_VERBOSITY:-'-v'}" + basedir="${ICECREAM_BASEDIR:-"/var/cache/icecream"}" + verbosity="${ICECREAM_VERBOSITY:-"-v"}" netname="${ICECREAM_NETNAME:+"-n ${ICECREAM_NETNAME}"}" - iceccd_logfile="${ICECREAM_LOG_FILE:-'/var/log/icecream/iceccd'}" + iceccd_logfile="${ICECREAM_LOG_FILE:-"/var/log/icecream/iceccd"}" nice="${ICECREAM_NICE_LEVEL:+"--nice ${ICECREAM_NICE_LEVEL}"}" scheduler="${ICECREAM_SCHEDULER_HOST:+"-s ${ICECREAM_SCHEDULER_HOST}"}" if [ "$ICECREAM_RUN_SCHEDULER" = 'yes' ]; then - sched_logfile="${ICECREAM_SCHEDULER_LOG_FILE:-'/var/log/icecream/scheduler'}" + sched_logfile="${ICECREAM_SCHEDULER_LOG_FILE:-"/var/log/icecream/scheduler"}" ebegin 'Starting Distributed Compiler Scheduler' start-stop-daemon -u icecream --start --quiet --exec /usr/sbin/icecc-scheduler -- -d -l "$sched_logfile" $netname $verbosity diff --git a/sys-devel/icecream/icecream-1.4.ebuild b/sys-devel/icecream/icecream-1.4-r1.ebuild index 487a71efceb4..23058f930d8e 100644 --- a/sys-devel/icecream/icecream-1.4.ebuild +++ b/sys-devel/icecream/icecream-1.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/sys-devel/mold/Manifest b/sys-devel/mold/Manifest index 2075fbe10ecd..03b991eb49f7 100644 --- a/sys-devel/mold/Manifest +++ b/sys-devel/mold/Manifest @@ -1,11 +1,13 @@ AUX mold-2.3.0-no-pch.patch 457 BLAKE2B ac313a6409a2e43b6d26833231cb26c36d3d34f25b25d4217d50fbd1f39eda9d5b42a1939ca8ee48f6dfb73d3c27d7c6111da9beb67a43c72d3c2beb070303b0 SHA512 c79b3e998cbc23ca7069eed95a7d7871371da9c21b6970fe2a1d8dcd1009466e262f63febbc267d364e552b2eb4bebd5d74bc6dc8084d48d4c0e9e02e1d868bc +AUX mold-2.30.0-gcc14.patch 2419 BLAKE2B 91906617dc78f620c34a31381d74bf11551dbe8963c7ac0447acc56314026342b0583441aa1857de5f6fb2255589bb79f76451d72a8a385366ece2b2a89e8960 SHA512 2e2bf547caeddb5c4970bb8f3555e104a16b499017832df86535cfeebb2ca5178fa7ed36c7e27e64a3822aab7985266ef62143668c241a632183ba4a06a19259 +AUX mold-2.30.0-which-hunt.patch 985 BLAKE2B 89d1d0ca075b1199911e63cbe87b53066557984d2ef97df89578accda4f7ca10ab279f920cce64eb1329029421750b8aa27bd482f2e6ae3655937200445ed83a SHA512 bd1ca6aba29e1cf96706153544f350a948e08e81645c2d4fb657ed8e8775b239f09f7469f2e5e8d0e6e5dde8cc6c97b938fa4441139d6c8bf5c93923db77974c DIST mold-2.1.0.tar.gz 9278811 BLAKE2B b31e13f92177553adf5069cf35c8c75c7bc28f0af4d1726cdc0c6abc1c9d3baaa5be512c3a8fb9bc3c3110096a79e1c6751c701171769595a2234fc1fa8c441a SHA512 f1c98d349b35b4042109d71f7db6eb8d7d089dc3241735bbd7b5402d513dcc85ca17904828779e5fc8234650fa9fb97f47c3a2f3e89cc2fb3cb9e9110439e5a2 DIST mold-2.30.0.tar.gz 9957539 BLAKE2B f45924598029dabfb2c02298e1f89aae848cd64e2e87dd80f500de323517db92e62df798feee8a2cd81cb930eff0640c2b9957808a4080f0027884015994ce64 SHA512 7cfba4f0fb332799ad267d3eafb8e2f0057af4484467b3e3fbaf8044220163a2c7e26cd1786510f250844c8b57e30c15167c8dd9688af1773abc580c5605abf3 DIST mold-2.4.0.tar.gz 9974233 BLAKE2B 0710d9ce0407b64b05a23e04db142d603b38d41cd9e5e322b650680ee2bd8684f57647e9a0b5efc23b2106eb1e38e38143be7d4b357b2d32e4fe0b6a99e41cca SHA512 e332d027f783dfb0a4f48b1fb7daf98e11e830f8de82b971b58ee8a7bae59eaa30b8155e7491b6057f0ce8e0b09ddd0ab1d364f01ea15517e1d089fdb292a4e5 DIST mold-2.4.1.tar.gz 9957259 BLAKE2B 17aab84c0793dc305d53a3c2f372ddc92395b6941ffe372af55cf94f4dd65ea8d63d4e85dcdb3e76622811e5f95577d6f10612102c373835d6f75f2a3d0bcfed SHA512 d61ee4306ecaa6ba5b4ce120636e70db081bb824a482bb3014429e13294134bc2560b1a9b477c47378f1062107f1c32dba2810e41be199cd6882cd1146971245 EBUILD mold-2.1.0.ebuild 2169 BLAKE2B b91dec8fb9890052e06cf40124f7647833a6ea786d95d44863848bfff17c0ba335f28aaac08d6971a619dbb845b9091d1134bae47f70bd811d2fde0f9ca11066 SHA512 5d27926e5003e6bd24ee3baf8258ab043aa660b7a36918500283bbec9d991ad8ea6971add52579ba6ee10a7eeeb97a6dff3a7e065c7292ced42d2f0043e33d1e -EBUILD mold-2.30.0.ebuild 2406 BLAKE2B 38c670ba2278dc84ed5abb390f247fa2f4c241e67c1f8e3a9a701e12ad426e6f553fc6aa96f7ef328698949df57823fbc9a40720ed83ad4b83b8019a32fde88a SHA512 f3a73a7739298f9b9f667b225774d14f02adac72d8e5dc5884907ef2ccd7e1eec3a9bc80cfa5ba70b14f976ac55dac400cc456e125d6b2eb1bf362ca8a4b9def -EBUILD mold-2.4.0.ebuild 2459 BLAKE2B 012e8034f5f9ebd72a40897e954684ee9721250c4d37735067154a2011b6344feb0da718e8106d8f7da86e0b23d16f4d952e756d92afa44781712fceae59aef3 SHA512 97c8fb81cadf290d9ccfa687cb58883288cc18241b714ba47cf54512cf36863794204d41fd49019098ff0e327541fcd4a861d8af557fbace8eb942dfebe9d6f4 -EBUILD mold-2.4.1.ebuild 2407 BLAKE2B 46d18f13582e6271a0fc9cb0c546a9aaf2efaf021420283b99a899fbd239a6c24ccb5c88e1b020a0010c7055c1d9ab6ddfdb995f83736a5496ee0febe5db344e SHA512 5027569ac8b11e7df4dd08f546292cd364676cda05d6ec594f3b768148d7e26f51b796aa17bbb222b82be4263d80afef0491d6281430cc458cd7cfa02e818550 -EBUILD mold-9999.ebuild 2407 BLAKE2B 46d18f13582e6271a0fc9cb0c546a9aaf2efaf021420283b99a899fbd239a6c24ccb5c88e1b020a0010c7055c1d9ab6ddfdb995f83736a5496ee0febe5db344e SHA512 5027569ac8b11e7df4dd08f546292cd364676cda05d6ec594f3b768148d7e26f51b796aa17bbb222b82be4263d80afef0491d6281430cc458cd7cfa02e818550 +EBUILD mold-2.30.0.ebuild 2456 BLAKE2B f91748ee6adfab7956209111c5e26711db20ad701caf255cb54d04eec8e9cc862f86e43ceb79d90cefac1e427aba479f0c84a590e4d38d16442fb3bd5f5c1538 SHA512 cc2f642d0eb97d2dc35cb25d3649f74ad008dcbc40e37c140e932b20074f156e7e36f1be81c83855372fbcb779f99646a634094fc6265be8fdb0ef42d6a3d4b7 +EBUILD mold-2.4.0.ebuild 2419 BLAKE2B 5aae5dce0f49f7982b0367cc3d0edce8bd5afa9354d69e606cae21a665e10bee32b55071cf50ac6bc1b9f7840e885b2792383674ef546b904a0ed7369368f2d4 SHA512 f5ad699310e9a53a048850c6fdc429d17fc952045c089f1b297cd0581e0e870a94c386ef0d17580dbc36ed504f64253646d12233e4e17568cd9301db90336b5d +EBUILD mold-2.4.1.ebuild 2367 BLAKE2B 64476998c316857a9b39c6ffb2d7b01a7f49063aef49e9ac0227c773775e70817efdbb07b00e465f92120af627e9201a5df65761a532258f91ff7d64077eabbe SHA512 b8d94bae9cfb163d8674524e14a854b69d4c060c2404a4848857f47b1147b6fc3a9659b9ae57bb5cfb4bc9b4f3a726b287b2256c99a895438bd1fb5fe32e13ca +EBUILD mold-9999.ebuild 2367 BLAKE2B 64476998c316857a9b39c6ffb2d7b01a7f49063aef49e9ac0227c773775e70817efdbb07b00e465f92120af627e9201a5df65761a532258f91ff7d64077eabbe SHA512 b8d94bae9cfb163d8674524e14a854b69d4c060c2404a4848857f47b1147b6fc3a9659b9ae57bb5cfb4bc9b4f3a726b287b2256c99a895438bd1fb5fe32e13ca MISC metadata.xml 424 BLAKE2B a1c0cbdcb86c323fa1e6143c9665ec548f7713e74002a25b2fc26c51b60dae00922d3448a5aaecd5027a8cb026a681386ca7dea90657a3e10b25fb194dafc0d3 SHA512 1adc934e78ca0210743a1aa7479ebc4b5ea0b66a348c4408423460f02b404b885d3a8eca6e89ea8ac53ac9c76e85116965f1eef79e3f3e1f0451c8cf5ce0dfd6 diff --git a/sys-devel/mold/files/mold-2.30.0-gcc14.patch b/sys-devel/mold/files/mold-2.30.0-gcc14.patch new file mode 100644 index 000000000000..74e7f5081eeb --- /dev/null +++ b/sys-devel/mold/files/mold-2.30.0-gcc14.patch @@ -0,0 +1,76 @@ +https://github.com/rui314/mold/issues/1244 +https://github.com/rui314/mold/commit/002d619b11f38438514f4714f9eb89e8015ba1b6 +https://github.com/rui314/mold/commit/14952546a489c23236f50adc5ef9c8ada4f4e31a + +From 002d619b11f38438514f4714f9eb89e8015ba1b6 Mon Sep 17 00:00:00 2001 +From: Rui Ueyama <ruiu@cs.stanford.edu> +Date: Thu, 25 Apr 2024 16:58:09 +0900 +Subject: [PATCH] Attempt to fix a test failure + +I believe some version of objcopy corrupts an object file when +renaming a section. In this change, I use sed instead of objcopy +as a workaround. + +Fixes https://github.com/rui314/mold/issues/1244 +--- + test/elf/exception-multiple-ehframe.sh | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/test/elf/exception-multiple-ehframe.sh b/test/elf/exception-multiple-ehframe.sh +index ca1d1a1c0..a9b360b09 100755 +--- a/test/elf/exception-multiple-ehframe.sh ++++ b/test/elf/exception-multiple-ehframe.sh +@@ -28,9 +28,9 @@ int bar() { + } + EOF + +-$OBJCOPY --rename-section .eh_frame=.eh_frame2 $t/a.o ++sed -i 's/\.eh_frame/.EH_FRAME/g' $t/a.o + ./mold -r -o $t/c.o $t/a.o $t/b.o +-$OBJCOPY --rename-section .eh_frame2=.eh_frame $t/c.o ++sed -i 's/\.EH_FRAME/.eh_frame/g' $t/c.o + + cat <<EOF | $CXX -o $t/d.o -c -xc++ - + #include <stdio.h> +@@ -44,5 +44,4 @@ int main() { + EOF + + $CXX -B. -o $t/exe1 $t/d.o $t/c.o +-$QEMU $t/exe1 + $QEMU $t/exe1 | grep -q '^1 3$' + +From 14952546a489c23236f50adc5ef9c8ada4f4e31a Mon Sep 17 00:00:00 2001 +From: Rui Ueyama <ruiu@cs.stanford.edu> +Date: Sun, 28 Apr 2024 13:04:43 +0900 +Subject: [PATCH] Do not edit binary files with sed + +Fixes https://github.com/rui314/mold/issues/1244 +--- + test/elf/exception-multiple-ehframe.sh | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/test/elf/exception-multiple-ehframe.sh b/test/elf/exception-multiple-ehframe.sh +index a9b360b09..8cc31624a 100755 +--- a/test/elf/exception-multiple-ehframe.sh ++++ b/test/elf/exception-multiple-ehframe.sh +@@ -3,6 +3,8 @@ + + nm mold | grep -q '__tsan_init' && skip + ++which perl > /dev/null || skip ++ + [ $MACHINE = m68k ] && skip + [ $MACHINE = sh4 ] && skip + +@@ -28,9 +30,9 @@ int bar() { + } + EOF + +-sed -i 's/\.eh_frame/.EH_FRAME/g' $t/a.o ++perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' $t/a.o + ./mold -r -o $t/c.o $t/a.o $t/b.o +-sed -i 's/\.EH_FRAME/.eh_frame/g' $t/c.o ++perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' $t/c.o + + cat <<EOF | $CXX -o $t/d.o -c -xc++ - + #include <stdio.h> diff --git a/sys-devel/mold/files/mold-2.30.0-which-hunt.patch b/sys-devel/mold/files/mold-2.30.0-which-hunt.patch new file mode 100644 index 000000000000..d8558091c4bc --- /dev/null +++ b/sys-devel/mold/files/mold-2.30.0-which-hunt.patch @@ -0,0 +1,31 @@ +https://github.com/rui314/mold/pull/1246 + +From ec0a9d09ddff8b1796ff1822d5381442cd28acb1 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 30 Apr 2024 07:54:40 +0100 +Subject: [PATCH] test: use `command -v`, not non-portable `which` + +`which` isn't in POSIX and several Linux distributions are trying to +remove it from their base system, see e.g. https://lwn.net/Articles/874049/. + +Just use `command -v` which is POSIX. + +Signed-off-by: Sam James <sam@gentoo.org> +--- + test/elf/exception-multiple-ehframe.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/elf/exception-multiple-ehframe.sh b/test/elf/exception-multiple-ehframe.sh +index 8cc31624a..1b9f434a4 100755 +--- a/test/elf/exception-multiple-ehframe.sh ++++ b/test/elf/exception-multiple-ehframe.sh +@@ -3,7 +3,7 @@ + + nm mold | grep -q '__tsan_init' && skip + +-which perl > /dev/null || skip ++command -v perl > /dev/null || skip + + [ $MACHINE = m68k ] && skip + [ $MACHINE = sh4 ] && skip + diff --git a/sys-devel/mold/mold-2.30.0.ebuild b/sys-devel/mold/mold-2.30.0.ebuild index a121f5ffefba..05ff0820df78 100644 --- a/sys-devel/mold/mold-2.30.0.ebuild +++ b/sys-devel/mold/mold-2.30.0.ebuild @@ -31,6 +31,11 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-gcc14.patch + "${FILESDIR}"/${PN}-2.30.0-which-hunt.patch +) + pkg_pretend() { # Requires a c++20 compiler, see #831473 if [[ ${MERGE_TYPE} != binary ]]; then @@ -65,7 +70,6 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DMOLD_ENABLE_QEMU_TESTS=OFF -DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS. -DMOLD_USE_MIMALLOC=$(usex !kernel_Darwin) diff --git a/sys-devel/mold/mold-2.4.0.ebuild b/sys-devel/mold/mold-2.4.0.ebuild index 52d41ed470e9..39999e0ec4a8 100644 --- a/sys-devel/mold/mold-2.4.0.ebuild +++ b/sys-devel/mold/mold-2.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -69,7 +69,6 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DMOLD_ENABLE_QEMU_TESTS=OFF -DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS. -DMOLD_USE_MIMALLOC=$(usex !kernel_Darwin) diff --git a/sys-devel/mold/mold-2.4.1.ebuild b/sys-devel/mold/mold-2.4.1.ebuild index ac067b811ef2..066b8e9902c7 100644 --- a/sys-devel/mold/mold-2.4.1.ebuild +++ b/sys-devel/mold/mold-2.4.1.ebuild @@ -65,7 +65,6 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DMOLD_ENABLE_QEMU_TESTS=OFF -DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS. -DMOLD_USE_MIMALLOC=$(usex !kernel_Darwin) diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild index ac067b811ef2..066b8e9902c7 100644 --- a/sys-devel/mold/mold-9999.ebuild +++ b/sys-devel/mold/mold-9999.ebuild @@ -65,7 +65,6 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DMOLD_ENABLE_QEMU_TESTS=OFF -DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS. -DMOLD_USE_MIMALLOC=$(usex !kernel_Darwin) |