[uClibc]MIPSEL compile problems

cliffwood cliffwood at micron.com
Tue Aug 13 15:26:02 UTC 2002


It process goes further now, but stops as shown below...

checking for gcc... (cached) /home/cwood/gcc-3.1.1/build/gcc-final/gcc/xgcc
-B/home/cwood/gcc-3.1.1/build/gcc-final/gcc/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/bin/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/lib/ -isystem
/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/include
checking whether we are using GNU C... (cached) yes
checking whether /home/cwood/gcc-3.1.1/build/gcc-final/gcc/xgcc
-B/home/cwood/gcc-3.1.1/build/gcc-final/gcc/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/bin/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/lib/ -isystem
/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/include accepts -g... (cached)
yes
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached)
/home/cwood/gcc-3.1.1/build/gcc-final/gcc/xgcc
-B/home/cwood/gcc-3.1.1/build/gcc-final/gcc/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/bin/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/lib/ -isystem
/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/include -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for ANSI C header files... no
checking for uintptr_t... no
checking whether the C compiler
(/home/cwood/gcc-3.1.1/build/gcc-final/gcc/xgcc
-B/home/cwood/gcc-3.1.1/build/gcc-final/gcc/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/bin/
-B/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/lib/ -isystem
/home/cwood/gcc-3.1.1/toolchain/mipsel-linux/include -g -Os ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/home/cwood/gcc-3.1.1/build/gcc-final'
make: *** [/home/cwood/gcc-3.1.1/build/gcc-final/.compiled] Error 2



-----Original Message-----
From: Joel Coltoff [mailto:joel at wmi.com]
Sent: Tuesday, August 13, 2002 9:15 AM
To: Erik Andersen
Cc: cliffwood; 'uclibc at uclibc.org'
Subject: Re: [uClibc]MIPSEL compile problems


On Tue, 13 Aug 2002, Erik Andersen wrote:

> Looks like for some reason gcc is failing to run ranlib on
> libgcc.  Can you manually run
>
>     /home/cwood/gcc-3.1.1/toolchain/bin/mipsel-uclibc-ranlib \
>
/home/cwood/gcc-3.1.1/toolchain/lib/gcc-lib/mipsel-linux/3.1.1/libgcc.a
>
> and check if it continues to the end?  If that fixes it, then I
> can see an easy way to make certain this problem goes away in
> future toolchain releases,

Having just done this myself I can say running ranlib manually fixes the
problem. The first time I built it I had to do this part way through
the process. I've rebuilt it twice since then (on a different machine)
and don't need to do it until the build completes.

-- 
Joel Coltoff

It gives me great pleasure indeed to see the stubbornness of an
incorrigible nonconformist warmly acclaimed.
    -- Albert Einstein



More information about the uClibc mailing list