[uClibc] [patch] fix linux arm syscall.c

jeroen dobbelaere jeroen.dobbelaere at acunia.com
Tue May 4 07:07:54 UTC 2004


Christian Zoffoli wrote:
[..]
> 
> now it seems to compile but I have found this problem
> 
nice ;)
> 
> -----
> Appending 
> /myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3.3/libiberty/../config/mh-armpic 
> to xhost-mkfrag
[..]

> /myzaurus/buildroot.2/build_arm/staging_dir/arm-linux-uclibc/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 
> `/myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3-final'
> make: *** 
> [/myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3-final/.compiled] Error 2
> -----
> 
> 
> it seems that the compiler doesn't work as expected (I've tried also 
> changing -Os to -O1 ...but nothing).
> 
> 
> Christian
> 

I have seen this kind of problem also when configuring a program to compile
with uClibc, using the gcc wrapper (arm-uclibc-gcc) provided by v0.9.19.

My solution was to do :

CC="arm-uclibc-gcc -static" ./configure

or

CC="arm-uclibc-gcc" CFLAGS="-static" ./configure

Greetings,
-- 
Jeroen Dobbelaere
Embedded Software Engineer

Acunia International
http://www.acunia.com





More information about the uClibc mailing list