------- Comment #2 from amonakov at gcc dot gnu dot org 2009-12-28 17:45 ------- (In reply to comment #1) > So, your pthread.h doesn't contain prototype for pthread_getaffinity_np, yet > libpthread.so.0 exports it? Otherwise:
Affected system declares those functions in /usr/include/nptl/pthread.h. Some clarifications here: http://gcc.gnu.org/ml/gcc/2009-12/msg00376.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42519