I'm trying to install clang to my aarch64 target and receiving this error when attempting to compile

test.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main() {
^
error: unable to create target: 'No available targets are compatible with this triple.'
1 warning and 1 error generated.

The version of clang built is as follows:

clang version 4.0.0 (git://github.com/llvm-mirror/clang.git ee02028a97bfbce4d63787dd05366fafdda445c5) (git://github.com/llvm-mirror/llvm.git 6af4d1ac2acfc8c22db959f2b7b11d68688b2425)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Is it wrong that the target is x86_64-unknown-linux-gnu? Should it not be something aarch64 related? The configure log seems to have passed the right values

201 -- Native target architecture is AArch64

...

495 -- Constructing LLVMBuild project information
496 -- Targeting AArch64

Any ideas, would any of the logs be useful?

Regards,
Jack.
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to