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 2E30C1382C5 for ; Thu, 11 Feb 2021 20:22:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F8BAE0C21; Thu, 11 Feb 2021 20:22:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 42084E0C21 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 C29AE340B10 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 3665353 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: <1613074915.631038dec7129bd3f5d859170b2c11bd6d1b8264.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/binutils-libs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild sys-libs/binutils-libs/binutils-libs-2.36.1.ebuild sys-libs/binutils-libs/metadata.xml X-VCS-Directories: sys-libs/binutils-libs/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 631038dec7129bd3f5d859170b2c11bd6d1b8264 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: 70c73219-d92b-46ab-a821-c19763483697 X-Archives-Hash: 11b2177d7d5f3bf01cb789ebbbe3893e commit: 631038dec7129bd3f5d859170b2c11bd6d1b8264 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Feb 11 20:16:15 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Feb 11 20:21:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631038de sys-libs/binutils-libs: 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> .../binutils-libs/binutils-libs-2.35.1-r1.ebuild | 7 ++++++- sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild | 7 ++++++- sys-libs/binutils-libs/binutils-libs-2.36.1.ebuild | 7 ++++++- sys-libs/binutils-libs/metadata.xml | 23 +++++++++++----------- 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild index 688ea58abcd..340f2a556d5 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz LICENSE="|| ( GPL-3 LGPL-3 )" SLOT="0/${PV}" -IUSE="64-bit-bfd multitarget nls static-libs" +IUSE="64-bit-bfd cet multitarget nls static-libs" KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" BDEPEND="nls? ( sys-devel/gettext )" @@ -89,6 +89,11 @@ multilib_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) ) # mips can't do hash-style=gnu ... diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild index a5f20fafd25..9eabcacc31e 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild @@ -20,7 +20,7 @@ SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz LICENSE="|| ( GPL-3 LGPL-3 )" SLOT="0/${PV}" -IUSE="64-bit-bfd multitarget nls static-libs" +IUSE="64-bit-bfd cet multitarget nls static-libs" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" BDEPEND="nls? ( sys-devel/gettext )" @@ -89,6 +89,11 @@ multilib_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) ) # mips can't do hash-style=gnu ... diff --git a/sys-libs/binutils-libs/binutils-libs-2.36.1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.36.1.ebuild index c30d96e6bb4..c4c2a9d4ffa 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.36.1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.36.1.ebuild @@ -20,7 +20,7 @@ SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz LICENSE="|| ( GPL-3 LGPL-3 )" SLOT="0/${PV}" -IUSE="64-bit-bfd multitarget nls static-libs" +IUSE="64-bit-bfd cet multitarget nls static-libs" #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" BDEPEND="nls? ( sys-devel/gettext )" @@ -89,6 +89,11 @@ multilib_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) ) # mips can't do hash-style=gnu ... diff --git a/sys-libs/binutils-libs/metadata.xml b/sys-libs/binutils-libs/metadata.xml index 80f41eae3f2..f1528f82ed9 100644 --- a/sys-libs/binutils-libs/metadata.xml +++ b/sys-libs/binutils-libs/metadata.xml @@ -1,15 +1,16 @@ - - toolchain@gentoo.org - Gentoo Toolchain Project - - - Support 64-bit targets even on 32-bit hosts (is ignored on 64-bit hosts) - Enable all possible targets in libbfd - - - cpe:/a:gnu:binutils - + + toolchain@gentoo.org + Gentoo Toolchain Project + + + Enable Intel Control-flow Enforcement Technology. + Support 64-bit targets even on 32-bit hosts (is ignored on 64-bit hosts) + Enable all possible targets in libbfd + + + cpe:/a:gnu:binutils +