* [PATCH] libunwind: Fix build with musl+security flags
@ 2018-08-14 19:21 Khem Raj
0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2018-08-14 19:21 UTC (permalink / raw)
To: openembedded-core
Fixes
src/os-linux.c:63: undefined reference to `__stack_chk_fail_local'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/libunwind/libunwind_1.2.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/libunwind/libunwind_1.2.1.bb b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
index 37a762486f..e7fb2b2190 100644
--- a/meta/recipes-support/libunwind/libunwind_1.2.1.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
@@ -21,3 +21,5 @@ ARM_INSTRUCTION_SET_armv4 = "arm"
ARM_INSTRUCTION_SET_armv5 = "arm"
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
+
+SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared"
--
2.18.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-14 19:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-14 19:21 [PATCH] libunwind: Fix build with musl+security flags Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox