Now, when I move over to eglibc it chokes somewhere in the NPTL:
gcc init.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline
[...]
init.c: In function '__pthread_initialize_minimal_internal':
init.c:284: error: 'res' undeclared (first use in this function)
init.c:284: error: (Each undeclared identifier is reported only once
init.c:284: error: for each function it appears in.)
init.c:284: error: 'FUTEX_PRIVATE_FLAG' undeclared (first use in this
function)
init.c:286: warning: left-hand operand of comma expression has no effect
init.c:287: error: 'struct <anonymous>' has no member named 'private_futex'
make[2]: *** [/usr/ports/ckcore/eglibc-svn/work/src/build/nptl/init.o]
Error 1
make[2]: Leaving directory
`/usr/ports/ckcore/eglibc-svn/work/src/eglibc/nptl'
make[1]: *** [nptl/subdir_lib] Error 2
make[1]: Leaving directory `/usr/ports/ckcore/eglibc-svn/work/src/eglibc'
make: *** [all] Error 2
I guess that the problems are related to the latest changes you pulled
from glibc.