[OE-core] [OE-Core][PATCH 2/4] systemd: Use arch overrides instead of machine

Serhey Popovych serhe.popovych at gmail.com
Sat Jan 12 09:22:48 UTC 2019


With custom BSP and build with musl we still affected by undefined
reference to stack-protector specific functions.

Use arch overrides instead of machine to ensure fix applied to entire
architecture instead of custom machine like qemux86 and qemuppc.

Signed-off-by: Serhey Popovych <serhe.popovych at gmail.com>
---
 meta/recipes-core/systemd/systemd_239.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_239.bb b/meta/recipes-core/systemd/systemd_239.bb
index 0f1fa27..2e11d71 100644
--- a/meta/recipes-core/systemd/systemd_239.bb
+++ b/meta/recipes-core/systemd/systemd_239.bb
@@ -66,9 +66,9 @@ SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.pa
                file://0022-Use-if-instead-of-ifdef-for-ENABLE_GSHADOW.patch \
                "
 
-# Workaround undefined reference to `__stack_chk_fail_local' on qemux86 and qemuppc for musl
-SRC_URI_append_libc-musl_qemux86 = " file://0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch"
-SRC_URI_append_libc-musl_qemuppc = " file://0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch"
+# Workaround undefined reference to `__stack_chk_fail_local' on x86 and powerpc for musl
+SRC_URI_append_libc-musl_x86 = " file://0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch"
+SRC_URI_append_libc-musl_powerpc = " file://0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch"
 
 PAM_PLUGINS = " \
     pam-plugin-unix \
-- 
2.7.4



More information about the Openembedded-core mailing list