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 0ba51975973cf9524314dbc7da272c5b1fc18df4 (commit)
from 363e142113cdb9c4b4f04152bc0c9998d3819b92 (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 0ba51975973cf9524314dbc7da272c5b1fc18df4
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Fri Oct 10 21:29:05 2014 +0200
c6x: disable it at the moment
There is a NPTL port of uCLibc for c6x, but it doesn't work
with uClibc master. May be someone with real hardware could
sync it. Unfortunately I got no respone from Aurelien and
no response on the mailing list.
-----------------------------------------------------------------------
Summary of changes:
extra/Configs/Config.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 6b8ee91..809addc 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -60,8 +60,10 @@ config TARGET_avr32
config TARGET_bfin
bool "bfin"
-config TARGET_c6x
- bool "c6x"
+# someone could sync this tree:
+# http://linux-c6x.org/git/?p=uClibc.git;a=summary
+#config TARGET_c6x
+# bool "c6x"
config TARGET_cris
bool "cris"
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 363e142113cdb9c4b4f04152bc0c9998d3819b92 (commit)
from 421ae7ea851ee4e97ca091c5dff3cf6ec7cb73a2 (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 363e142113cdb9c4b4f04152bc0c9998d3819b92
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Wed Oct 8 08:23:30 2014 +0200
test: disable for noMMU case
Pthread tests are failing for coldfire with linuxthreads
enabled.
-----------------------------------------------------------------------
Summary of changes:
test/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/Makefile b/test/Makefile
index 787c530..e4f6418 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -18,7 +18,7 @@ endif
ifneq ($(findstring -static,$(LDFLAGS)),)
DIRS := $(filter-out dlopen,$(DIRS))
endif
-ifneq ($(UCLIBC_HAS_THREADS),y)
+ifneq ($(UCLIBC_HAS_THREADS)$(ARCH_USE_MMU),yy)
DIRS := $(filter-out pthread,$(DIRS))
endif
ifneq ($(UCLIBC_HAS_FULL_RPC),y)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 421ae7ea851ee4e97ca091c5dff3cf6ec7cb73a2 (commit)
from 9b1e2fb9a82dec95aa3221d640228f639707aa1e (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 421ae7ea851ee4e97ca091c5dff3cf6ec7cb73a2
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sun Oct 5 22:01:48 2014 +0200
disable a test for avr32, compile failure.
-----------------------------------------------------------------------
Summary of changes:
test/time/Makefile.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/time/Makefile.in b/test/time/Makefile.in
index 02c8d91..a261378 100644
--- a/test/time/Makefile.in
+++ b/test/time/Makefile.in
@@ -4,6 +4,10 @@
TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
tst-strftime tst-strptime tst-timezone
+ifeq ($(TARGET_avr32),y)
+TESTS_DISABLED += tst-timerfd
+endif
+
ifneq ($(UCLIBC_HAS_XLOCALE),y)
TESTS_DISABLED += tst-ftime_l tst_wcsftime
endif
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 9b1e2fb9a82dec95aa3221d640228f639707aa1e (commit)
from 40678af7b459876ac1113f42fd647f110c8c7bd7 (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 9b1e2fb9a82dec95aa3221d640228f639707aa1e
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sun Oct 5 20:32:10 2014 +0200
disable some test for avr32, compile failures.
-----------------------------------------------------------------------
Summary of changes:
test/misc/Makefile.in | 5 +++++
test/unistd/Makefile.in | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/test/misc/Makefile.in b/test/misc/Makefile.in
index 52a3e71..3dfe617 100644
--- a/test/misc/Makefile.in
+++ b/test/misc/Makefile.in
@@ -2,6 +2,11 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
TESTS_DISABLED := outb tst-fnmatch bug-glob1 tst-gnuglob
+
+ifeq ($(TARGET_avr32),y)
+TESTS_DISABLED += tst-inotify
+endif
+
ifeq ($(UCLIBC_HAS_LFS),)
TESTS_DISABLED += dirent64
TESTS_DISABLED += tst-statfs # assuming host has LFS on
diff --git a/test/unistd/Makefile.in b/test/unistd/Makefile.in
index c884a39..44ff360 100644
--- a/test/unistd/Makefile.in
+++ b/test/unistd/Makefile.in
@@ -11,6 +11,10 @@ ifeq ($(UCLIBC_LINUX_SPECIFIC),)
TESTS_DISABLED += tst-fallocate
endif
+ifeq ($(TARGET_avr32),y)
+TESTS_DISABLED += tst-fallocate tst-posix_fallocate tst-fallocate64
+endif
+
# The logic is similar for HAS_ADVANCED_REALTIME and
# tst-posix_fallocate/tst-posix_fallocate64
ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 40678af7b459876ac1113f42fd647f110c8c7bd7 (commit)
from edda0488a6879c1598bee908418cba14d66f9712 (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 40678af7b459876ac1113f42fd647f110c8c7bd7
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Fri Oct 3 08:15:19 2014 +0200
linuxthreads: fix compile error for non-MMU
Otherwise you get following linking error, because
of missing functions in libc.a:
undefined reference to `__libc_enable_asynccancel'
Fix by Thorsten Glaser while hacking session.
-----------------------------------------------------------------------
Summary of changes:
libpthread/linuxthreads/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in
index 4a499f7..c1ec1c9 100644
--- a/libpthread/linuxthreads/Makefile.in
+++ b/libpthread/linuxthreads/Makefile.in
@@ -65,7 +65,7 @@ CFLAGS-OMIT-libc_pthread_init.c := $(CFLAGS-dir_linuxthreads)
libpthread_libc_CSRC := \
forward.c libc-cancellation.c libc_pthread_init.c # alloca_cutoff.c
libpthread_libc_OBJ := $(patsubst %.c, $(libpthread_OUT)/%.o,$(libpthread_libc_CSRC))
-libc-static-y += $(libpthread_OUT)/libc_pthread_init.o
+libc-static-y += $(libpthread_OUT)/libc_pthread_init.o $(libpthread_OUT)/libc-cancellation.o
libc-shared-y += $(libpthread_libc_OBJ:.o=.oS)
libpthread-static-y += $(patsubst %,$(libpthread_OUT)/%.o,$(libpthread_static_SRC))
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 59fe21c468d852a08847a8bcb62dea56408b510e (commit)
from cf649082c7d4723c4aedcc59e188c740642db2e3 (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 59fe21c468d852a08847a8bcb62dea56408b510e
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Fri Oct 3 06:11:32 2014 +0200
disable linkage of gcc_eh
As recently discussed on the uClibc mailing list here:
http://lists.uclibc.org/pipermail/uclibc/2014-September/048659.html
I think it is not required for gcc 4.8.3, which is default in
f.e. OpenADK. Tested with a DODEBUG build for x86.
-----------------------------------------------------------------------
Summary of changes:
Rules.mak | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index d6a2254..3cc38f8 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -822,11 +822,7 @@ ASFLAGS += $(ASFLAG_--noexecstack)
LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y)
$(eval $(call cache-output-var,LIBGCC,$(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name))
-$(eval $(call cache-output-var,LIBGCC_EH,$(CC) $(LIBGCC_CFLAGS) -print-file-name=libgcc_eh.a))
-# with -O0 we (e.g. lockf) might end up with references to
-# _Unwind_Resume, so pull in gcc_eh in this case..
LIBGCC_DIR:=$(dir $(LIBGCC))
-LIBGCC += $(if $(DODEBUG),$(LIBGCC_EH))
# moved from libpthread/linuxthreads
ifeq ($(UCLIBC_CTOR_DTOR),y)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 cf649082c7d4723c4aedcc59e188c740642db2e3 (commit)
from 9fc117ac5afd9c3c9e63947fb8f509964adc342c (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 cf649082c7d4723c4aedcc59e188c740642db2e3
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Wed Oct 1 20:54:18 2014 +0200
remove forced gcc optimization
It was added in 6d6bd8ba78434ecb09395582b5f3e41febd4d4ee,
but it is unclear for me, why this is needed or if it is
required. I don't think we should depend on some gcc
optimization, which might change in the future.
Anyway, this breaks c6x toolchain building (ICE), so I remove it.
Testsuite run for supported architectures didn't add any
new errors.
-----------------------------------------------------------------------
Summary of changes:
libc/unistd/daemon.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index 435d4f1..8fa2928 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -69,7 +69,6 @@
/* use clone() to get fork() like behavior here -- we just want to disassociate
* from the controlling terminal
*/
-static inline attribute_optimize("O3")
pid_t _fork_parent(void)
{
INTERNAL_SYSCALL_DECL(err);
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 9fc117ac5afd9c3c9e63947fb8f509964adc342c (commit)
via a86a896b2ab56f891c81af76bf495fb6ba0af389 (commit)
from 628943bcfde03547b9f83d04578bd1e8aa5d23fc (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 9fc117ac5afd9c3c9e63947fb8f509964adc342c
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Fri Sep 26 19:16:24 2014 +0200
libpthread: disable unimplemented configurations
When NPTL is available for an architecture just allow the use of it.
If NPTL is not available for an architecture, allow to choose between
LT and LT.old. This minimizes misconfiguration of threading library.
commit a86a896b2ab56f891c81af76bf495fb6ba0af389
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Fri Sep 26 19:00:16 2014 +0200
enable this symbol by default
disabling this results in non-working toolchain building, so
better do not allow anyone to disable it.
-----------------------------------------------------------------------
Summary of changes:
extra/Configs/Config.in | 49 +++++++++++++++++++++++++++++++----------------
1 file changed, 33 insertions(+), 16 deletions(-)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 663f785..6b8ee91 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -462,7 +462,7 @@ config LDSO_NO_CLEANUP
Unless you know you need this, you should answer N.
config UCLIBC_CTOR_DTOR
- bool "Support global constructors and destructors"
+ boolean
default y
help
If you wish to build uClibc with support for global constructor
@@ -512,6 +512,16 @@ config LINUXTHREADS_OLD
bool "older (stable) version of linuxthreads"
# linuxthreads and linuxthreads.old need nanosleep()
select UCLIBC_HAS_REALTIME
+ depends on !TARGET_arc && \
+ !TARGET_arm && \
+ !TARGET_i386 && \
+ !TARGET_metag && \
+ !TARGET_mips && \
+ !TARGET_powerpc && \
+ !TARGET_sh && \
+ !TARGET_sparc && \
+ !TARGET_x86_64 && \
+ !TARGET_xtensa
help
There are two versions of linuxthreads. The older (stable) version
has been in uClibc for quite a long time but hasn't seen too many
@@ -521,6 +531,16 @@ config LINUXTHREADS_OLD
config LINUXTHREADS_NEW
bool "slightly newer version of linuxthreads"
depends on ARCH_HAS_DEPRECATED_SYSCALLS
+ depends on !TARGET_arc && \
+ !TARGET_arm && \
+ !TARGET_i386 && \
+ !TARGET_metag && \
+ !TARGET_mips && \
+ !TARGET_powerpc && \
+ !TARGET_sh && \
+ !TARGET_sparc && \
+ !TARGET_x86_64 && \
+ !TARGET_xtensa
help
The new version has not been tested much, and lacks ports for arches
which glibc does not support (like bfin/frv/etc...), but is based on
@@ -533,24 +553,21 @@ config UCLIBC_HAS_THREADS_NATIVE
select UCLIBC_HAS_STDIO_FUTEXES
select UCLIBC_HAS_REALTIME
# i386 has no lowlevellock support (yet) as opposed to i486 onward
- depends on !CONFIG_386
+ depends on !CONFIG_386 && \
+ !TARGET_alpha && \
+ !TARGET_avr32 && \
+ !TARGET_bfin && \
+ !TARGET_c6x && \
+ !TARGET_cris && \
+ !TARGET_hppa && \
+ !TARGET_ia64 && \
+ !TARGET_m68k && \
+ !TARGET_microblaze && \
+ !TARGET_nios2 && \
+ !TARGET_vax
help
If you want to compile uClibc with NPTL support, then answer Y.
- IMPORTANT NOTE! NPTL requires a Linux 2.6 kernel, binutils
- at least version 2.16 and GCC with at least version 4.1.0. NPTL
- will not work with older versions of any above sources. If you
- ignore any of these guidelines, you do so at your own risk. Do
- not ask for help on any of the development mailing lists.
-
- !!!! WARNING !!!! BIG FAT WARNING !!!! REALLY BIG FAT WARNING !!!!
-
- This is experimental code and at times it may not even build and
- even if it does it might decide to do random damage. This code is
- potentially hazardous to your health and sanity. It will remain
- that way until further notice at which point this notice will
- disappear. Thank you for your support and for not smoking.
-
endchoice
config UCLIBC_HAS_THREADS
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 628943bcfde03547b9f83d04578bd1e8aa5d23fc (commit)
from bd3eaf83ef1b4954b6c0e7ba8bbdd29b2cd4a833 (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 628943bcfde03547b9f83d04578bd1e8aa5d23fc
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sat Jul 5 18:09:19 2014 +0200
Add eventfd_read() and eventfd_write()
Signed-off-by: Khem Raj <raj.khem(a)gmail.com>
-----------------------------------------------------------------------
Summary of changes:
libc/sysdeps/linux/common/Makefile.in | 2 ++
.../sysdeps/linux/common/eventfd_read.c | 10 +++++-----
.../sysdeps/linux/common/eventfd_write.c | 11 ++++++-----
libc/sysdeps/linux/common/sys/eventfd.h | 4 ----
4 files changed, 13 insertions(+), 14 deletions(-)
copy libpthread/linuxthreads/pthread_seteuid.c => libc/sysdeps/linux/common/eventfd_read.c (77%)
copy libpthread/linuxthreads/pthread_seteuid.c => libc/sysdeps/linux/common/eventfd_write.c (77%)
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in
index a175ab6..9d41771 100644
--- a/libc/sysdeps/linux/common/Makefile.in
+++ b/libc/sysdeps/linux/common/Makefile.in
@@ -25,6 +25,8 @@ CSRC-$(UCLIBC_LINUX_SPECIFIC) += \
capset.c \
dup3.c \
eventfd.c \
+ eventfd_read.c \
+ eventfd_write.c \
inotify.c \
ioperm.c \
iopl.c \
diff --git a/libpthread/linuxthreads/pthread_seteuid.c b/libc/sysdeps/linux/common/eventfd_read.c
similarity index 77%
copy from libpthread/linuxthreads/pthread_seteuid.c
copy to libc/sysdeps/linux/common/eventfd_read.c
index a5423a9..75f2aaa 100644
--- a/libpthread/linuxthreads/pthread_seteuid.c
+++ b/libc/sysdeps/linux/common/eventfd_read.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -15,13 +15,13 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <pthread.h>
+#include <errno.h>
#include <unistd.h>
+#include <sys/eventfd.h>
-int pthread_seteuid_np (uid_t uid);
int
-pthread_seteuid_np (uid_t uid)
+eventfd_read (int fd, eventfd_t *value)
{
- return seteuid (uid);
+ return read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}
diff --git a/libpthread/linuxthreads/pthread_seteuid.c b/libc/sysdeps/linux/common/eventfd_write.c
similarity index 77%
copy from libpthread/linuxthreads/pthread_seteuid.c
copy to libc/sysdeps/linux/common/eventfd_write.c
index a5423a9..e1509cf 100644
--- a/libpthread/linuxthreads/pthread_seteuid.c
+++ b/libc/sysdeps/linux/common/eventfd_write.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -15,13 +15,14 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <pthread.h>
+#include <errno.h>
#include <unistd.h>
+#include <sys/eventfd.h>
-int pthread_seteuid_np (uid_t uid);
int
-pthread_seteuid_np (uid_t uid)
+eventfd_write (int fd, eventfd_t value)
{
- return seteuid (uid);
+ return write (fd, &value,
+ sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}
diff --git a/libc/sysdeps/linux/common/sys/eventfd.h b/libc/sysdeps/linux/common/sys/eventfd.h
index 1bf785f..91b265b 100644
--- a/libc/sysdeps/linux/common/sys/eventfd.h
+++ b/libc/sysdeps/linux/common/sys/eventfd.h
@@ -33,16 +33,12 @@ __BEGIN_DECLS
value to COUNT. */
extern int eventfd (int __count, int __flags) __THROW;
-#if 0 /* not (yet) implemented in uClibc */
-
/* Read event counter and possibly wait for events. */
extern int eventfd_read (int __fd, eventfd_t *__value);
/* Increment event counter. */
extern int eventfd_write (int __fd, eventfd_t __value);
-#endif
-
__END_DECLS
#endif /* sys/eventfd.h */
hooks/post-receive
--
uClibc-ng - small C library for embedded systems