[cairo-bugs] [Bug 35122] QNX 6 configure diff
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 9 07:32:17 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=35122
--- Comment #3 from M Joonas Pihlaja <jpihlaja at cc.helsinki.fi> 2011-03-09 07:32:14 PST ---
(In reply to comment #2)
> config.log as requested. The issue appears to be
> in cairo-1.10.0/build/configure.ac.pthread which
> defaults PTHREAD_LIBS="-lpthread" if not already
> set.
Yet, according to config.log, it correctly figures out that no extra pthread
libraries need to be linked in. From the log:
> pthread_CFLAGS='-D_REENTRANT'
> pthread_LIBS=''
[snip]
> real_pthread_CFLAGS=''
> real_pthread_LIBS=''
[snip]
> #define CAIRO_HAS_PTHREAD 1
Further up in the log it tries to use -lpthread, but that doesn't work, and
then it tries -pthread, but that also doesn't work, and finally it tries
nothing at all, and that does work.
The log also shows that configure.ac.pthreads doesn't believe your libc has
"real" pthreads as opposed to stubs, but that's okay since compiling the
library proper doesn't need "real" pthread functionality. The test suite does,
however, as some of the tests spawn actual threads, so make check might not
work for you.
What is the actual error you're seeing?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list