Is this a toolchain build or a reverse cross build? (Are you using buildcross, emchain or emdebuild?)
It fails when DEB_CROSS=yes. If you use REVERSE_CROSS=yes it looks compiling fine. I have catch that bug looking to buildcross logs and testing it manually. -- Héctor Orón