The reason why this fails is probably because it tries to compile GCC 3.4.6 for EABI support, which is supported only after GCC 4.0.
so what's the bug ? force gcc-4 versions with --gver