sys-libs/glibc: drop PIE ewarn
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 24 Oct 2018 21:41:26 +0000 (22:41 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 24 Oct 2018 21:41:39 +0000 (22:41 +0100)
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@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

sys-libs/glibc/glibc-2.19-r2.ebuild
sys-libs/glibc/glibc-2.26-r7.ebuild
sys-libs/glibc/glibc-2.27-r6.ebuild
sys-libs/glibc/glibc-2.28-r1.ebuild
sys-libs/glibc/glibc-2.28.ebuild
sys-libs/glibc/glibc-9999.ebuild

index 3ff1fb95b99b4ef723dd19aa75ad6e2d457d9541..496ac4d5a31a36a940506c7cf4ea39ad479378b4 100644 (file)
@@ -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
index f912fc41765d6fd17e7d155816c2bc33ef38794c..75c16e8a73bba5a48308b3e99dc71e5d3e019549 100644 (file)
@@ -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) ]]
index b176360b42d388099fe7ebcc75595f0ab224a304..fd3b74726e12104fd53424ca955f0459593b72db 100644 (file)
@@ -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
index 5d2d8b788b909e33c5c286635dce83d3f9ca2f33..8fe52086831d0c60b443b95fc7557a7a5ee0cfc5 100644 (file)
@@ -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
index 8fa03e36304904f5c2f1de763bfcda53f37a8ea9..85d8179bb38c24bf2353cd39be47651aa288499e 100644 (file)
@@ -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
index 8da63740e858dae41073fc89c21db96d8619a2a5..9284afea8665bb0b08ca0dc75ba79b753a7c2b7c 100644 (file)
@@ -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