diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-04-13 22:37:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-09 10:47:50 +0100 |
commit | 8b5c4fea90b1d043dc9b8cbadbc4d9b48b5944cc (patch) | |
tree | 3b759ce9780ece7fed20bfc0a820ca1c5d46d7e0 /meta/recipes-core | |
parent | be600d88c7d98cda9000265b356baee8a4a92541 (diff) | |
download | poky-8b5c4fea90b1d043dc9b8cbadbc4d9b48b5944cc.tar.gz |
musl: Depend on libssp-nonshared
libssp-nonshared is required on musl since
it does not implement the gcc runtime piece of
libssp, which actually it a gcc optimization to
reach to __stack_chk_fail
(From OE-Core rev: 72e254e99682aa0e2d01f20f50d9fbdeb77529b3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/musl/musl_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 34190e530e..01fec69aeb 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb | |||
@@ -22,6 +22,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils \ | |||
22 | libgcc-initial \ | 22 | libgcc-initial \ |
23 | linux-libc-headers \ | 23 | linux-libc-headers \ |
24 | bsd-headers \ | 24 | bsd-headers \ |
25 | libssp-nonshared \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | export CROSS_COMPILE="${TARGET_PREFIX}" | 28 | export CROSS_COMPILE="${TARGET_PREFIX}" |
@@ -65,7 +66,7 @@ do_install() { | |||
65 | done | 66 | done |
66 | } | 67 | } |
67 | 68 | ||
68 | RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev" | 69 | RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev libssp-nonshared-staticdev" |
69 | RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" | 70 | RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" |
70 | RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" | 71 | RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)" |
71 | 72 | ||