awk does not terminate when compiled with gcc-4.1.2
Denis Vlasenko
vda.linux at googlemail.com
Mon Mar 19 21:50:36 UTC 2007
Hi Alexander,
On Monday 19 March 2007 13:33, Alexander Kriegisch wrote:
> Environment: Busybox 1.4.1 on Linux 2.6.13 (mipsel) on an embedded
> system (router firmware):
>
> My busybox version compiled with gcc 4.1.2 + uClibc 0.9.28 + binutils
> 2.17 hangs and has to be killed. Example:
>
> echo "aaa bbb ccc" | awk '{print $1}'
> (process does not terminate, Ctrl-C required)
>
> It does not happen on x86 systems, I was told. I only tried on my router
> box, and I am not 100% sure that it is busybox's fault, as I needed some
> patches in order to get gcc-4.1.2 running.
Busybox static against uclibc on i386:
# echo "aaa bbb ccc" | ./busybox awk '{print $1}'
aaa
# ./busybox awk
BusyBox v1.5.0.svn (2007-03-19 21:34:08 CET) multi-call binary
Usage: awk [OPTION]... [program-text] [FILE ...]
Options:
-v var=val Assign value 'val' to variable 'var'
-F sep Use 'sep' as field separator
-f progname Read program source from file 'progname'
I'm afraid a little bug hunting is in order on mipsel side...
--
vda
More information about the busybox
mailing list