awk in busybox-1.22.1 will crash if compiled without -O2

walter harms wharms at bfs.de
Thu Apr 9 07:22:34 UTC 2015



Am 09.04.2015 05:57, schrieb mwjian:
> On  PowerPC P1010RDB board, If busybox compiled with default optimization option -Os, run " echo "Hello world" | awk '{ printf $1 }' ", awk will crash. 
> 
> 
> busybox[1131]: unhandled signal 11 at 395fffb4 nip 1005b344 lr 1005b38c code 30001
> Segmentation fault
> 
> 
> But with optimization option -O2, awk works fine.
> 
> 

This points into the direction of the compiler.
Did you contact the maintainer ?

re,
 wh


More information about the busybox mailing list