From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 63162158012 for ; Mon, 12 Sep 2022 18:35:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B7D3E0982; Mon, 12 Sep 2022 18:35:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 817F3E0982 for ; Mon, 12 Sep 2022 18:35:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9511D340E76 for ; Mon, 12 Sep 2022 18:34:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 392EA5D3 for ; Mon, 12 Sep 2022 18:34:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1663007691.630ee2ab4f4a1f4c011376eedba451d85b499a01.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gcc/Manifest sys-devel/gcc/gcc-13.0.0_pre20220911.ebuild X-VCS-Directories: sys-devel/gcc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 630ee2ab4f4a1f4c011376eedba451d85b499a01 X-VCS-Branch: master Date: Mon, 12 Sep 2022 18:34:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 103319b4-9167-4095-9544-dd9c9b0e5e30 X-Archives-Hash: 2a79a47766984a15b4b56d13b361396e commit: 630ee2ab4f4a1f4c011376eedba451d85b499a01 Author: Sam James gentoo org> AuthorDate: Mon Sep 12 18:34:51 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 12 18:34:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=630ee2ab sys-devel/gcc: add 13.0.0_pre20220911 Signed-off-by: Sam James gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-13.0.0_pre20220911.ebuild | 53 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 34708d268ab6..39a32fce631e 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -20,6 +20,7 @@ DIST gcc-12.2.0-patches-1.tar.xz 12864 BLAKE2B a5ae0a85dfc1b6f0bd968f0d5262ebed1 DIST gcc-12.2.0.tar.xz 84645292 BLAKE2B 715574af9ad678f9dc8cfd19c866bf910c7edfd479e7e9681337feaa9b54e5d304ddb85483816b8d89754d502405823ae2eff0d1e444538763f40be8e428d8da SHA512 e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173 DIST gcc-13-20220828.tar.xz 79804664 BLAKE2B fb77fe6fc60fb347f7910ff5210085fb619f834eaca0e20ce57f7ebf083a954b83bd56a3b3e2e5a1fa7ffc63a798e6cd786faf03bc469202ccc0cc5cd9305011 SHA512 c5222f93102c53af77b0c77ea410cc703de001b3800d5134aff5a136a8598267d0cb17b5bfecda2ae155b6d482f284814b2ab943d46d1182fbac019013a7e513 DIST gcc-13-20220904.tar.xz 79783116 BLAKE2B af32bc9c3d836ed085329d75928f310480f3d2a5fc52c3a940b28c401d17c9680f85b917d233aa8d1da0475d1fe07b383e85a2c40eb2954f1029a5187c0af749 SHA512 e5c73978241de22f7198bd78e1f802f43b723aa97eb909647d3c26e57e944f7dc9c9f1c1a9b0bbc71a7799badcc5fcb58ba80b7f27de3ed97be025ffa3f893cc +DIST gcc-13-20220911.tar.xz 79849716 BLAKE2B 1d8b34141b813be770b55b4a2f56eaff15c4aaa078603b605f8f616454dda27565cb50d4fb59b50897fd0a891d6567cccb5d75aaf1576981445680c0b3ab0a74 SHA512 56b55b7d869bead14c190ed425dbbf77521d770090c734510d5f9ad3da94b2c860be0a577e16221d64e6a049eac0c7aef05a9c0aefa8bc0d9257ee9e01470c8c DIST gcc-13.0.0-patches-1.tar.xz 11064 BLAKE2B 82a7ad193dac00475931840bcee82ef7a51718a74af224b03a41f8349e34c2a64a3eb29985b4e2bffde958c58782242eccaedaa54d950e8d51d8bb6f45868e0e SHA512 e04b510f529dd3187a08ae9cb9a894a3d3d30af81f13c43cc082fda7d26c44a3bf19d36ec02024b2ade8b8c193e9730246abeadee603c41b5873c5b785709921 DIST gcc-8.5.0-patches-2.tar.bz2 16921 BLAKE2B 619a47f74edf05fa01c9de59d0ff7abb027a01cf0bdec91ac41046166192f4eae561684136c4a6a5e077f64754bb5b0710905129f31b0def21d88f92e6bba7fb SHA512 b6095d4570895e2c4dd58fed5756194aea27391b813e5e2de42b2749cb318c4bea2087eb0ff92c70e7f98ae4482c49d476db57be83d7beb19fd462aa61714ab2 DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c58d5de5687acc320741b9e430e85df3535a1ef7a26051409be8d2f0945f503e5968480d919103123a99d4b12 SHA512 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8 diff --git a/sys-devel/gcc/gcc-13.0.0_pre20220911.ebuild b/sys-devel/gcc/gcc-13.0.0_pre20220911.ebuild new file mode 100644 index 000000000000..641ab05e8153 --- /dev/null +++ b/sys-devel/gcc/gcc-13.0.0_pre20220911.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_DEV="xen0n" +PATCH_VER="1" +PATCH_GCC_VER="13.0.0" +MUSL_GCC_VER="13.0.0" + +if [[ $(ver_cut 3) == 9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=$(($(ver_cut 3) - 9998)) + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$(($(ver_cut 2) - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +fi + +inherit toolchain +# Needs to be after inherit (for now?), bug #830908 +EGIT_BRANCH=master + +# Don't keyword live ebuilds +if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~loong" +fi + +# Technically only if USE=hardened *too* right now, but no point in complicating it further. +# If GCC is enabling CET by default, we need glibc to be built with support for it. +# bug #830454 +RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" +DEPEND="${RDEPEND}" +BDEPEND="${CATEGORY}/binutils[cet(-)?]" + +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 +}