On Mon, Nov 17, 2025 at 6:12 AM Yash Shinde via lists.openembedded.org
<[email protected]> wrote:

> Hi everyone,
>
> We are working on Rust v1.91.0 and v1.91.1 version upgrade and the branch
> is available here:
>
> https://git.openembedded.org/openembedded-core-contrib/log/?h=deepesh/ys_rust_191
>
>
> Following observations were made when testing in AB and local setup:
>
> 1. Initial testing without new bitbake setup (previous old workflow):
> The test suite builds passed successfully on AB (tested on 31-10-2025)
> when tested without the new bitbake-setup.
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/66/builds/2592
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/2809
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/58/builds/653
>
>
>
> 2.  Issues post individual clones of bitbake and oe-core:
> After the poky repo was dropped, we tested the test suite with new local
> setup
> and the same "target-rust-ccld" linker issue (missing zlib and zstd)
> was observed for "all targets" as seen by Peter Tatrai for ppc64.
>
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/66/builds/2646/steps/13/logs/stdio
>
> https://lists.openembedded.org/g/openembedded-core/message/225636
> This issue was resolved after passing zlib and zstd to the testing image
> as described in Peter's patches:
>
> https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=b7f2339d3c94d9167a9dbcead963fd3555fad8f9
>
> https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=36cc3834dc66e78c0a90306c6e4a8c28c6254aac
>
>
Interesting, does this happen when we switch default linker to lld all
across targets ? I think lld is not yet tested for all
rust targets except x86_64 upstream and it does not do overlinking, so it
will catch missing indirect dependencies like these


>
> 3.  Local Testing Observations:
> While the above failure was resolved however there was another error as
> follows:
>
>
>
>
>
>
>
> *1 command(s) did not execute successfully:      - Command
> `/home/oe/build-st/tmp/work/x86-64-v3-poky-linux/rust/1.91.1/recipe-sysroot-native/usr/bin/cargo
> run --target x86_64-unknown-linux-gnu -Zbinary-dep-depinfo -j 192
> -Zroot-dir=/home/oe/build-st/tmp/work/x86-64-v3-poky-linux/rust/1.91.1/sources/rustc-1.91.1-src
> --frozen --release --manifest-path
> /home/oe/build-st/tmp/work/x86-64-v3-poky-linux/rust/1.91.1/sources/rustc-1.91.1-src/src/tools/tier-check/Cargo.toml
> /home/oe/build-st/tmp/work/x86-64-v3-poky-linux/rust/1.91.1/sources/rustc-1.91.1-src/src/doc/rustc/src/platform-support.md
> /home/oe/build-st/tmp/work/x86-64-v3-poky-linux/rust/1.9
> 1.1/sources/rustc-1.91.1-src/build/x86_64-poky-linux-gnu/stage2/bin/rustc
> [workdir=/home/oe/build-st/tmp/work/x86-64-v3-poky-linux/rust/1.91.1/sources/rustc-1.91.1-src]`
> failed with exit code 101  Created at:
> src/bootstrap/src/core/build_steps/tool.rs:174:21  Executed at:
> src/bootstrap/src/core/build_steps/test.rs:3436:55  Build completed
> unsuccessfully in 0:32:58*
>
> This issue has not been observed on AB so far.
>
>
>
> 4.  Subsequent failure in openssl-sys build in AB:
> When tested the same in AB, we encountered another failure while building
> openssl-sys (v0.9.109).
> The error log points to an issue during the execution of the openssl-sys
> custom build command: (line no. 34569):
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/66/builds/2639/steps/13/logs/stdio
>
> It appears to be related to a failure in executing the build script for
> openssl-sys.
> The failure may be intermittent.
>
> Error Message:
>
> *error: failed to run custom build command for `openssl-sys
> v0.9.109`Caused by:  process didn't exit successfully:
> `/srv/pokybuild/yocto-worker/qemux86-64-tc/build/build-st-3420499/tmp/work/x86-64-v3-poky-linux/rust/1.91.1/sources/rustc-1.91.1-src/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/openssl-sys-bc375833fe379304/build-script-main`
> (exit status: 101) *
>
>
>
> 5. Segfault Issues Reported by Mathieu:
> Additionally, Mathieu reported segfaults during the do_test_compile and
> do_install steps of the Rust build, potentially related to corrupted
> sstate-cache.
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=16058
> We have not been able to reproduce this issue locally at this point.
>
> Currently, with recent changes in bitbake we are experiencing rust v.1.91
> build issues.
> We are investigating the cause for these issues and the inconsistency in
> local v/s AB .
>
> Any suggestions, insights, or pointers regarding the above issues would be
> highly appreciated .
> Thanks.
>
>
>
> Regards,
> Yash
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226507): 
https://lists.openembedded.org/g/openembedded-core/message/226507
Mute This Topic: https://lists.openembedded.org/mt/116338092/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to