On Tue Jul 14, 2026 at 3:26 PM CEST, mark.yang via lists.openembedded.org wrote:
> From: "mark.yang" <[email protected]>
>
> 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 <[email protected]>
> ---

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240950): 
https://lists.openembedded.org/g/openembedded-core/message/240950
Mute This Topic: https://lists.openembedded.org/mt/120265460/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to