This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cris build error with glibc-2.3.2: errno-loc.c:39: error: `pthread_descr'undeclared


Hi Hans-Peter,
I've successfully built a gcc-3.2.3/glibc-2.2.5 toolchain for cris
(with the build script at http://kegel.com/crosstool), but building
glibc-2.3.2 with gcc-3.3 fails with
../linuxthreads/sysdeps/pthread/errno-loc.c: In function `__errno_location':
../linuxthreads/sysdeps/pthread/errno-loc.c:39: error: `pthread_descr' undeclared (first use in this function)
../linuxthreads/sysdeps/pthread/errno-loc.c:39: error: parse error before "self"
../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: implicit declaration of function `LIBC_THREAD_GETMEM'
../linuxthreads/sysdeps/pthread/errno-loc.c:40: error: `self' undeclared (first use in this function)
../linuxthreads/sysdeps/pthread/errno-loc.c:40: error: `p_errnop' undeclared (first use in this function)
../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: return makes pointer from integer without a cast
make[2]: *** [/build/cris-unknown-linux-gnu/gcc-3.3-glibc-2.3.2/build-glibc/csu/errno-loc.o] Error 1

According to http://sources.redhat.com/ml/libc-alpha/2003-01/msg00008.html
this implies the port maintainer needs to write
linuxthreads/sysdeps/unix/sysv/linux/cris/sysdep-cancel.h

As the maintainer :-), do you have that file, or some other workaround?
I searched a bit on the net, and didn't see anything.

Thanks,
Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]