Skip to contentSkip to conversation

glibc: Enable cet

PATCH New Khem Raj 1 participant 1 message Feb 3, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 glibc: Enable cet

Enable Intel Control-flow Enforcement Technology (CET) instrumentation support

helps with overcoming
/lib/libc.so.6: CPU ISA level is lower than required

---
 meta/recipes-core/glibc/glibc_2.33.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-core/glibc/glibc_2.33.bb +3 -0
index 2259d60196..b39f97d656 100644
@@ -74,6 +74,9 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
 
 EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
 
+EXTRA_OECONF_append_x86 = " --enable-cet"
+EXTRA_OECONF_append_x86-64 = " --enable-cet"
+
 PACKAGECONFIG ??= "nscd"
 PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd"
 
Signature · 1 line
2.30.0