diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-02-02 10:32:49 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 17:29:44 +0000 |
commit | 77fb841f2e747dc7fb5e9234d870a7a32a74d09b (patch) | |
tree | 2dc5451a7c2f67d8d4f3d23556eff933a7d59637 /meta/recipes-devtools/gcc/gcc-5.3/0047-Fix-nios2-musl-build.patch | |
parent | 07fa4783566d22d46ce719a621eee5404932dbbe (diff) | |
download | openembedded-core-77fb841f2e747dc7fb5e9234d870a7a32a74d09b.tar.gz openembedded-core-77fb841f2e747dc7fb5e9234d870a7a32a74d09b.tar.bz2 openembedded-core-77fb841f2e747dc7fb5e9234d870a7a32a74d09b.zip |
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>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.3/0047-Fix-nios2-musl-build.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0047-Fix-nios2-musl-build.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3/0047-Fix-nios2-musl-build.patch b/meta/recipes-devtools/gcc/gcc-5.3/0047-Fix-nios2-musl-build.patch deleted file mode 100644 index 44cea8485f..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.3/0047-Fix-nios2-musl-build.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naru gcc-5.3.0.orig/gcc/config/nios2/linux.h gcc-5.3.0/gcc/config/nios2/linux.h ---- gcc-5.3.0.orig/gcc/config/nios2/linux.h 2015-05-28 16:08:37.000000000 +0200 -+++ gcc-5.3.0/gcc/config/nios2/linux.h 2016-01-04 02:42:46.878844806 +0100 -@@ -30,6 +30,7 @@ - #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" - - #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1" -+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-nios2.so.1" - - #undef LINK_SPEC - #define LINK_SPEC LINK_SPEC_ENDIAN \ |