diff options
author | 2023-01-23 06:27:01 +0000 | |
---|---|---|
committer | 2023-01-23 06:27:01 +0000 | |
commit | 9365f1e0f71f7b4568795239d257626d218bd077 (patch) | |
tree | 16d376f6af62628d1b777d066ff78ca77ca9f66f /sys-devel/gcc | |
parent | dev-cpp/muParser: Stabilize 2.3.4-r1 x86, #891801 (diff) | |
download | gentoo-9365f1e0f71f7b4568795239d257626d218bd077.tar.gz gentoo-9365f1e0f71f7b4568795239d257626d218bd077.tar.bz2 gentoo-9365f1e0f71f7b4568795239d257626d218bd077.zip |
sys-devel/gcc: note about amd64/x86 & i686 for CET
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/metadata.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml index ccedf9b38e3f..d1c5c038131d 100644 --- a/sys-devel/gcc/metadata.xml +++ b/sys-devel/gcc/metadata.xml @@ -10,6 +10,8 @@ <flag name="cet" restrict=">=sys-devel/gcc-10"> Enable support for Intel Control Flow Enforcement Technology (CET). + Only effective on amd64/x86. + Only provides benefits on newer CPUs. For Intel, the CPU must be at least as new as Tiger Lake. For AMD, it must be at least as new as Zen 3. This is harmless on older CPUs, @@ -18,7 +20,8 @@ When combined with USE=hardened, GCC will set -fcf-protection by default when building software. The effect is minimal on systems which do not support it, other than a possible - small increase in codesize for the NOPs. + small increase in codesize for the NOPs. The generated + code is therefore compatible with i686 at the earliest. </flag> <flag name="d">Enable support for the D programming language</flag> <flag name="default-stack-clash-protection"> |