This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
MIPS glibc still not compiling...
- From: "Steven J. Hill" <sjhill at cotw dot com>
- To: hjl at lucon dot org
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 18 Jan 2002 08:52:44 -0600
- Subject: MIPS glibc still not compiling...
- Reply-to: sjhill at cotw dot com
Greetings.
I checked out the latest binutils, gcc and glibc sources at
1:40PM GMT or 7:40AM my time. Both binutils and gcc built
fine for x86 hosted MIPS cross tools. glibc is still not
building and I still am getting the same symbol error as
before. Below is the output:
****************************************************
make[2]: Entering directory `/opt/glibc-20020118/elf'
mipsel-linux-gcc -nostdlib -nostartfiles -shared \
-Wl,--verbose 2>&1 | \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> /opt/build-glibc/elf/ld.so.lds;
\
mipsel-linux-gcc -nostdlib -nostartfiles -shared -o /opt/build-glibc/elf/ld.so
\
/opt/build-glibc/elf/librtld.os -Wl,--version-script=/opt/build-glibc/
ld.map \
-Wl,-soname=ld.so.1 -T /opt/build-glibc/elf/ld.so.lds;
\
rm -f /opt/build-glibc/elf/ld.so.lds
/opt/toolchains/mips/lib/gcc-lib/mipsel-linux/3.1/../../../../mipsel-linux/bin/l
d: /opt/build-glibc/elf/ld.so: undefined versioned symbol name __xstat64@GLIBC_2
.1
/opt/toolchains/mips/lib/gcc-lib/mipsel-linux/3.1/../../../../mipsel-linux/bin/l
d: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
rm -f /opt/build-glibc/elf/ld.so.1
ln -s ld.so /opt/build-glibc/elf/ld.so.1
make[2]: Leaving directory `/opt/glibc-20020118/elf'
make[1]: *** No rule to make target `/opt/build-glibc/elf/ld.so', needed by `/op
t/build-glibc/libc.so'. Stop.
make[1]: Leaving directory `/opt/glibc-20020118'
make: *** [all] Error 2
root@dev1:/opt/build-glibc$
****************************************************
I am using 2.4.17 Linux kernel headers for MIPS. The only difference I can think
of now is the kernel headers and a different x86 Linux distribution that I am
building my cross toolchain on. I am running RH 7.1 with glibc-2.2.2, gcc-2.96
and binutils-2.10.91. I wonder HJ if you are running a different binutils?
-Steve
--
Steven J. Hill - Embedded SW Engineer