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 D659415808B for ; Sun, 29 Sep 2024 00:19:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26280E2A5D; Sun, 29 Sep 2024 00:19:02 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0088DE2A5C for ; Sun, 29 Sep 2024 00:19:01 +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 0D499343221 for ; Sun, 29 Sep 2024 00:19:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2FC0ACC for ; Sun, 29 Sep 2024 00:18:59 +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: <1727568958.f210bb3d7324b1a6c1fe9d5e98cdfd57241d6499.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild dev-lang/gnat-gpl/metadata.xml X-VCS-Directories: dev-lang/gnat-gpl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f210bb3d7324b1a6c1fe9d5e98cdfd57241d6499 X-VCS-Branch: master Date: Sun, 29 Sep 2024 00:18:59 +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: eddf4ad7-194c-4b99-963f-5653b3a42109 X-Archives-Hash: 001d6c28f0a1c35956f2c5661502d76d commit: f210bb3d7324b1a6c1fe9d5e98cdfd57241d6499 Author: Sam James gentoo org> AuthorDate: Sat Sep 28 23:00:54 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 29 00:15:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f210bb3d dev-lang/gnat-gpl: rename USE=bootstrap -> USE=system-bootstrap, invert meaning USE=bootstrap has/had a special meaning in USE=system-bootstrap * Make USE=system-bootstrap mean "I need a working Ada compiler to build this" (i.e. invert its meaning) to match dev-java/openjdk and dev-lang/rust. Bug: https://bugs.gentoo.org/137268 Bug: https://bugs.gentoo.org/440224 Bug: https://bugs.gentoo.org/547358 Bug: https://bugs.gentoo.org/919667 Signed-off-by: Sam James gentoo.org> dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild | 12 ++++++------ dev-lang/gnat-gpl/metadata.xml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild index 002368b2c0c0..d3fa9bbf092e 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild @@ -24,7 +24,7 @@ GCC_TARBALL_SRC_URI=" -> ${MYP}.tar.gz ${BASE_URI}/8ace7d06e469d36d726cc8badb0ed78411e727f3?filename=${INTFDIR}.tar.gz -> ${INTFDIR}.tar.gz - bootstrap? ( + !system-bootstrap? ( amd64? ( ${BASE_URI}/6eb6eef6bb897e4c743a519bfebe0b1d6fc409c6?filename=${BTSTRP_AMD64}.tar.gz&rand=1193 -> ${BTSTRP_AMD64}.tar.gz @@ -42,7 +42,7 @@ HOMEPAGE="http://libre.adacore.com/" LICENSE+=" GPL-2 GPL-3" KEYWORDS="amd64 x86" -IUSE="+ada +bootstrap" +IUSE="+ada system-bootstrap" RESTRICT="test" RDEPEND="!=sys-devel/gcc-${TOOLCHAIN_GCC_PV}*" @@ -64,7 +64,7 @@ src_prepare() { BTSTRP=${BTSTRP_X86} fi - if use bootstrap; then + if ! use system-bootstrap; then GCC="${WORKDIR}"/${BTSTRP}/bin/gcc else GCC=${ADA:-$(tc-getCC)} @@ -78,10 +78,10 @@ src_prepare() { GNATMAKE="${gnatpath}/${GNATMAKE}" fi - if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then + if use system-bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then eerror "You need a gcc compiler that provides the Ada Compiler:" eerror "1) use gcc-config to select the right compiler or" - eerror "2) set the bootstrap use flag or" + eerror "2) disable the system-bootstrap use flag or" eerror "3) set ADA to a working gcc ada compiler" die "ada compiler not available" fi @@ -89,7 +89,7 @@ src_prepare() { local bundledchost="" use amd64 && local bundledchost="x86_64" use x86 && local bundledchost="i686" - if use bootstrap; then + if ! use system-bootstrap; then rm "${WORKDIR}"/${BTSTRP}/libexec/gcc/${bundledchost}-pc-linux-gnu/4.7.4/ld \ || die ln -s /usr/bin/$CHOST-ld \ diff --git a/dev-lang/gnat-gpl/metadata.xml b/dev-lang/gnat-gpl/metadata.xml index 45bf56ac30ee..626b079044db 100644 --- a/dev-lang/gnat-gpl/metadata.xml +++ b/dev-lang/gnat-gpl/metadata.xml @@ -6,7 +6,6 @@ Build the ADA language (GNAT) frontend - Used to bootstrap gnat-gpl Enable support for Intel Control Flow Enforcement Technology (CET) Enable support for the D programming language Build packages with stack clash protection on by default @@ -29,6 +28,7 @@ Build GCC using Profile Guided Optimization (PGO) Build support for the Rust language, installs gccrs. Build support for various sanitizer functions (ASAN/TSAN/etc...) + Bootstrap using installed Ada compiler enable systemtap static probe points Build packages with stack smashing protector on by default Build support for virtual table verification (a C++ hardening feature)