I also experimented with building it using crosscompiler outside scratchbox (gentoo crossdev) and using alternative gcc 4.x toolchains in scratchbox (for example scratchbox-toolchain-arm-linux-2006q3-27-1.0.6-1-i386.tar.gz):