On Sat, 27 Jun 2026 at 15:29, Yoann Congal <[email protected]> wrote:
> Hmm, it looks like we have the problem but around the bootstraping rustc
> compiler:
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4033/steps/12/logs/stdio
>  l45466:
> |   process didn't exit successfully: 
> `/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/rust/1.75.0/rustc-1.75.0-src/build/bootstrap/debug/rustc
>  [...] (exit status: 254)
> | error: rustc interrupted by SIGSEGV, printing backtrace
>
> I checked: it does not dynamically link to libLLVM.so
> $ ldd 
> $BUILD/tmp/work/core2-64-poky-linux/rust/1.75.0/rustc-1.75.0-src/build/bootstrap/debug/rustc
> /bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.utf8)
>         linux-vdso.so.1 (0x00007fffc78b9000)
>         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
> (0x00007f50950b2000)
>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5094ed0000)
>         $BUILD/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 
> => /lib64/ld-linux-x86-64.so.2 (0x00007f509516a000)
>
> I'll pull on that but suggestions welcome!

The log is misleading. The actual crash happens in a different, later
rustc, which does link to libllvm statically via librustc_driver:

| error: rustc interrupted by SIGSEGV, printing backtrace
|
| 
/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/rust/1.75.0/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-cf7d845e2aab959c.so(+0xa75206)
[0x768caf675206]
| 
/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6(+0x3b8e0)
[0x768caea4c8e0]
| 
/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/rust/1.75.0/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-cf7d845e2aab959c.so(+0x637aaa0)
[0x768cb4f7aaa0]
|

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

Reply via email to