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 836c1a7baa9421c1222e022cdc263d8c1a5a2b14 (commit)
from 73490b63e659336596420a263c3a7133ccfd914b (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 836c1a7baa9421c1222e022cdc263d8c1a5a2b14
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Thu Dec 17 21:07:07 2015 +0100
Revert "glibc compat: bump glibc minor version"
This reverts commit 4a05ed87ceb946608100642121c32e642b58cd0d.
This breaks SSP detection for gcc, which might be problematic
for some projects. Revert it after some discussion with
buildroot and openembedded people.
-----------------------------------------------------------------------
Summary of changes:
include/features.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/features.h b/include/features.h
index f6fbbf4..dcf1348 100644
--- a/include/features.h
+++ b/include/features.h
@@ -393,7 +393,7 @@ uClibc was built without large file support enabled.
these macros to test for features in specific releases. */
/* Don't do it, if you want to keep uClibc happy. */
#define __GLIBC__ 2
-#define __GLIBC_MINOR__ 10
+#define __GLIBC_MINOR__ 2
#endif
#define __GLIBC_PREREQ(maj, min) \
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
Hi Thomas, Khem, Alexey,
recently Khem tried to use systemd with openembedded and uClibc-ng.
Most of the needed stuff is ready and will be committed soon.
There is one open issue I want to discuss with you.
The GLIBC_MINOR bump in commit
4a05ed87ceb946608100642121c32e642b58cd0d is breaking SSP detection
in GCC. This was discovered in Buildroot and fixed.
It seems there is a major problem to fix it in OpenEmbedded, so
Khem is asking for revert of this commit for the next release.
What do you think about it?
Isn't the boost problem solved anyway in another way?
May be we just learned what it means to bump this number and
can revert it back to the old value. We should still try
to get a patch into gcc to avoid any misdetection regarding
SSP for the next major gcc release.
Thanks for any opinion,
best regards
Waldemar
The current (arbitrary) limit of 128 characters for path names has
proven too short for Android builds, as longer path names are used
there.
Change conf.c, so it can handle path lengths up to PATH_MAX characters.
Signed-off-by: Markus Mayer <mmayer(a)broadcom.com>
---
This change was also submitted to the Linux community and has been
accepted.
https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/commit/?h=kc…
extra/config/conf.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/extra/config/conf.c b/extra/config/conf.c
index b24c1c3..34bb4f5 100644
--- a/extra/config/conf.c
+++ b/extra/config/conf.c
@@ -5,6 +5,7 @@
#include <locale.h>
#include <ctype.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -40,7 +41,7 @@ static int tty_stdio;
static int valid_stdin = 1;
static int sync_kconfig;
static int conf_cnt;
-static char line[128];
+static char line[PATH_MAX];
static struct menu *rootEntry;
static void print_help(struct menu *menu)
@@ -108,7 +109,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
if (!tty_stdio)
printf("\n");
return 1;
@@ -310,7 +311,7 @@ static int conf_choice(struct menu *menu)
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
strip(line);
if (line[0] == '?') {
print_help(menu);
--
1.9.1
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 d1b81113b43a6d26dec4e0e58a380895d121006e (commit)
from 507f795a5969fcba5196236e706aecab5ee91dd9 (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 d1b81113b43a6d26dec4e0e58a380895d121006e
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Fri Dec 11 09:02:22 2015 +0100
Revert "fix tst-signal7 failure"
This reverts commit ea21c7610aa1131b37a4533cf13dd89f727fb83f.
This was accidently pushed, before first coffee.
Sorry this is a bad commit.
-----------------------------------------------------------------------
Summary of changes:
libc/signal/sigaction.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c
index 0a02998..2560647 100644
--- a/libc/signal/sigaction.c
+++ b/libc/signal/sigaction.c
@@ -25,11 +25,6 @@
int
__libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
{
- if (unlikely (sig == SIGCANCEL || sig == SIGSETXID)) {
- __set_errno (EINVAL);
- return -1;
- }
-
/* NB: kernel (as of 2.6.25) will return EINVAL
* if sizeof(act->sa_mask) does not match kernel's sizeof(sigset_t).
* Try to catch this problem at uclibc build time: */
@@ -53,11 +48,6 @@ __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
int result;
struct old_kernel_sigaction kact, koact;
- if (unlikely (sig == SIGCANCEL || sig == SIGSETXID)) {
- __set_errno (EINVAL);
- return -1;
- }
-
if (act) {
kact.k_sa_handler = act->sa_handler;
kact.sa_mask = act->sa_mask.__val[0];
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, 1.0 has been updated
via 507f795a5969fcba5196236e706aecab5ee91dd9 (commit)
via ea21c7610aa1131b37a4533cf13dd89f727fb83f (commit)
via 7661046a31605024d5cd2ef4eed24d1774539d8b (commit)
from f3702d3e353f5a5da500f9029b0d1edaff7affff (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 507f795a5969fcba5196236e706aecab5ee91dd9
Author: Markus Mayer <mmayer(a)broadcom.com>
Date: Thu Dec 10 11:24:24 2015 -0800
config: allow config to handle longer path names
The current (arbitrary) limit of 128 characters for path names has
proven too short for Android builds, as longer path names are used
there.
Change conf.c, so it can handle path lengths up to PATH_MAX characters.
Signed-off-by: Markus Mayer <mmayer(a)broadcom.com>
commit ea21c7610aa1131b37a4533cf13dd89f727fb83f
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Thu Dec 10 11:21:13 2015 +0100
fix tst-signal7 failure
error out on internal NPTL used signals.
commit 7661046a31605024d5cd2ef4eed24d1774539d8b
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Thu Dec 10 11:04:57 2015 +0100
disable always failing tst-tls16, until someone unbreak it
-----------------------------------------------------------------------
Summary of changes:
extra/config/conf.c | 7 ++++---
libc/signal/sigaction.c | 10 ++++++++++
test/tls/Makefile.in | 4 ++++
3 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/extra/config/conf.c b/extra/config/conf.c
index b24c1c3..34bb4f5 100644
--- a/extra/config/conf.c
+++ b/extra/config/conf.c
@@ -5,6 +5,7 @@
#include <locale.h>
#include <ctype.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -40,7 +41,7 @@ static int tty_stdio;
static int valid_stdin = 1;
static int sync_kconfig;
static int conf_cnt;
-static char line[128];
+static char line[PATH_MAX];
static struct menu *rootEntry;
static void print_help(struct menu *menu)
@@ -108,7 +109,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
if (!tty_stdio)
printf("\n");
return 1;
@@ -310,7 +311,7 @@ static int conf_choice(struct menu *menu)
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
strip(line);
if (line[0] == '?') {
print_help(menu);
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c
index 2560647..0a02998 100644
--- a/libc/signal/sigaction.c
+++ b/libc/signal/sigaction.c
@@ -25,6 +25,11 @@
int
__libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
{
+ if (unlikely (sig == SIGCANCEL || sig == SIGSETXID)) {
+ __set_errno (EINVAL);
+ return -1;
+ }
+
/* NB: kernel (as of 2.6.25) will return EINVAL
* if sizeof(act->sa_mask) does not match kernel's sizeof(sigset_t).
* Try to catch this problem at uclibc build time: */
@@ -48,6 +53,11 @@ __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
int result;
struct old_kernel_sigaction kact, koact;
+ if (unlikely (sig == SIGCANCEL || sig == SIGSETXID)) {
+ __set_errno (EINVAL);
+ return -1;
+ }
+
if (act) {
kact.k_sa_handler = act->sa_handler;
kact.sa_mask = act->sa_mask.__val[0];
diff --git a/test/tls/Makefile.in b/test/tls/Makefile.in
index bbb4216..6e193a9 100644
--- a/test/tls/Makefile.in
+++ b/test/tls/Makefile.in
@@ -7,6 +7,10 @@ TESTS := tst-tls1 tst-tls2 tst-tls3 tst-tls4 tst-tls5 tst-tls6 tst-tls7 \
tst-tls1-static tst-tls2-static tst-tls9-static
TESTS_DISABLED := tst-tls1-static tst-tls2-static tst-tls9-static
+# test always fails for every architecture,
+# guessing some unimplemented check or feature
+TESTS_DISABLED += tst-tls16
+
#all these tests require shared libraries
ifeq ($(HAVE_SHARED),)
TESTS_DISABLED := $(TESTS)
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 a4b3f4863e5904fef296538fdf71e7e806bf77e9 (commit)
from 97a011d422f037af35d77c15ccc94c2ed1121471 (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 a4b3f4863e5904fef296538fdf71e7e806bf77e9
Author: Markus Mayer <mmayer(a)broadcom.com>
Date: Thu Dec 10 11:24:24 2015 -0800
config: allow config to handle longer path names
The current (arbitrary) limit of 128 characters for path names has
proven too short for Android builds, as longer path names are used
there.
Change conf.c, so it can handle path lengths up to PATH_MAX characters.
Signed-off-by: Markus Mayer <mmayer(a)broadcom.com>
-----------------------------------------------------------------------
Summary of changes:
extra/config/conf.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/extra/config/conf.c b/extra/config/conf.c
index b24c1c3..34bb4f5 100644
--- a/extra/config/conf.c
+++ b/extra/config/conf.c
@@ -5,6 +5,7 @@
#include <locale.h>
#include <ctype.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -40,7 +41,7 @@ static int tty_stdio;
static int valid_stdin = 1;
static int sync_kconfig;
static int conf_cnt;
-static char line[128];
+static char line[PATH_MAX];
static struct menu *rootEntry;
static void print_help(struct menu *menu)
@@ -108,7 +109,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
if (!tty_stdio)
printf("\n");
return 1;
@@ -310,7 +311,7 @@ static int conf_choice(struct menu *menu)
/* fall through */
case oldaskconfig:
fflush(stdout);
- xfgets(line, 128, stdin);
+ xfgets(line, sizeof(line), stdin);
strip(line);
if (line[0] == '?') {
print_help(menu);
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 97a011d422f037af35d77c15ccc94c2ed1121471 (commit)
via 1606a5c1fe3d1772636fac0976acdce3972be40d (commit)
from 4e3f659c92fae8a539aeeb113ee401a56d775ab7 (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 97a011d422f037af35d77c15ccc94c2ed1121471
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Wed Dec 9 19:41:41 2015 +0100
arc: add ulps file for math tests
Using non-generic ulps file reduces failure counts for
math tests. Generated with nsim emulator running
test-{double,idouble,float,ifloat} -u and
gen-libm-test.pl on the build host.
commit 1606a5c1fe3d1772636fac0976acdce3972be40d
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Wed Dec 9 19:26:33 2015 +0100
do not hardcode path to perl
When cross-compiling on other Unix systems like
FreeBSD 10.x, perl is not in /usr/bin. Use env
to find the perl interpreter and use no fixed path
when executing via make.
-----------------------------------------------------------------------
Summary of changes:
test/math/Makefile.in | 2 +-
test/math/gen-libm-test.pl | 2 +-
.../{libm-test-ulps-xtensa => libm-test-ulps-arc} | 17 ++++++++++++++++-
3 files changed, 18 insertions(+), 3 deletions(-)
copy test/math/{libm-test-ulps-xtensa => libm-test-ulps-arc} (90%)
diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index 9fbd58a..3874001 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -28,7 +28,7 @@ endif
EXTRA_CFLAGS := -fno-builtin
EXTRA_LDFLAGS := -lm
-PERL := /usr/bin/perl
+PERL := perl
MDEPS := $(wildcard test-*.c)
$(MDEPS): libm-test.c
diff --git a/test/math/gen-libm-test.pl b/test/math/gen-libm-test.pl
index 0bb2b46..118f352 100755
--- a/test/math/gen-libm-test.pl
+++ b/test/math/gen-libm-test.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
# Copyright (C) 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Andreas Jaeger <aj(a)suse.de>, 1999.
diff --git a/test/math/libm-test-ulps-xtensa b/test/math/libm-test-ulps-arc
similarity index 90%
copy from test/math/libm-test-ulps-xtensa
copy to test/math/libm-test-ulps-arc
index 9c730fa..7139447 100644
--- a/test/math/libm-test-ulps-xtensa
+++ b/test/math/libm-test-ulps-arc
@@ -2,7 +2,6 @@
# cos
Test "cos (M_PI_6l * 2.0) == 0.5":
-double: 1
idouble: 1
Test "cos (M_PI_6l * 4.0) == -0.5":
double: 2
@@ -79,6 +78,16 @@ Test "log10 (e) == log10(e)":
float: 1
ifloat: 1
+# tgamma
+Test "tgamma (-0.5) == -2 sqrt (pi)":
+double: 1
+idouble: 1
+Test "tgamma (0.7) == 1.29805533264755778568117117915281162":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
# Maximal error of functions:
Function: "cos":
double: 2
@@ -126,4 +135,10 @@ Function: "tan":
double: 1
idouble: 1
+Function: "tgamma":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
# end of automatic generation
hooks/post-receive
--
uClibc-ng - small C library for embedded systems