[Unbound-users] unbound linking bug with pthreads
W.C.A. Wijngaards
wouter at NLnetLabs.nl
Fri Feb 26 08:51:01 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/26/2010 09:13 AM, Florian Weimer wrote:
>> But that's not the case, because linking happens without -lpthread. That's
>> the original problem we started with.
>
> Is PTHREAD_CFLAGS included while linking? Obviously, it has to
> be---then gcc will translate -pthread to -lpthread, according to the
> specs rule I quoted.
Yes it is included while linking. This happens on my machine, for
example. However in the test linking for Fedora13 apparently it detects
- -pthread, but this is not included in the CFLAGS somehow. This is a
bug, and I do not understand how it can happen. config.log may help or
otherwise echo $CFLAGS inside the configure script to see how it changes
maybe.
Best regards,
Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkuHi3UACgkQkDLqNwOhpPjItACgh9a9Qmzn51QfN2u1M16B+bhh
Pe0AoJyc/6qiXyoiv/V3DUQ6BTc0WIhZ
=pOtJ
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list