[LLVMdev] [3.7.0] Two late issues with cross compilation to mips

Daniel Sanders
Wed, 29 Jul 2015 10:08:26 -0000

encodings to be IEEE754-1985 or IEEE754-2008 compliant. I suspect the -mnan=2008
isn't reaching the assembler.

3.       Clang is incompatible with changes to the mips-mti-linux-gnu sysroot
from Imagination's mips-mti-linux-gnu toolchain. Libaries are still
multilib'd (albeit with a reduced set) but some of the include paths
aren't anymore. It's also no longer correct to include sysroot/include
(this path is added by common code) since this skips some function definitions.
Instead, we must only include sysroot/usr/include like GCC does. There may be
more details but so far the fix doesn't look simple. As far as I can tell,
clang's multilib expects includes and libraries to have the same layout
(osSuffix() seems to control both). The good news is that it's not a
regression since we can use toolchains from before this layout change.

Daniel Sanders
Leading Software Design Engineer, MIPS Processor IP
Imagination Technologies Limited
www.imgtec.com<http://www.imgtec.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150729/f303b0d5/attachment.html>