When I emerge xerces-c, it fails its test suite because it fails to *build* it. Reproducible: Always Steps to Reproduce: 1. FEATURES="test" emerge -1 xerces-c Actual Results: make check failed Compiling src/ThreadTest/ThreadTest.cpp i486-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -Wl,-O1 -o .libs/ThreadTest src/ThreadTest/ThreadTest.o ../src/.libs/libxerces-c.so -lnsl src/ThreadTest/ThreadTest.o: In function `ThreadFuncs::startThread(void (*)(void*), void*)': ThreadTest.cpp:(.text+0x21cc): undefined reference to `pthread_create' collect2: ld returned 1 exit status make[2]: *** [ThreadTest] Error 1 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 Expected Results: Test suite built and hopefully run successfully, so it can be merged to the system. Appending -pthread to the link command line shown the actual results section fixes the issue. However, I do not know to apply the fix in Makefile.{am,in} .
Created attachment 177356 [details] emerge --info
Upstream seems to have it fixed for version 3.0.1.