[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[issues] Help: using linuxthreads on eglibc 2.7 on ARM



Hello all,
for a variety of reasons I have to do some tests using linuxthreads on
version 2.7. Is this possible? I see linuxthreads is included in the
subversion repository, but if I disable NPTL and enable linuxthreads
compiling miserably fails:

assert.c: In function ‘__assert_fail’:
assert.c:54: error: ‘__libc_pthread_functions_init’ undeclared (first
use in this function)
assert.c:54: error: (Each undeclared identifier is reported only once
assert.c:54: error: for each function it appears in.)
assert.c:54: warning: implicit declaration of function ‘PTHFCT_CALL’
assert.c:54: error: ‘ptr_pthread_setcancelstate’ undeclared (first use
in this function)
assert.c:54: warning: left-hand operand of comma expression has no effect
make[2]: *** [/usr/src/eglibc-2.7/COMPILE/assert/assert.os] Error 1
make[2]: Leaving directory `/usr/src/eglibc-2.7/libc/assert'
make[1]: *** [assert/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/eglibc-2.7/libc'
make: *** [all] Error 2


This is my configure command line:
CFLAGS="-fgnu89-inline -O2" ../libc/configure arm-linux-gnueabi
-target=arm-linux-gnueabi --build=i686-pc-linux-gnu  --prefix=
--without-fp --enable-add-ons=linuxthreads --disable-sanity-checks

Any pointers?
thanks,
Rodolfo