From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <Harish.Sadineni@windriver.com>,
<openembedded-core@lists.openembedded.org>
Cc: "MacLeod, Randy" <Randy.MacLeod@windriver.com>,
"Kokkonda, Sundeep" <sundeep.kokkonda@windriver.com>
Subject: Re: [OE-core] [PATCH v4 00/16] Enable rust support for linux kernel
Date: Thu, 22 Jan 2026 15:24:55 +0100 [thread overview]
Message-ID: <DFV6QL85IOND.261RTUSIWUPHO@bootlin.com> (raw)
In-Reply-To: <ee399b5a-f8ca-453c-a451-c646766b61c8@windriver.com>
Hi,
On Thu Jan 22, 2026 at 12:53 PM CET, Harish via lists.openembedded.org Sadineni wrote:
>
> On 1/21/2026 8:46 PM, Antonin Godard wrote:
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>>
>> Hi,
>>
>> On Tue Jan 20, 2026 at 7:41 PM CET, Harish via lists.openembedded.org Sadineni wrote:
>>> This patch series was tested on Autobuilder:
>>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3193
>>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3056
>> Thanks for your efforts on this. However I think it triggers issues in other
>> builders as you can see from this a-full run (a-full is the complete Autobuilder
>> testing run):
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3101
>>
>> For example, the first failure in the list (beaglebone builder):
>>
>> | error: linking with `/srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-rust/1.92.0/wrapper/build-rust-ccld` failed: exit status: 1
>> | |
>> | = note: "/srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-rust/1.92.0/wrapper/build-rust-ccld" "-m64" "/tmp/rustcBDQQCc/symbols.o" "<75 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcBDQQCc/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-rust/1.92.0/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-rust/1.92.0/sources/rustc-1.92.0-src/build/bootstrap/debug/deps/rustdoc-92c720c010da8c74" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-lz" "-lzstd"
>> | = note: some arguments are omitted. use `--verbose` to show all linker arguments
>> | = note: /srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/hosttools/ld: cannot find /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/lib/libm.so.6: No such file or directory
>> | /srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/hosttools/ld: cannot find /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/lib/libmvec.so.1: No such file or directory
>> | collect2: error: ld returned 1 exit status
>>
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/3084
>> https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/5052191/raw_inline
>>
>> Can you have a look at these failures?
> Thanks for reporting this.
> The error indicates that the linker is unable to locate libm.so.6 and
> libmvec.so.6 in the recipe sysroot.
> These libraries are normally provided by glibc, and this issue does not
> appear to be caused by our patches, as we are not able to reproduce it
> locally.
> Could you please re-test the series once more to confirm?
>
> Thanks,
> Harish
Ok, thanks for testing again on your side. It may have been related to another
commit on my branch as I'm not facing the issues again. I'll re-add the series
to my branch - sorry for the false alarm!
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-01-22 14:25 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-20 18:29 [PATCH v4 00/16] Enable rust support for linux kernel Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 01/16] linux-yocto: conditionally add clang/rust/bindgen-cli-native to DEPENDS Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 02/16] rust: Install the Rust source Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 03/16] rust: install Rust library sources for target & sdk Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 04/16] kernel-yocto: enable Rust kernel support via 'make rustavailable' Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 05/16] linux-yocto: enable Rust support in kernel configuration Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 06/16] kernel-yocto: Fix for buildpaths errors when rust is enabled for kernel Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 07/16] make-mod-scripts: split `HOSTCC` flag to align with to linux-yocto Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 08/16] kernel-yocto.bbclass: Disable ccache when rust-kernel is enabled Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 09/16] kernel-devsrc: copying rust-kernel source to $kerneldir/build Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 10/16] selftest/cases/runtime_test: Add test for Linux Rust sample Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 11/16] kernel.bbclass: Copy include/config/auto.conf in STAGING_KERNEL_BUILDDIR Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 12/16] kernel.bbclass: Export artifacts needed for out-of-tree Rust compilation Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 13/16] module.bbclass: Prepare out-of-tree rust module compilation Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 14/16] meta-skeleton: Add rust-out-of-tree-module recipe Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 15/16] make-mod-scripts: fix for buildpath issues with rust-out-of-tree compilation Harish.Sadineni
2026-01-20 18:29 ` [PATCH v4 16/16] runtime_test: Add rust-out-of-tree selftest Harish.Sadineni
2026-01-20 18:41 ` [PATCH v4 00/16] Enable rust support for linux kernel Sadineni, Harish
2026-01-21 15:16 ` [OE-core] " Antonin Godard
2026-01-22 11:53 ` Harish Sadineni
2026-01-22 14:24 ` Antonin Godard [this message]
2026-01-26 7:54 ` Antonin Godard
2026-01-28 17:34 ` Harish Sadineni
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=DFV6QL85IOND.261RTUSIWUPHO@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=Harish.Sadineni@windriver.com \
--cc=Randy.MacLeod@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=sundeep.kokkonda@windriver.com \
/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.