This is why I think that the solution I proposed to Alan in my previous mail (force cross_compiling=yes when building multilib libraries) should do the trick. This applies to the gcc internal libraries, but also for third party libraries using autoconf scripts.