From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Dave Hitchman <dave.hitchman@kymati.com>
Cc: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Using cmake... how?
Date: Tue, 17 Oct 2023 14:42:37 +0300 [thread overview]
Message-ID: <ZS5zLcJeH2v6YNKi@nuoska> (raw)
In-Reply-To: <AM9PR03MB7012F4837978629C7E866C8792D6A@AM9PR03MB7012.eurprd03.prod.outlook.com>
Hi,
On Tue, Oct 17, 2023 at 11:35:13AM +0000, Dave Hitchman wrote:
> Thanks, but without the CXX settings there is no difference either, it still uses the wrong toolchain (or rather tries to and fails in the same way) . I have now removed the two export CXX type lines...
Check the CMakeFile.txt etc scripts in the SW component. They are likely overwriting
variables like CXX. Alternatively, they are trying to mix host (-native) and target
compilation in one step by compiling code generators etc tools.
If something on bitbake side is setting CXX etc variables, those can be seen
with "bitbake -e recipe".
Sadly these issues are quite common for SW which has not been cross compiled before..
Cheers,
-Mikko
next prev parent reply other threads:[~2023-10-17 11:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-16 11:22 [meta-rockchip][kirkstone][PATCH] bsp: rkbin: fix default COMPATIBLE_MACHINE matching all Quentin Schulz
2023-10-16 15:27 ` [yocto] Using cmake... how? Dave Hitchman
2023-10-16 19:48 ` Khem Raj
2023-10-17 5:49 ` Mikko Rapeli
2023-10-17 9:21 ` Dave Hitchman
2023-10-17 9:52 ` Mikko Rapeli
2023-10-17 10:09 ` Dave Hitchman
2023-10-17 10:22 ` Mikko Rapeli
2023-10-17 11:35 ` Dave Hitchman
2023-10-17 11:42 ` Mikko Rapeli [this message]
2023-10-17 11:53 ` Mikko Rapeli
2023-10-17 11:58 ` Dave Hitchman
2023-10-17 12:23 ` Mikko Rapeli
2023-10-17 13:32 ` Ross Burton
2023-10-17 15:18 ` Dave Hitchman
2023-10-25 13:43 ` [yocto] [meta-rockchip][kirkstone][PATCH] bsp: rkbin: fix default COMPATIBLE_MACHINE matching all Trevor Woerner
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=ZS5zLcJeH2v6YNKi@nuoska \
--to=mikko.rapeli@linaro.org \
--cc=dave.hitchman@kymati.com \
--cc=yocto@lists.yoctoproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox