[ANNOUNCE] libpthread-stubs 0.2

Arkadiusz Miskiewicz arekm at maven.pl
Wed Sep 23 04:13:04 PDT 2009


On Wednesday 23 of September 2009, Julien Danjou wrote:
> libpthread-stubs 0.2 is now available.

It looks broken.

> 
> Samuel Thibault (1):
>       Provide sem_* functions

configure:11001: x86_64-pld-linux-gcc -o conftest -O2 -fno-strict-aliasing -
fwrapv -march=x86-64 -gdwarf-2 -g2  -D_FORTIFY_SOURCE=2  -Wl,--as-needed -Wl,-
z,relro -Wl,-z,combreloc  conftest.c  >&5
/home/users/arekm/tmp/ccuskjrG.o: In function `main':
/home/users/arekm/rpm/BUILD/libpthread-stubs-0.2/conftest.c:69: undefined 
reference to `sem_init'

but sem_init is in libpthread.so library which configure.ac test doesn't link 
to.

This causes libpthread-stubs.so.* to be produced on Linux when it's 
unnecessary.

Also even if this is fixed resulting *.pc doesn't contain "-pthread" flag for 
cppflags/ldflags where it should IMO.
-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/



More information about the xorg mailing list