This is the mail archive of the libc-alpha@sourceware.org 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]

Re: status of NPTL for mips?


2005/9/10, Daniel Jacobowitz <drow@false.org>:
> On Sat, Sep 10, 2005 at 06:47:31PM +0200, Lior Balkohen wrote:
> > > It's in HEAD.  It works.  You can find plenty more about this in the
> > > list archives.
> > >
> >
> > well, with my build environment (gcc-4.0.1, binutils and libc
> > yesterdays CVS HEAD, and 2.6.13.1 headers.) it does not work, i got a
> > build error.
> >
> > me thinks, it's a binutils issue (tried also binutils-2.16.1, doesn't
> > work eighter) any advices?
> 
> It's an error from GCC, so it isn't a binutils problem.  Also I think
> you need gcc HEAD.
> 

i don't want to waste your time, but again:

uname -a
Linux Eilat 2.6.12 #1 Wed Sep 7 19:25:08 CEST 2005 ppc 7450, altivec
supported PowerMac3,5 GNU/Linux

mipsel-xilleon-linux-gnu-ld -V
GNU ld version 2.16.91 20050910
  Supported emulations:
   elf32ltsmip
   elf32btsmip
   elf32ltsmipn32
   elf64ltsmip
   elf32btsmipn32
   elf64btsmip

mipsel-xilleon-linux-gnu-gcc -v
Using built-in specs.
Target: mipsel-xilleon-linux-gnu
Configured with: ../gcc/gcc/configure --prefix=/home/lior/mips/cdk
--build=powerpc-unknown-linux-gnu --target=mipsel-xilleon-linux-gnu
--disable-nls --disable-shared --disable-threads --disable-debug
--enable-languages=c --with-arch=4kc --with-float=soft
--disable-libssp --disable-libmudflap
Thread model: single
gcc version 4.1.0 20050910 (experimental)


../glibc/configure --prefix= --build=powerpc-unknown-linux-gnu
--host=mipsel-xilleon-linux-gnu --enable-shared --disable-debug
--disable-profile --with-headers=$HOME/mips/src/linux-2.6.13.1/include
--without-fp --enable-add-ons=nptl --with-__thread --with-tls

mipsel-xilleon-linux-gnu-gcc -mabi=32 ../sysdeps/mips/libc-tls.c -c
-std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g  
   -I../include -I. -I/home/lior/mips/src/build/csu -I.. -I../libio
-I../nptl -I/home/lior/mips/src/build -I../sysdeps/mips/elf
-I../nptl/sysdeps/unix/sysv/linux/mips
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
-I../nptl/sysdeps/unix -I../nptl/sysdeps/mips
-I../nptl/sysdeps/generic -I../sysdeps/unix/sysv/linux/mips/mips32
-I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -nostdinc -isystem
/home/lior/mips/cdk/lib/gcc/mipsel-xilleon-linux-gnu/4.1.0/include
-isystem /home/lior/mips/src/linux-2.6.13.1/include -D_LIBC_REENTRANT
-D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC    
-DHAVE_INITFINI -o /home/lior/mips/src/build/csu/libc-tls.o -MD -MP
-MF /home/lior/mips/src/build/csu/libc-tls.o.dt -MT
/home/lior/mips/src/build/csu/libc-tls.o
In file included from ../sysdeps/mips/libc-tls.c:20:
../sysdeps/generic/libc-tls.c: In function '__libc_setup_tls':
../sysdeps/generic/libc-tls.c:191: error: '__NR_set_thread_area'
undeclared (first use in this function)
../sysdeps/generic/libc-tls.c:191: error: (Each undeclared identifier
is reported only once
../sysdeps/generic/libc-tls.c:191: error: for each function it appears in.)
make[2]: *** [/home/lior/mips/src/build/csu/libc-tls.o] Error 1
make[2]: Leaving directory `/home/lior/mips/src/glibc/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/lior/mips/src/glibc'
make: *** [all] Error 2


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