Re: problem building arm-linux-gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had been in a similar situation before. Although not sure if
it will apply to you.

This happens when you are using the wrong toolchain to compile
the code. So, you may want to download the pre-compiled version
of gcc-4.1.1. Looks like chicken and egg problem. May be there
is a version between 3.3.2 and 4.1.1 that was used to compile
4.1.1.

Hope this helps.

Regards,
Amit

--- Takács Áron <takacs.aron@xxxxxxxxxxxx> wrote:

> Hi,
> 
> I have a working cross toolchain form arm (gcc-3.3.2,
> binutils-2.17). I have 
> to update gcc in order to compile recent kernels.
> I downloaded gcc-4.1.1, created the gcc-build directory and
> configured gcc as 
> follows:
> 
> ../gcc-4.1.1/configure --target=arm-linux
> --prefix=/opt/arm-linux 
> --enable-languages=c,c++ --with-cpu=xscale
> --host=i686-pc-linux-gnu 
> --disable-nls --enable-threads=posix --enable-symvers=gnu 
> --enable-__cxa_atexit --enable-shared --enable-c99
> --enable-long-long 
> --without-fp
> 
> After that I did "make all", and got the following errors:
> 
> .....
> /opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_moddi3_s.o
> uses hardware FP, 
> whereas ./libgcc_s.so.1.tmp uses software FP
> /opt/arm-linux/bin/arm-linux-ld: failed to merge target
> specific data of file 
> libgcc/./_moddi3_s.o
> /opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udivdi3_s.o
> uses FPA 
> instructions, whereas ./libgcc_s.so.1.tmp does not
> /opt/arm-linux/bin/arm-linux-ld: ERROR: libgcc/./_udivdi3_s.o
> uses hardware 
> FP, whereas ./libgcc_s.so.1.tmp uses software FP
> /opt/arm-linux/bin/arm-linux-ld: failed to merge target
> specific data of file 
> libgcc/./_udivdi3_s.o


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux