libtool minefield
This lead me to
http://www.metastatic.org/text/libtool.html
which describes my problem accuratedly. I'm a bit more chicken so I used this sed script instead
https://github.com/pirandr/slitaz-arm/blob/master/cross-compiled/libtool-minefield1. http://forum.slitaz.org/topic/chroot#post-18810
Avoiding libtool minefields when cross-compiling2. Cross Toolchain
http://www.metastatic.org/text/libtool.html
http://cook.slitaz.org/cross/arm/toolchain.cgi
Target host : arm C Compiler : arm-slitaz-linux-gnueabi-gcc CFLAGS : -O2 -march=armv6Packages log: binutils eglibc gcc-final gcc-static libtool linux-headers