commit:     cbda286a2f7c63bf8075cb999e64c26835530c68
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 21:41:26 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 21:41:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbda286a

sys-libs/glibc: drop PIE ewarn

The ewarn lacks '<gcc-6' guard. Let's drop ewarn completely.

Reported-by: Alexander Tsoy
Closes: https://bugs.gentoo.org/669410
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-libs/glibc/glibc-2.19-r2.ebuild | 5 +----
 sys-libs/glibc/glibc-2.26-r7.ebuild | 5 +----
 sys-libs/glibc/glibc-2.27-r6.ebuild | 3 ---
 sys-libs/glibc/glibc-2.28-r1.ebuild | 3 ---
 sys-libs/glibc/glibc-2.28.ebuild    | 5 +----
 sys-libs/glibc/glibc-9999.ebuild    | 3 ---
 6 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.19-r2.ebuild 
b/sys-libs/glibc/glibc-2.19-r2.ebuild
index 3ff1fb95b99..496ac4d5a31 100644
--- a/sys-libs/glibc/glibc-2.19-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.19-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -628,9 +628,6 @@ sanity_prechecks() {
                ewarn "hypervisor, which is probably not what you want."
        fi
 
-       use hardened && ! tc-enables-pie && \
-               ewarn "PIE hardening not applied, as your compiler doesn't 
default to PIE"
-
        # Check for sanity of /etc/nsswitch.conf
        if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then
                local entry

diff --git a/sys-libs/glibc/glibc-2.26-r7.ebuild 
b/sys-libs/glibc/glibc-2.26-r7.ebuild
index f912fc41765..75c16e8a73b 100644
--- a/sys-libs/glibc/glibc-2.26-r7.ebuild
+++ b/sys-libs/glibc/glibc-2.26-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -164,9 +164,6 @@ pkg_pretend() {
                ewarn "hypervisor, which is probably not what you want."
        fi
 
-       use hardened && ! tc-enables-pie && \
-               ewarn "PIE hardening not applied, as your compiler doesn't 
default to PIE"
-
        # Make sure host system is up to date #394453
        if has_version '<sys-libs/glibc-2.13' && \
           [[ -n $(scanelf -qys__guard -F'#s%F' "${EROOT}"/lib*/l*-*.so) ]]

diff --git a/sys-libs/glibc/glibc-2.27-r6.ebuild 
b/sys-libs/glibc/glibc-2.27-r6.ebuild
index b176360b42d..fd3b74726e1 100644
--- a/sys-libs/glibc/glibc-2.27-r6.ebuild
+++ b/sys-libs/glibc/glibc-2.27-r6.ebuild
@@ -638,9 +638,6 @@ sanity_prechecks() {
                ewarn "hypervisor, which is probably not what you want."
        fi
 
-       use hardened && ! tc-enables-pie && \
-               ewarn "PIE hardening not applied, as your compiler doesn't 
default to PIE"
-
        # Check for sanity of /etc/nsswitch.conf
        if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then
                local entry

diff --git a/sys-libs/glibc/glibc-2.28-r1.ebuild 
b/sys-libs/glibc/glibc-2.28-r1.ebuild
index 5d2d8b788b9..8fe52086831 100644
--- a/sys-libs/glibc/glibc-2.28-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.28-r1.ebuild
@@ -642,9 +642,6 @@ sanity_prechecks() {
                ewarn "hypervisor, which is probably not what you want."
        fi
 
-       use hardened && ! tc-enables-pie && \
-               ewarn "PIE hardening not applied, as your compiler doesn't 
default to PIE"
-
        # Check for sanity of /etc/nsswitch.conf
        if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then
                local entry

diff --git a/sys-libs/glibc/glibc-2.28.ebuild b/sys-libs/glibc/glibc-2.28.ebuild
index 8fa03e36304..85d8179bb38 100644
--- a/sys-libs/glibc/glibc-2.28.ebuild
+++ b/sys-libs/glibc/glibc-2.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -642,9 +642,6 @@ sanity_prechecks() {
                ewarn "hypervisor, which is probably not what you want."
        fi
 
-       use hardened && ! tc-enables-pie && \
-               ewarn "PIE hardening not applied, as your compiler doesn't 
default to PIE"
-
        # Check for sanity of /etc/nsswitch.conf
        if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then
                local entry

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 8da63740e85..9284afea866 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -642,9 +642,6 @@ sanity_prechecks() {
                ewarn "hypervisor, which is probably not what you want."
        fi
 
-       use hardened && ! tc-enables-pie && \
-               ewarn "PIE hardening not applied, as your compiler doesn't 
default to PIE"
-
        # Check for sanity of /etc/nsswitch.conf
        if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then
                local entry

Reply via email to