On Thu Feb 12, 2026 at 5:50 PM CET, Sunil Kumar via lists.openembedded.org Dora wrote: > From: Sunil Dora <[email protected]> > > YOCTO #16058 > > When llvm-native is built with a newer toolchain (e.g. GCC 15) and > reused on a system with an older linker, rustc emit segfault at runtime. > > This issue occurs because rustc, which is statically linked with LLVM > libraries, > was built on one machine using a newer toolchain and then executed on another > machine > that has an older linker. To prevent crash, LLVM now linked with rustc > dynamically. > > Added llvm as dependency to provide libllvm.so at runtime. > > Signed-off-by: Sunil Dora <[email protected]> > Signed-off-by: Alexander Kanavin <[email protected]> > Signed-off-by: Deepesh Varatharajan <[email protected]> > ---
Hi Sunil, It looks like this is breaking some builds: ERROR: rust-1.93.0-r0 do_install: Execution of '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/x86-64-v3-poky-linux/rust/1.93.0/temp/run.do_install.3402703' failed with exit code 1 ... | error: failed to run custom build command for `rustc_llvm v0.0.0 (/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/x86-64-v3-poky-linux/rust/1.93.0/sources/rustc-1.93.0-src/compiler/rustc_llvm)` | | Caused by: | process didn't exit successfully: `/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/x86-64-v3-poky-linux/rust/1.93.0/sources/rustc-1.93.0-src/build/x86_64-unknown-linux-gnu/stage2-rustc/release/build/rustc_llvm-de72af8bf33c0296/build-script-build` (exit status: 101) ... | --- stderr | llvm-config: error: libLLVM-21.so is missing https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/3020 Can you have a look at this 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 (#231160): https://lists.openembedded.org/g/openembedded-core/message/231160 Mute This Topic: https://lists.openembedded.org/mt/117777483/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
