Re: Issue when testing with --as-needed enabled

2021-01-23 Thread Thomas Andrejak
Hello I'm sorry, I was not on the master branch. With an up to date gnulib version, I do not have this issue anymore. Thanks ! Regards Le dim. 3 janv. 2021 à 23:34, Bruno Haible a écrit : > Hi, > > Thomas Andrejak wrote: > > On debian 9 /10 / testing > > ... > > > > But, event with this

Re: implicit declaration of function 'utime' in trailing slashes test

2021-01-23 Thread Bruno Haible
> >>> conftest.c:491:23: error: implicit declaration of function 'utime' is > >>> invalid in C99 [-Werror,-Wimplicit-function-declaration] > >>> if (!utime ("conftest.tmp/", NULL)) > >>>^ > >>> 1 error generated. Thanks for the report. Fixed through the

[PATCH] libc-config: port to Xcode 7

2021-01-23 Thread Paul Eggert
Problem reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2021-01/msg01089.html * lib/cdefs.h (__nonnull): If already defined but glibc is not in use, override the definition with Gnulib’s _GL_ATTRIBUTE_NONNULL. This is needed for Xcode 7, which has a ‘#define __nonnull

Re: implicit declaration of function 'utime' in trailing slashes test

2021-01-23 Thread Tim Rühsen
On 23.01.21 07:09, Ryan Schmidt wrote: On Jan 22, 2021, at 16:47, Tim Rühsen wrote: On 21.01.21 01:34, Ryan Schmidt wrote: Hi, I'm the maintainer of wget in MacPorts. In the version of clang included with Xcode 12 and later, implicit declaration of functions is an error. During configure,

Re: [PATCH 2/2] Implement fallback for explicit_bzero using jump to volatile pointer

2021-01-23 Thread Bruno Haible
> +#else > + void * (* const volatile volatile_memset)(void *, int, size_t) = memset; > + (void) volatile_memset (s, '\0', len); > #endif > } Thanks. I applied this, adding a comment and a gnulib-style ChangeLog entry. Bruno

Re: [PATCH 1/2] Support clang for explicit_bzero

2021-01-23 Thread Bruno Haible
> diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c > index 87fadba81a..71a1cca3b0 100644 > --- a/lib/explicit_bzero.c > +++ b/lib/explicit_bzero.c > @@ -56,9 +56,19 @@ explicit_bzero (void *s, size_t len) >(void) memset_s (s, len, '\0', len); > #else >memset (s, '\0', len); > -#

[PATCH 1/2] Support clang for explicit_bzero

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès According to https://bugs.llvm.org/show_bug.cgi?id=15495#c11 llvm need g type constraint Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/explicit_bzero.c

[PATCH 2/2] Implement fallback for explicit_bzero using jump to volatile pointer

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c index 71a1cca3b0..c39f20164b 100644 --- a/lib/explicit_bzero.c +++ b/lib/explicit_bzero.c @@

[V5] explicit_bzero

2021-01-23 Thread roucaries . bastien
sorry for that [PATCH 1/2] Support clang for explicit_bzero [PATCH 2/2] Implement fallback for explicit_bzero using jump to

[PATCH 2/2] Implement fallback for explicit_bzero using jump to volatile pointer

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c index 71a1cca3b0..86a5fd35d7 100644 --- a/lib/explicit_bzero.c +++ b/lib/explicit_bzero.c @@

[PATCH 1/2] Support clang for explicit_bzero

2021-01-23 Thread roucaries . bastien
From: Bastien Roucariès According to https://bugs.llvm.org/show_bug.cgi?id=15495#c11 llvm need g type constraint Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/explicit_bzero.c

[V4][0/2] explicit_bzero

2021-01-23 Thread roucaries . bastien
Sorry for the late reply Last modification of explicit_bzero