------- Comment #5 from tim dot vanholder at anubex dot com 2008-03-03 12:03 ------- This issue with pthread_getaffinity_np also occurs on i686 debian, when building with --enable-targets=all (to get 64-bit output support). I have kernel 2.4, with glibc 2.3.6 (can't upgrade due to hardware that is not supported in kernel 2.6).
The 32-bit build works, but the 64-bit one fails; the 64-bit config.log doesn't seem to test for the function at all and simply assumes it's there (similar to http://gcc.gnu.org/ml/gcc/2007-04/msg00884.html). It's beginning to look as if --enable-targets=all is quite broken on i686 (so far, issues seen in libmudflap (bug #33064 - 6 months old, with a trivial fix) , libgomp (this one) and libjava (bug #35367, presumed configury issue, much like this one). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32193