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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BDA141382C5 for ; Thu, 11 Feb 2021 20:22:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8A3DE0C28; Thu, 11 Feb 2021 20:22:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0D6CE0C26 for ; Thu, 11 Feb 2021 20:22:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E63B1340B1E for ; Thu, 11 Feb 2021 20:22:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EA5C4C5 for ; Thu, 11 Feb 2021 20:22:00 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1613074916.d2f7c9935b63554f65183746c7460f211a803c79.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-hppa64/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild sys-devel/binutils-hppa64/binutils-hppa64-2.35.2.ebuild sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild sys-devel/binutils-hppa64/metadata.xml X-VCS-Directories: sys-devel/binutils-hppa64/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: d2f7c9935b63554f65183746c7460f211a803c79 X-VCS-Branch: master Date: Thu, 11 Feb 2021 20:22:00 +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: 16023ef8-8af6-4411-9dab-a0502e57c421 X-Archives-Hash: 45b4c01872b5cdaf4ba4d9d22fcf8e16 commit: d2f7c9935b63554f65183746c7460f211a803c79 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Feb 11 20:17:51 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Feb 11 20:21:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2f7c993 sys-devel/binutils-hppa64: make CET optional (and disabled by default) Reported-by: subzero_ro yahoo.com Bug: https://bugs.gentoo.org/770061 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild | 7 ++++++- sys-devel/binutils-hppa64/binutils-hppa64-2.35.2.ebuild | 7 ++++++- sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild | 7 ++++++- sys-devel/binutils-hppa64/metadata.xml | 1 + 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild index 5a302e9061f..303efe28c2d 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild @@ -10,7 +10,7 @@ inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test" +IUSE="cet default-gold doc +gold multitarget +nls +plugins static-libs test" REQUIRED_USE="default-gold? ( gold )" # Variables that can be set here: @@ -253,6 +253,11 @@ src_configure() { # avoid automagic dependency on (currently prefix) systems # systems with debuginfod library, bug #754753 --without-debuginfod + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) ) echo ./configure "${myconf[@]}" "${S}"/configure "${myconf[@]}" || die diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.35.2.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.35.2.ebuild index 27d0f88efc6..97aa5834c6b 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.35.2.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.35.2.ebuild @@ -10,7 +10,7 @@ inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test" +IUSE="cet default-gold doc +gold multitarget +nls +plugins static-libs test" REQUIRED_USE="default-gold? ( gold )" # Variables that can be set here: @@ -253,6 +253,11 @@ src_configure() { # avoid automagic dependency on (currently prefix) systems # systems with debuginfod library, bug #754753 --without-debuginfod + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) ) echo ./configure "${myconf[@]}" "${S}"/configure "${myconf[@]}" || die diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild index f26da6552ae..e4ac93eb4d7 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild @@ -10,7 +10,7 @@ inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test" +IUSE="cet default-gold doc +gold multitarget +nls +plugins static-libs test" REQUIRED_USE="default-gold? ( gold )" # Variables that can be set here: @@ -253,6 +253,11 @@ src_configure() { # avoid automagic dependency on (currently prefix) systems # systems with debuginfod library, bug #754753 --without-debuginfod + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) ) echo ./configure "${myconf[@]}" "${S}"/configure "${myconf[@]}" || die diff --git a/sys-devel/binutils-hppa64/metadata.xml b/sys-devel/binutils-hppa64/metadata.xml index 028ab8dc65c..35c85c00a3a 100644 --- a/sys-devel/binutils-hppa64/metadata.xml +++ b/sys-devel/binutils-hppa64/metadata.xml @@ -10,6 +10,7 @@ Gentoo Toolchain Project + Enable Intel Control-flow Enforcement Technology. Set ld to point to ld.gold instead of ld.bfd Build ld.gold linker Enable plugin support in tools