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

Christian Zoffoli merlin at studiobz.it
Mon May 3 21:19:09 UTC 2004


jeroen dobbelaere wrote:
[cut]
> which is the latest change for this file. (and which I overlooked).
> <http://www.uclibc.org/cgi-bin/cvsweb/uClibc/libc/sysdeps/linux/arm/syscall.c?r1=1.1&r2=1.2> 
> 
> 
> As I use gcc-3.0.4, I don't get this error.
> 
>>
>> Christian
>>
> 
> Greetings,


now it seems to compile but I have found this problem


-----
Appending 
/myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3.3/libiberty/../config/mh-armpic 
to xhost-mkfrag
checking how to run the C preprocessor... 
/myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3-final/gcc/xgcc 
-B/myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3-final/gcc/ 
-B/myzaurus/buildroot.2/build_arm/staging_dir/arm-linux-uclibc/bin/ 
-B/myzaurus/buildroot.2/build_arm/staging_dir/arm-linux-uclibc/lib/ 
-isystem 
/myzaurus/buildroot.2/build_arm/staging_dir/arm-linux-uclibc/include -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... 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/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
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 for pid_t... yes
checking whether the C compiler ( 
/myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3-final/gcc/xgcc 
-B/myzaurus/buildroot.2/toolchain_build_arm/gcc-3.3-final/gcc/ 
-B/myzaurus/buildroot.2/build_arm/staging_dir/arm-linux-uclibc/bin/ 
-B/myzaurus/buildroot.2/build_arm/staging_dir/arm-linux-uclibc/lib/ 
-isystem 
/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



More information about the uClibc mailing list