init hangs

Denys Vlasenko vda.linux at googlemail.com
Wed Nov 28 17:09:16 UTC 2007


On Tuesday 27 November 2007 07:02, Saravanan Chanemouganandam wrote:
> Hello vda,
>
> I have still a panic with the buildroot uclibc cross toochain. "Hello
> world" compiled with the following "gcc" dispalys message on the ARM target
> "arm5vte"
>
> schane:/# /scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc
> -v Reading specs
> from
> /scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4
>/specs Configured
> with:
> /home/tsavola/sb-toolchains/gcc/glibc/work/gcc-3.3-3.3.4-patched/configure
> --target=arm-linux --host=i386-linux --build=i386-linux
           ^^^^^^^^^

> --prefix=/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2
> --with-headers=/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/usr/include
> --enable-languages=c,c++ --program-transform-name=s/^-/arm-linux-/
> --program-prefix=arm-linux- --with-cpu=
> Thread model: posix
> gcc version 3.3.4 (Debian)
>
> whereas it doesn't display cross compiled with the following "uclibc"
>
> schane:/#
> /home/sara/BuildRoot/buildroot/build_arm/staging_dir/bin/arm-linux-gcc -v
> Using built-in specs.
> Target: arm-linux-uclibcgnueabi
> Configured
> with:
> /home/sara/BuildRoot/buildroot/toolchain_build_arm/gcc-4.1.2/configure
> --prefix=/home/sara/BuildRoot/buildroot/build_arm/staging_dir
> --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu
> --target=arm-linux-uclibcgnueabi--enable-languages=c --disable-__cxa_atexit
           ^^^^^^^^^^^^^^^^^^^^^^^

> --enable-target-optspace --with-gnu-ld --disable-shared --disable-nls
> --enable-threads --disable-multilib --with-float=soft --disable-largefile
> Thread model: posix
> gcc version 4.1.2
>
> Is this issue due to a floating point option or kernel headers ? I have
> built buildroot toochain with kernel-header 2.6.12 for my linux kernel
> 2.6.16 and with soft float option enabled.

I'm no expert on ARM, but I do know that EABI and "old" ABI have
a bit different calling conventions, including kernel syscalls
calling conventions.

Your 'working' toolchain and 'failing' tollchain have different --target's.
--
vda



More information about the busybox mailing list