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]

Continued issues with glibc-2.2.1 and mipsel-linux target...


I am still unable to cross-compile GLIBC for mipsel-linux. I
reported this error before, but was questioned if I was using
the latest kernel headers. Yes, I am. I am using the SGI Linux
kernel which is currently at 2.4.0. Below are the configuration
lines used for the latest binutils and gcc out of CVS which 
built with no problems. Also is my configuration line for GLIBC.

As you can see the same 'kernel_sigset_t' typedef is not being
found. I decided to do a grep through the entire SGI as well as
vanilla 2.4.0 kernel tree using the command line:

    find . -name '*.[chS]' -exec grep -l kernel_sigset_t {} \;

It produced:

       ./include/asm-alpha/posix_types.h
       ./include/asm-ia64/posix_types.h

The line found was:

       typedef unsigned long   __kernel_sigset_t;      /* at least 32 bits */

The above is the only typedef even close to the symbol not being
found when I attempt a cross-compile. I am curious if anyone has
succesfully built a 'mipsel-linux' GLIBC with 2.2.1 or is everyone
building with the 'mips-linux' target?

-Steve       

*****************
CONFIG DIRECTIVES
*****************
/data/cvs/binutils/src/configure --prefix=/usr i686-pc-linux-gnu
--target=mipsel-linux
AR=mipsel-linux-ar RANLIB=mipsel-linux-ranlib /data/cvs/gcc/configure
--prefix=/usr --target=mipsel-linux i686-pc-linux-gnu --with-newlib
--disable-shared --enable-languages=c
BUILD_CC=gcc CC=mipsel-linux-gcc AR=mipsel-linux-ar AS=mipsel-linux-as
RANLIB=mipsel-linux-ranlib /data/cvs/libc/configure --prefix=/usr
--host=mipsel-linux --build=i686-pc-linux-gnu --enable-add-ons --with-elf
--disable-profile --without-cvs --with-headers=/usr/mipsel-linux/include

*************
ERROR MESSAGE
*************
mipsel-linux-gcc ../sysdeps/unix/sysv/linux/sigprocmask.c -c -O -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g      -I../include -I.
-I/opt/build-glibc/signal -I.. -I../libio  -I/opt/build-glibc
-I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips
-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 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/mipsel -I../sysdeps/mips/fpu
-I../sysdeps/mips -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic  -nostdinc -isystem
/usr/lib/gcc-lib/mipsel-linux/2.97/include -isystem /usr/mipsel-linux/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC   -o
/opt/build-glibc/signal/sigprocmask.o
../sysdeps/unix/sysv/linux/mips/sigaction.c: In function `__libc_sigaction':
../sysdeps/unix/sysv/linux/mips/sigaction.c:74: `kernel_sigset_t' undeclared
(first use in this function)
../sysdeps/unix/sysv/linux/mips/sigaction.c:74: (Each undeclared identifier is
reported only once
../sysdeps/unix/sysv/linux/mips/sigaction.c:74: for each function it appears
in.)
make[2]: *** [/opt/build-glibc/signal/sigaction.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/data/cvs/libc/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/data/cvs/libc'
make: *** [all] Error 2

-- 
 Steven J. Hill - Embedded SW Engineer
 Public Key: 'finger sjhill@mail.cotw.com'
 FPR1: E124 6E1C AF8E 7802 A815
 FPR2: 7D72 829C 3386 4C4A E17D

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