Building libc with linuxthreads fails
Daniel Jacobowitz
drow@false.org
Fri Aug 5 04:11:00 GMT 2005
On Thu, Aug 04, 2005 at 07:11:59PM -0700, Christian Zankel wrote:
> Hi Daniel,
>
> I have unsuccessfully tried to build glibc with linuxthreads. It can't
> find the (second) pthread.h include file (included by include_next).
>
>
> Shouldn't the ports/linuxthreads/... directory be in the list of include
> directories passed to gcc? Any help would be appreciated.
>
> In file included from ../sysdeps/unix/sysv/linux/fatal-prepare.h:19,
> from assert.c:43:
> ../include/pthread.h:1:26: pthread.h: No such file or directory
>
> I used the following configuration options:
>
> ~/work/libc0804/libc/configure --prefix=/tmp/build
> --with-headers=/usr/src/linux/include/ --without-__thread
> --enable-add-ons=ports --disable-sanity-checks
What architecture is this? You can't do it this way; in fact, I think
you're building with neither linuxthreads nor NPTL enabled.
For the moment, please try copying linuxthreads and linuxthreads_db to
the top level, and then saying --enable-add-ons=linuxthreads.
--enable-add-ons=ports/linuxthreads/ doesn't quite work.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Libc-alpha
mailing list