Hello,
I've noticed that several NPTL tst-cancelx* tests fail on ARM, because functions
invoking cancellable syscalls are compiled without -fasynchronous-unwind-tables
making it impossible for the libgcc DWARF unwinder to unwind stack past the
syscall and call the cleanup routine. They work on x86_64, because x86_64 gcc
has -fasynchronous-unwind-tables enabled by default, and on xtensa because it
uses custom unwinding code. I haven't checked, but AFAIU it should fail on other
architectures that use DWARF unwinder. Can anybody confirm that?
I guess that at least all functions that invoke cancellable syscalls
need to be built
with -fasynchronous-unwind-tables in their CFLAGS. I've tried that
with couple of
functions and it fixes corresponding tests. And that's what glibc does in
nptl/Makefile. Does that sound right for uClibc?
--
Thanks.
-- Max
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, 1.0 has been updated
via 5a167e319ca2bee566d330d1c901d76dc53deea7 (commit)
from 090e6baca19f4209a23fb05d9928f51a67c3d5af (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 5a167e319ca2bee566d330d1c901d76dc53deea7
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Fri Sep 11 13:34:14 2015 +0200
Revert "tgmath.h: disable builtins"
This reverts commit d1671548b968103f4df1b80659e60ae1fc5a67b3.
You get following errors while compiling freeswitch:
awgn.c: In function 'awgn_init_dbov': awgn.c:110:5: error: void value not ignored as it ought to be s->rms = pow(10.0, level/20.0)*32768.0;
Reverting this commit allows to build the code.
-----------------------------------------------------------------------
Summary of changes:
include/tgmath.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/tgmath.h b/include/tgmath.h
index ce20d42..1dc3595 100644
--- a/include/tgmath.h
+++ b/include/tgmath.h
@@ -47,7 +47,7 @@
/* 1 if 'type' is a floating type, 0 if 'type' is an integer type.
Allows for _Bool. Expands to an integer constant expression. */
-# if 0 /* __GNUC_PREREQ (3, 1) */
+# if __GNUC_PREREQ (3, 1)
# define __floating_type(type) \
(__builtin_classify_type ((type) 0) == 8 \
|| (__builtin_classify_type ((type) 0) == 9 \
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 e346b11a82b8f4851306b25e31a25b2dad532ea8 (commit)
from aaab37cb397b77fa83eccd338da7b5ebab2dc49d (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 e346b11a82b8f4851306b25e31a25b2dad532ea8
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Fri Sep 11 13:34:14 2015 +0200
Revert "tgmath.h: disable builtins"
This reverts commit d1671548b968103f4df1b80659e60ae1fc5a67b3.
You get following errors while compiling freeswitch:
awgn.c: In function 'awgn_init_dbov': awgn.c:110:5: error: void value not ignored as it ought to be s->rms = pow(10.0, level/20.0)*32768.0;
Reverting this commit allows to build the code.
-----------------------------------------------------------------------
Summary of changes:
include/tgmath.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/tgmath.h b/include/tgmath.h
index ce20d42..1dc3595 100644
--- a/include/tgmath.h
+++ b/include/tgmath.h
@@ -47,7 +47,7 @@
/* 1 if 'type' is a floating type, 0 if 'type' is an integer type.
Allows for _Bool. Expands to an integer constant expression. */
-# if 0 /* __GNUC_PREREQ (3, 1) */
+# if __GNUC_PREREQ (3, 1)
# define __floating_type(type) \
(__builtin_classify_type ((type) 0) == 8 \
|| (__builtin_classify_type ((type) 0) == 9 \
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
Hi,
I'm in the process of building a mipsel feed for Optware-ng using uClibc-ng
1.0.6 and gcc-4.9.3 toolchain built using Buildroot. The first issue I
stumbled upon was when I tried to build gettext 0.9.14:
libtool: link:
/home/alex/optware/buildroot-mipsel-ng/toolchain/buildroot-mipsel-linux-2.6.36-uclibc-ng-4.9.3/bin/mipsel-buildroot-linux-uclibc-gcc
-std=gnu99 -g -O2 -Wl,--dynamic-linker=/opt/lib/ld-uClibc.so.0 -Wl,-rpath
-Wl,/opt/lib -Wl,-rpath-link
-Wl,/home/alex/optware/buildroot-mipsel-ng/staging/opt/lib -o .libs/msgcmp
msgcmp-msgcmp.o msgcmp-msgl-fsearch.o
-L/home/alex/optware/buildroot-mipsel-ng/staging/opt/lib
./.libs/libgettextsrc.so
/home/alex/optware/buildroot-mipsel-ng/builds/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so
-lncurses
/home/alex/optware/buildroot-mipsel-ng/builds/gettext/gettext-tools/intl/.libs/libintl.so
-lc -liconv -lm -Wl,-rpath -Wl,/opt/lib
/home/alex/optware/buildroot-mipsel-ng/builds/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
undefined reference to `posix_spawn_file_actions_addclose'
/home/alex/optware/buildroot-mipsel-ng/builds/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
undefined reference to `posix_spawnp'
/home/alex/optware/buildroot-mipsel-ng/builds/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
undefined reference to `posix_spawn_file_actions_adddup2'
/home/alex/optware/buildroot-mipsel-ng/builds/gettext/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
undefined reference to `posix_spawn_file_actions_addopen'
collect2: error: ld returned 1 exit status
The same gettext version builds fine against uclibc-0.9.33.2 with this
patch:
https://github.com/alllexx88/Optware-ng/blob/master/sources/gettext/uClibc-…
I take it, those symbols are there in the headers, but not yet implemented
un uclibc-ng. I can't see from the first glance any configure switch to
disable the use of those symbols, will look further into the sourcecode a
bit later, maybe there's a simple workaround to not use them.
--
Best regards,
Alex Potapenko
Dear all,
I'm developer of Optware-ng <https://github.com/alllexx88/Optware-ng>, an
attempt to "revive" the obsolete Optware. All three feeds currently use
Buildroot 2015-02 toolchains, two of them (arm and mipsel) use uClibc
0.9.33.2 as the libc. These uClibc targets (especially mipsel) have some
hard-to-debug issues that are quite possible due to uClibc-0.9.33.2 bugs
(glibc target has no such problems), so I'm thinking to switch to uClibc-ng
using the latest Buildroot. The question is whether Buildroot-2015-02's
uClibc 0.9.33.2 and uClibc-ng 1.0.6 are compatible? Can I simply compile
new toolchain and re-package the libc, or do I need to recompile the entire
repos from scratch?
--
Best regards,
Alex Potapenko