This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated via 687042ce085bb2b769288fe478981144aca5e93e (commit) from db36600c2956f7b7ea6905f09fc581108c2e3eac (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 687042ce085bb2b769288fe478981144aca5e93e Author: Waldemar Brodkorb wbx@openadk.org Date: Sun Jan 4 09:05:12 2015 -0600
add -fPIC to some tests.
This is required to avoid a assertion error in binutils 2.24 for m68k.
-----------------------------------------------------------------------
Summary of changes: test/assert/Makefile.in | 1 + test/ctype/Makefile.in | 1 + test/inet/Makefile.in | 3 +++ test/locale-mbwc/Makefile.in | 2 +- test/malloc/Makefile.in | 2 ++ test/misc/Makefile.in | 5 +++++ .../linux/i386/pthread_spin_init.c => test/regex/Makefile.in | 2 +- test/setjmp/Makefile.in | 1 + test/signal/Makefile.in | 4 ++++ test/stdlib/Makefile.in | 4 ++++ test/time/Makefile.in | 4 ++++ test/unistd/Makefile.in | 9 +++++++-- 12 files changed, 34 insertions(+), 4 deletions(-) copy libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c => test/regex/Makefile.in (59%) create mode 100644 test/setjmp/Makefile.in
diff --git a/test/assert/Makefile.in b/test/assert/Makefile.in index 8e3514f..3f4fb4d 100644 --- a/test/assert/Makefile.in +++ b/test/assert/Makefile.in @@ -3,3 +3,4 @@
RET_assert := 134 WRAPPER_assert := trap ":" ABRT ; +CFLAGS_assert := -fPIC diff --git a/test/ctype/Makefile.in b/test/ctype/Makefile.in index ee10d59..041e851 100644 --- a/test/ctype/Makefile.in +++ b/test/ctype/Makefile.in @@ -2,3 +2,4 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
TESTS := ctype +CFLAGS_ctype = -fPIC diff --git a/test/inet/Makefile.in b/test/inet/Makefile.in index 2c84729..38aec61 100644 --- a/test/inet/Makefile.in +++ b/test/inet/Makefile.in @@ -15,3 +15,6 @@ TESTS_DISABLED += tst-res else LDFLAGS_tst-res_glibc := -lresolv # assume it's glibc or somebody with that lib endif + +CFLAGS_bug-if1 = -fPIC +CFLAGS_tst-sock-nonblock = -fPIC diff --git a/test/locale-mbwc/Makefile.in b/test/locale-mbwc/Makefile.in index 7c0e9d5..e70a613 100644 --- a/test/locale-mbwc/Makefile.in +++ b/test/locale-mbwc/Makefile.in @@ -23,5 +23,5 @@ TESTS_DISABLED := tst_strfmon
DODIFF_rint := 1
-EXTRA_CFLAGS := -D__USE_GNU -fno-builtin +EXTRA_CFLAGS := -D__USE_GNU -fno-builtin -fPIC
diff --git a/test/malloc/Makefile.in b/test/malloc/Makefile.in index 669ef6a..f1726dd 100644 --- a/test/malloc/Makefile.in +++ b/test/malloc/Makefile.in @@ -10,3 +10,5 @@ endif ifneq ($(UCLIBC_HAS_OBSTACK),y) TESTS_DISABLED += tst-obstack endif + +CFLAGS_tst-mallocfork = -fPIC diff --git a/test/misc/Makefile.in b/test/misc/Makefile.in index 04b677f..345889e 100644 --- a/test/misc/Makefile.in +++ b/test/misc/Makefile.in @@ -32,3 +32,8 @@ OPTS_tst-fnmatch := < tst-fnmatch.input MNTENTS = $(shell mount | while read dev on mp rest; do echo $$mp; done) OPTS_tst-statfs := $(MNTENTS) OPTS_tst-statvfs := $(MNTENTS) + +CFLAGS_bug-glob2 = -fPIC +CFLAGS_opendir-tst1 = -fPIC +CFLAGS_tst-inotify = -fPIC +CFLAGS_tst-utmp = -fPIC diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c b/test/regex/Makefile.in similarity index 59% copy from libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c copy to test/regex/Makefile.in index d36e537..1573840 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c +++ b/test/regex/Makefile.in @@ -1 +1 @@ -#include <sysdeps/i386/pthread_spin_init.c> +CFLAGS_tst-regex2 = -fPIC diff --git a/test/setjmp/Makefile.in b/test/setjmp/Makefile.in new file mode 100644 index 0000000..a5b7b59 --- /dev/null +++ b/test/setjmp/Makefile.in @@ -0,0 +1 @@ +CFLAGS_bug269-setjmp = -fPIC diff --git a/test/signal/Makefile.in b/test/signal/Makefile.in index c8e2545..27791a9 100644 --- a/test/signal/Makefile.in +++ b/test/signal/Makefile.in @@ -4,3 +4,7 @@ ifeq ($(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL),) TESTS_DISABLED := tst-sigsimple endif + +CFLAGS_tst-signalfd = -fPIC +CFLAGS_tst-sigset = -fPIC +CFLAGS_tst-sigsimple = -fPIC diff --git a/test/stdlib/Makefile.in b/test/stdlib/Makefile.in index 135db6b..38c3e19 100644 --- a/test/stdlib/Makefile.in +++ b/test/stdlib/Makefile.in @@ -10,3 +10,7 @@ TESTS_DISABLED := ifeq ($(UCLIBC_HAS_PTY),) TESTS_DISABLED += ptytest endif + +CFLAGS_test-canon = -fPIC +CFLAGS_test-canon2 = -fPIC +CFLAGS_testatexit = -fPIC diff --git a/test/time/Makefile.in b/test/time/Makefile.in index 83bc07d..8afc013 100644 --- a/test/time/Makefile.in +++ b/test/time/Makefile.in @@ -17,5 +17,9 @@ TESTS_DISABLED += tst_wcsftime endif
CFLAGS_tst-strptime2 := -std=c99 +CFLAGS_tst-ctime = -fPIC +CFLAGS_tst-futimens1 = -fPIC +CFLAGS_tst-timerfd = -fPIC + DODIFF_futimens1 := 1 DODIFF_tst_wcsftime := 1 diff --git a/test/unistd/Makefile.in b/test/unistd/Makefile.in index 6f8a274..da59a36 100644 --- a/test/unistd/Makefile.in +++ b/test/unistd/Makefile.in @@ -4,7 +4,7 @@ TESTS_DISABLED := # If LFS is not set, get rid of all *64 tests up front ifeq ($(UCLIBC_HAS_LFS),) -TESTS_DISABLED += tst-preadwrite64 tst-fallocate64 +TESTS_DISABLED += tst-preadwrite64 endif
# If we don't have LINUX_SPECIFIC, then get rid of tst-fallocate @@ -32,7 +32,12 @@ OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none -- endif
# for embedded systems 4 GB disk space is not available -TESTS_DISABLED += tst-posix_fallocate64 +TESTS_DISABLED += tst-posix_fallocate64 tst-fallocate64 + +CFLAGS_tst-fallocate = -fPIC +CFLAGS_tst-posix_fallocate = -fPIC +CFLAGS_tst-preadwrite = -fPIC +CFLAGS_tst-preadwrite64 = -fPIC
# getconf.c lives in utils/ # Testsuite cannot currently be built with O= anyway, so hardcode path here
hooks/post-receive