init hangs
Saravanan Chanemouganandam
schane at osmozis.com
Tue Nov 27 07:02:05 PST 2007
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)
schane:/#
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.
any idea to debug further would be grateful!
Thanks
Sara
Le Jeudi 22 Novembre 2007 23:55, Denys Vlasenko a écrit :
> On Thursday 22 November 2007 01:14, saravanan chanemouganandam wrote:
> > Hi,
> >
> > The rootfs "root_fs_arm.ext2.bz2" which I am testing was downloaded from
> > the reference link
> > http://dslinux.gits.kiev.ua/trunk/uClibc/docs/uclibc.org/toolchains.html.
> > As I have some problem with toochain, I have started to test first using
> > the existing rootfs built for arm the target which failed to work.
> >
> > Test with (init=/sbin/hello) "Hello world" statically linked using uclibc
> > doesn't show any message whereas statically linked using glibc shows the
> > message. I wonder why it doesn't work well with uclibc. Is this problem
> > due to the kernel-headers or uclibc config ?
>
> Also may be bad choice of ARM processor flavor, and uclibc code
> ended up containing commands which are not supported by your processor.
>
> This is a quite typical cause of "my init doesn't run!" problem.
> --
> vda
More information about the busybox
mailing list