Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 476314 Details for
Bug 618160
PIE hardening warning building sys-libs/glibc-2.23-r3 with sys-devel/gcc-6.3.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
do not run the checks on >=gcc-6
toolchain-glibc-gcc6.diff (text/plain), 1.10 KB, created by
Jory A. Pratt
on 2017-06-13 23:37:41 UTC
(
hide
)
Description:
do not run the checks on >=gcc-6
Filename:
MIME Type:
Creator:
Jory A. Pratt
Created:
2017-06-13 23:37:41 UTC
Size:
1.10 KB
patch
obsolete
>diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass >index ef9d91acae..44207d4cbe 100644 >--- a/eclass/toolchain-glibc.eclass >+++ b/eclass/toolchain-glibc.eclass >@@ -264,14 +264,18 @@ setup_flags() { > filter-flags -fstack-protector* > gcc-specs-ssp && append-flags $(test-flags -fno-stack-protector) > >- if use hardened && gcc-specs-pie ; then >- # Force PIC macro definition for all compilations since they're all >- # either -fPIC or -fPIE with the default-PIE compiler. >- append-cppflags -DPIC >- else >- # Don't build -fPIE without the default-PIE compiler and the >- # hardened-pie patch >- filter-flags -fPIE >+ if has_version '<sys-devel/gcc-6' ; then >+ # Spec files are no longer used with >=gcc-6, these functions are controlled via >+ # the useflags on gcc >+ if use hardened && gcc-specs-pie ; then >+ # Force PIC macro definition for all compilations since they're all >+ # either -fPIC or -fPIE with the default-PIE compiler. >+ append-cppflags -DPIC >+ else >+ # Don't build -fPIE without the default-PIE compiler and the >+ # hardened-pie patch >+ filter-flags -fPIE >+ fi > fi > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 618160
:
472460
|
476314
|
476316