glibc: Fix i586/c3 support
PATCH 1/1 glibc: Fix i586/c3 support
CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds.
--- meta/recipes-core/glibc/glibc_2.34.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc_2.34.bb +1 -1
@@ -90,7 +90,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" -EXTRA_OECONF:append:x86 = " --enable-cet" +EXTRA_OECONF:append:x86 = " ${@bb.utils.contains_any('TUNE_FEATURES', 'i586 c3', '--disable-cet', '--enable-cet', d)}" EXTRA_OECONF:append:x86-64 = " --enable-cet" PACKAGECONFIG ??= "nscd memory-tagging"
Signature · 1 line
2.32.0
Quoted 13 lines · Richard Purdie
CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds.
Signed-off-by Richard Purdie <[email protected]>--- meta/recipes-core/glibc/glibc_2.34.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-core/glibc/glibc_2.34.bb +0
-0
meta/recipes-core/glibc/glibc_2.34.bb EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ · line 93
Quoted 5 lines
meta/recipes-core/glibc/glibc_2.34.bb +1
-1@@ -90,7 +90,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" -EXTRA_OECONF:append:x86 = " --enable-cet" +EXTRA_OECONF:append:x86 = " ${@bb.utils.contains_any('TUNE_FEATURES', 'i586 c3', '--disable-cet', '--enable-cet', d)}"
does this make glibc tune specific now ?
Quoted 14 lines
meta/recipes-core/glibc/glibc_2.34.bb +0
-1EXTRA_OECONF:append:x86-64 = " --enable-cet" PACKAGECONFIG ??= "nscd memory-tagging" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#158611): https://lists.openembedded.org/g/openembedded-core/message/158611
Mute This Topic: https://lists.openembedded.org/mt/87262863/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 16 lines · Khem Raj
Quoted 14 lines · Richard Purdie
CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds.
Signed-off-by Richard Purdie <[email protected]>--- meta/recipes-core/glibc/glibc_2.34.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-core/glibc/glibc_2.34.bb +0
-0@@ -90,7 +90,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
Quoted 6 lines
meta/recipes-core/glibc/glibc_2.34.bb EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ · line 93
Quoted 4 lines
meta/recipes-core/glibc/glibc_2.34.bb +1
-1EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" -EXTRA_OECONF:append:x86 = " --enable-cet" +EXTRA_OECONF:append:x86 = " ${@bb.utils.contains_any('TUNE_FEATURES', 'i586 c3', '--disable-cet', '--enable-cet', d)}"does this make glibc tune specific now ?
glibc is compiled so it is already tune specific :)
Cheers,
Richard