From: Jack Mitchell <ml@embed.me.uk>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-clang] target triple issue
Date: Mon, 20 Feb 2017 17:38:13 +0000 [thread overview]
Message-ID: <21359dca-07af-b556-a589-a6a81ce65260@embed.me.uk> (raw)
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.
next reply other threads:[~2017-02-20 17:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 17:38 Jack Mitchell [this message]
2017-02-21 12:36 ` [meta-clang] target triple issue Jack Mitchell
2017-02-21 17:15 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21359dca-07af-b556-a589-a6a81ce65260@embed.me.uk \
--to=ml@embed.me.uk \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.