From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <mark.yang@lge.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v2 2/3] module.bbclass/make-mod-scripts: inhibit default dependencies
Date: Wed, 15 Jul 2026 13:34:47 +0200 [thread overview]
Message-ID: <DJZ434ABE440.139ZCYRQH7UM9@bootlin.com> (raw)
In-Reply-To: <20260714132642.2225115-3-mark.yang@lge.com>
On Tue Jul 14, 2026 at 3:26 PM CEST, mark.yang via lists.openembedded.org wrote:
> From: "mark.yang" <mark.yang@lge.com>
>
> Modules and make-mod-scripts build against the shared kernel build
> tree with the kernel toolchain, so the default virtual/libc and
> virtual/compilerlibs dependencies are unused. Inhibit them and add
> the cross toolchain explicitly, as kernel.bbclass does, which also
> keeps compiler-rt and libcxx out of module builds with clang.
>
> Signed-off-by: mark.yang <mark.yang@lge.com>
> ---
Hi Mark,
Thanks for your patch.
We get this error during selftests:
2026-07-15 07:01:52,991 - oe-selftest - INFO - bbtests.BitbakeTests.test_non_gplv3 (subunit.RemotedTestCase)
2026-07-15 07:01:52,992 - oe-selftest - INFO - ... FAIL
...
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/compilerlibs' (but /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1131783/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.20.2.bb DEPENDS on or otherwise requires it)
gcc-runtime PROVIDES virtual/compilerlibs but was skipped: it has incompatible license(s): GPL-3.0-or-later GPL-3.0-or-later WITH GCC-exception-3.1
ERROR: Required build target 'selftest-ed' has no buildable providers.
Missing or unbuildable dependency chain was: ['selftest-ed', 'virtual/compilerlibs']
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4104
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-07-15 11:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 13:26 [PATCH v2 0/3] kernel: make the kernel toolchain switchable to clang mark.yang
2026-07-14 13:26 ` [PATCH v2 1/3] kernel-arch: fall back to GNU ld unless ld-is-lld is in DISTRO_FEATURES mark.yang
2026-07-14 13:26 ` [PATCH v2 2/3] module.bbclass/make-mod-scripts: inhibit default dependencies mark.yang
2026-07-15 11:34 ` Mathieu Dubois-Briand [this message]
2026-07-15 13:48 ` [OE-core] " Mathieu Dubois-Briand
2026-07-16 6:40 ` mark.yang
2026-07-14 13:26 ` [PATCH v2 3/3] kernel-arch: add KERNEL_TOOLCHAIN to switch the whole kernel toolchain mark.yang
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=DJZ434ABE440.139ZCYRQH7UM9@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=mark.yang@lge.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox