summaryrefslogtreecommitdiff
path: root/toolchain/uclibc/patches/0.9.33.2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-26 12:28:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-26 12:29:24 +0200
commit9d6eef9b39547d230d5a7cb871735bae71f5fd55 (patch)
treed204388625afbaed50d26c136bbea12861a0d2c6 /toolchain/uclibc/patches/0.9.33.2
parent8e2707b81b0c90295c9fdf92a576925442d22147 (diff)
we need to remove crtbegin.o/crtend.o from gcc specs file. otherwise broken executables (f.e. sash) with a wrong data start are created by elf2flt)
Diffstat (limited to 'toolchain/uclibc/patches/0.9.33.2')
-rw-r--r--toolchain/uclibc/patches/0.9.33.2/0007-disable-test-for-non-MMU-systems.patch30
-rw-r--r--toolchain/uclibc/patches/0.9.33.2/0008-disable-test-for-systems-without-FPU.patch30
2 files changed, 60 insertions, 0 deletions
diff --git a/toolchain/uclibc/patches/0.9.33.2/0007-disable-test-for-non-MMU-systems.patch b/toolchain/uclibc/patches/0.9.33.2/0007-disable-test-for-non-MMU-systems.patch
new file mode 100644
index 000000000..b21cffbd3
--- /dev/null
+++ b/toolchain/uclibc/patches/0.9.33.2/0007-disable-test-for-non-MMU-systems.patch
@@ -0,0 +1,30 @@
+From 325f778f3bbb1b13c436e7754dd22097d31c04d2 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@uclibc-ng.org>
+Date: Thu, 21 Aug 2014 22:02:26 +0200
+Subject: [PATCH 7/9] disable test for non-MMU systems
+
+This test fails for non-MMU systems, because it uses fork()
+
+Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
+---
+ test/Makefile | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/test/Makefile b/test/Makefile
+index 787c530..d51bb62 100644
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -42,6 +42,10 @@ endif
+ ifeq ($(HAS_NO_THREADS),y)
+ DIRS := $(filter-out pthread,$(DIRS))
+ endif
++# librt test needs fork()
++ifneq ($(ARCH_USE_MMU),y)
++ DIRS := $(filter-out librt,$(DIRS))
++endif
+
+ test check all: run
+
+--
+1.8.5.2 (Apple Git-48)
+
diff --git a/toolchain/uclibc/patches/0.9.33.2/0008-disable-test-for-systems-without-FPU.patch b/toolchain/uclibc/patches/0.9.33.2/0008-disable-test-for-systems-without-FPU.patch
new file mode 100644
index 000000000..bf29909ef
--- /dev/null
+++ b/toolchain/uclibc/patches/0.9.33.2/0008-disable-test-for-systems-without-FPU.patch
@@ -0,0 +1,30 @@
+From 012dfda4b27ad92edb6a9ea14e5ce4c5567d1c91 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@uclibc-ng.org>
+Date: Thu, 21 Aug 2014 22:04:59 +0200
+Subject: [PATCH 8/9] disable test for systems without FPU
+
+This test fails for systems without fpu.
+For example m68k build for non-mmu/non-fpu systems fail.
+
+Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
+---
+ test/math/Makefile.in | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/test/math/Makefile.in b/test/math/Makefile.in
+index d241baa..147d579 100644
+--- a/test/math/Makefile.in
++++ b/test/math/Makefile.in
+@@ -13,6 +13,9 @@ endif
+ ifeq ($(DO_C99_MATH),)
+ TESTS_DISABLED += test-float test-ifloat test-double test-idouble rint signgam ilogb
+ endif
++ifeq ($(UCLIBC_HAS_FPU),)
++TESTS_DISABLED += test-fpucw
++endif
+
+ DODIFF_rint := 1
+ DODIFF_signgam := 1
+--
+1.8.5.2 (Apple Git-48)
+