From 9d6eef9b39547d230d5a7cb871735bae71f5fd55 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 26 Aug 2014 12:28:55 +0200 Subject: 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) --- .../0007-disable-test-for-non-MMU-systems.patch | 30 ++++++++++++++++++++++ ...0008-disable-test-for-systems-without-FPU.patch | 30 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 toolchain/uclibc/patches/0.9.33.2/0007-disable-test-for-non-MMU-systems.patch create mode 100644 toolchain/uclibc/patches/0.9.33.2/0008-disable-test-for-systems-without-FPU.patch (limited to 'toolchain/uclibc') 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 +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 +--- + 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 +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 +--- + 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) + -- cgit v1.2.3