On Fri, 26 Jun 2026 at 13:38, Yoann Congal <[email protected]> wrote:
> I've hacked the backport until it passes testing:
> https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/4085
> ... but I'm really *NOT* sure this is the right approach. Hence this RFC
> with the patches I ended-up with.
>
> If anyone could check/review/improve these patches to help me get them
> to a mergable state, that'd be nice. Otherwise, I would have no other
> choice than never support Ubuntu 26.04 on Scarthgap.
I had a quick look, and they're basically ok.
The key check is to run ldd on the rust-native pieces and confirm that
they indeed start linking libLLVM*so dynamically after the patches (if
it comes from rust-llvm, it's probably named differently). E.g. on my
master build:
alex@Zen2:/srv/storage/alex/yocto/build-64-alt$ ldd
tmp/sysroots-components/x86_64/rust-native/usr/lib/librustc_driver-5e2c75e9f7705310.so
linux-vdso.so.1 (0x00007f8f929d0000)
libLLVM.so.22.1 => not found
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8f8ca00000)
alex@Zen2:/srv/storage/alex/yocto/build-64-alt$ ldd
tmp/sysroots-components/x86_64/rust-native/usr/bin/rustc
linux-vdso.so.1 (0x00007f3eee009000)
librustc_driver-5e2c75e9f7705310.so =>
/srv/storage/alex/yocto/build-64-alt/tmp/sysroots-components/x86_64/rust-native/usr/bin/../lib/librustc_driver-5e2c75e9f7705310.so
(0x00007f3ee8400000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3ee820c000)
libLLVM.so.22.1 => not found
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3ee7e00000)
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239641):
https://lists.openembedded.org/g/openembedded-core/message/239641
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]]
-=-=-=-=-=-=-=-=-=-=-=-