diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-02-20 23:12:19 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-02-20 23:43:22 +0100 |
commit | e7c7a8bf5481e898e7591442b0d924c2952797ef (patch) | |
tree | 31f32a5854e072343c4a8807c16a8335eb9aeb22 /package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch | |
parent | e482ebf51d9e8e00c3e58eb65af0dfb70d05d8cc (diff) | |
download | buildroot-e7c7a8bf5481e898e7591442b0d924c2952797ef.tar.gz buildroot-e7c7a8bf5481e898e7591442b0d924c2952797ef.zip |
gcc: add patches for or1k specific gcc version
This commit adds a number of patches from package/gcc/5.4.0 to
package/gcc/musl-5.4.0, so that they apply to the or1k specific gcc
version. All patches from package/gcc/5.4.0 that are not architecture
specific and not related to the musl C library have been added to
package/gcc/musl-5.4.0/.
Note that doing a symbolic link does not work, as some patches from
package/gcc/5.4.0 do not apply as-is to the or1k gcc version.
The most important patch is 850-libstdcxx-uclibc-c99.patch, which fixes
a number of build issues.
Fixes:
http://autobuild.buildroot.net/results/eebf4ce5ecb896e54912cfa21268e81ff5fb6593/
(alljoyn)
http://autobuild.buildroot.net/results/8dbf406898a59e36ac6a1e16f543b6260da775c8/
(jsoncpp)
http://autobuild.buildroot.net/results/206fbd5473c8c6840489990cb2552566c62ef3c8/
(dawgic)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r-- | package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch b/package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch new file mode 100644 index 0000000000..07f9a7395b --- /dev/null +++ b/package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch @@ -0,0 +1,14 @@ +disable split-stack for non-thread builds + +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> + +diff -Nur gcc-5.3.0.orig/libgcc/config/t-stack gcc-5.3.0/libgcc/config/t-stack +--- gcc-5.3.0.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200 ++++ gcc-5.3.0/libgcc/config/t-stack 2016-03-07 03:25:32.000000000 +0100 +@@ -1,4 +1,6 @@ + # Makefile fragment to provide generic support for -fsplit-stack. + # This should be used in config.host for any host which supports + # -fsplit-stack. ++ifeq ($(enable_threads),yes) + LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c ++endif |