]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Fix build on musl with -fstack-protector
authorKhem Raj <raj.khem@gmail.com>
Tue, 2 Feb 2016 18:32:49 +0000 (10:32 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Feb 2016 17:29:44 +0000 (17:29 +0000)
commit77fb841f2e747dc7fb5e9234d870a7a32a74d09b
tree2dc5451a7c2f67d8d4f3d23556eff933a7d59637
parent07fa4783566d22d46ce719a621eee5404932dbbe
gcc: Fix build on musl with -fstack-protector

When enabling the secutity flags on musl based targets the builds fail
due to libssp(gcc-runtime) build asking to link with libssp and
libssp_nonshared.a when configuring libssp itself. This does not work
with musl since it does provide ssp implementation but not like glibc
where these libraries are separate to libc

Fix the nios2 patch with upstream status while at it and generate the
patch after applying to my tree

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-5.3.inc
meta/recipes-devtools/gcc/gcc-5.3/0047-Fix-nios2-musl-build.patch [deleted file]
meta/recipes-devtools/gcc/gcc-5.3/0047-nios2-Define-MUSL_DYNAMIC_LINKER.patch [new file with mode: 0644]
meta/recipes-devtools/gcc/gcc-5.3/0048-ssp_nonshared.patch [new file with mode: 0644]