[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#50098: Configuring --with-libsigsegv results in link error

From: Bruno Haible
Subject: Re: bug#50098: Configuring --with-libsigsegv results in link error
Date: Mon, 23 Aug 2021 03:15:07 +0200

Evan Miller wrote:
> 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.

You can ignore this error — which merely indicates that the POSIX threads on
macOS 10.4 are incomplete and gnulib does not work around this particular
issue — and comment out the test-pthread and test-pthread-rwlock from the
gltests/Makefile. Then you can do 'make check' and see whether the
tests of the 'sigsegv' module work or not.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]