bug-gnulib
[Top][All Lists]
Advanced

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

Re: FreeBSD 11.2: glthread build failure


From: Tim Rühsen
Subject: Re: FreeBSD 11.2: glthread build failure
Date: Thu, 9 Jan 2020 11:04:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1

FYI, the issue below also happens with --disable-threads.

Using --enable-threads=isoc fixes it (found in an earlier post on this ML).

Regards, Tim

On 1/7/20 4:03 PM, Tim Rühsen wrote:
> Hi,
> 
> with the latest gnulib (a7903da07d3d18c23314aa0815adbb4058fd7cec) on
> FreeBSD 11.2-RELEASE-p4 (with clang 6.0):
> 
>   CCLD     wget2
> /usr/bin/ld: undefined reference to symbol
> `pthread_mutexattr_gettype@@FBSD_1.0' (try adding -lthr)
> //lib/libthr.so.3: could not read symbols: Bad value
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> gmake[2]: *** [Makefile:1697: wget2] Error 1
> 
> I have no direct access to that machine or to any other FreeBSD
> installation.
> 
> LIBMULTITHREAD=''
> LIBPMULTITHREAD='-lpthread'
> LIBPTHREAD=''
> LIBSTDTHREAD=''
> LIBTHREAD=''
> LIB_PTHREAD_SIGMASK=''
> 
> gnulib-tool tells me to add $(LIBMULTITHREAD), $(LIBTHREAD) and
> $(LIB_PTHREAD_SIGMASK) to LDADD.
> 
> config.log is at
> https://gitlab.com/gnuwget/wget2/-/jobs/395869770/artifacts/file/config.log
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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