[BusyBox] Busybox compilation problem with selfmade toolchain

Robert Schwebel robert at schwebel.de
Fri Aug 30 15:23:03 UTC 2002


Hi, 

I'm currently trying to find out how to make a toolchain for ARM which
works. I know that there are prebuild toolchains available out there,
but the project requires that I do _know_ how to toolchain was made from
the original sources. 

However, my toolchain is able to compile a kernel and some hello world
applications. Problem is that I cannot compile busybox with it: 

----------8<----------
arm-linux-gcc -I/home/robert/embedded/cvs/busybox-0.61pre-ptx4/include -Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing  -D_GNU_SOURCE -DBB_VER='"0.61.pre"' -DBB_BT='"2002.08.30-20:49+0000"'    -c -o /home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/syscalls.o /home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/syscalls.c
/home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/syscalls.c: In function `sysfs':
/home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/syscalls.c:43: inconsistent operand constraints in an `asm'
/home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/syscalls.c: In function `pivot_root':
/home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/syscalls.c:68: inconsistent operand constraints in an `asm'
make: *** [/home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/syscalls.o] Error 1
robert at ganymed:~/embedded/cvs/busybox-0.61pre-ptx4>
---------->8----------

Unfortunately, www.armlinux.org is not available any more, and there
seems to be nearly every document which describe how a working toolchain
can be made. 

Has anyone an idea what the reason for the problem above may be? 

My toolchain build script is here: 

  http://www.pengutronix.de/software/dnp/build-toolchain-ptx3

Thanks,
Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4



More information about the busybox mailing list