Comment 1 for bug 1836203

Revision history for this message
peter green (plugwash) wrote :

I have run into another issue which I think may be related.

It seems that when building for armv6k llvm 7 defaults to assuming no FPU is available. Unfortunately it seems that rather than doing the sensible thing when an impossible combination of fpu and abi is specified and screaming and dying it silently compiles the code with the soft float ABI, but tags it with the hard float ABI.

Debian/Raspbian builds it's final llvm binaries using llvm (after building first stage binaries using g++), so it seems like there is probably an ABI breakage between the llvm libraries and the rest of the system, I can easily see how this could lead to mis-compilation.

The fix for that would seem to be to change the default FPU settings for armv6k builds, unfortunately I am having some difficulties there (which may well turn out to just be build hardware being flaky).