Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 429160 Details for
Bug 578396
toolchain.eclass: add support for libmpx w/gcc-5+
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to enable support for libmpx
toolchain-libmpx.patch (text/plain), 1.87 KB, created by
Steven Noonan
on 2016-03-28 11:24:31 UTC
(
hide
)
Description:
patch to enable support for libmpx
Filename:
MIME Type:
Creator:
Steven Noonan
Created:
2016-03-28 11:24:31 UTC
Size:
1.87 KB
patch
obsolete
>diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass >index 03e550d..201a1e5 100644 >--- a/eclass/toolchain.eclass >+++ b/eclass/toolchain.eclass >@@ -153,7 +153,7 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then > # the older versions, we don't want to bother supporting it. #448024 > tc_version_is_at_least 4.8 && IUSE+=" graphite" IUSE_DEF+=( sanitize ) > tc_version_is_at_least 4.9 && IUSE+=" cilk" >- tc_version_is_at_least 5.0 && IUSE+=" jit" >+ tc_version_is_at_least 5.0 && IUSE+=" jit mpx" > tc_version_is_at_least 6.0 && IUSE+=" pie +ssp" > fi > >@@ -1161,6 +1161,14 @@ toolchain_src_configure() { > fi > fi > >+ if tc_version_is_at_least 5.0 ; then >+ if in_iuse mpx ; then >+ confgcc+=( $(use_enable mpx libmpx ) ) >+ else >+ confgcc+=( --disable-libmpx ) >+ fi >+ fi >+ > if in_iuse cilk ; then > confgcc+=( $(use_enable cilk libcilkrts) ) > fi >diff --git a/profiles/use.local.desc b/profiles/use.local.desc >index ed5dc6f..8889a02 100644 >--- a/profiles/use.local.desc >+++ b/profiles/use.local.desc >@@ -7525,6 +7525,7 @@ sys-devel/gcc:go - Build the GCC Go language frontend. > sys-devel/gcc:graphite - Add support for the framework for loop optimizations based on a polyhedral intermediate representation > sys-devel/gcc:jit - Enable libgccjit so other applications can embed gcc for Just-In-Time compilation. This will slow down the compiler a bit as it forces all of the toolchain to be shared libs. > sys-devel/gcc:libssp - Build SSP support into a dedicated library rather than use the code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES) >+sys-devel/gcc:mpx - Add compiler support for Intel Memory Protection Extensions (MPX) > sys-devel/gcc:mudflap - Add support for mudflap, a pointer use checking library > sys-devel/gcc:multislot - Allow for multiple versions to be emerged at once for same CTARGET > sys-devel/gcc:nopie - Disable PIE support (NOT FOR GENERAL USE)
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 578396
: 429160