GNU bug report logs - #50098
Configuring --with-libsigsegv results in link error

Previous Next

Package: grep;

Reported by: Evan Miller <emmiller <at> gmail.com>

Date: Tue, 17 Aug 2021 18:18:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Evan Miller <emmiller <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Bruno Haible <bruno <at> clisp.org>, Gnulib bugs <bug-gnulib <at> gnu.org>, 50098 <at> debbugs.gnu.org
Subject: bug#50098: Configuring --with-libsigsegv results in link error
Date: Sun, 22 Aug 2021 20:55:03 -0400
> On Aug 22, 2021, at 16:42, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> 
> On 8/22/21 4:19 AM, Evan Miller wrote:
>> c-stack.c: In function 'die':
>> c-stack.c:106:17: warning: implicit declaration of function 'mempcpy' [-Wimplicit-function-declaration]
>>        char *p = mempcpy (buf, progname, prognamelen);
> 
> Evidently some dependencies were missing from the c-stack module. I installed the attached patch. Please try the same set of commands again.
> <0001-c-stack-depend-on-inttypes-mempcpy.patch>

After updating gnulib master, the "make" step now ends with the error:

gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I..  -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib   -Wno-error -g -O2 -MT test-pthread.o -MD -MP -MF $depbase.Tpo -c -o test-pthread.o test-pthread.c &&\
mv -f $depbase.Tpo $depbase.Po
test-pthread.c:35: error: ‘PTHREAD_RWLOCK_INITIALIZER’ undeclared here (not in a function)
make[4]: *** [test-pthread.o] Error 1

Same or similar results with GCC4 and GCC7.



This bug report was last modified 3 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.