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]

Re: MIPS glibc still not compiling...


On Fri, Jan 18, 2002 at 08:52:44AM -0600, Steven J. Hill wrote:
> 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

Please find out why you have __xstat64@GLIBC_2.1. It should be filtered
out by the C preprocessor. You can use -E to see what the C preprocessor
is doing.

> /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?

I don't think it is an issue.


H.J.


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