On 2026-07-16 04:34, Alexander Kanavin wrote:
On Thu, 16 Jul 2026 at 03:01, Dora, Sunil Kumar via
lists.openembedded.org
<[email protected]> wrote:
I built core-image-minimal with Rust and Cargo, booted it, and verified that
rustc and cargo work
on the target by compiling and running a test program. librustc_driver now
carries a NEEDED entry
for libLLVM-17.so instead of linking LLVM statically. oe-selftest is still
running on my side.
If you and Yoann are okay with this approach, I'll submit it to scarthgap once
it completes.
Hello Sunil,
Thanks for all the additional research, it's a lot of tedious work.
If you can get the working scarthgap backport for the dynamic linking,
we can probably just take it and leave it at that. There's a lot of
distros to be fixed, they all have different processes to do so, it is
not clear if they have capacity (or interest!) to do the fixing within
reasonable time.
Maybe, but .... maybe not.
Fedora 42 is EOL as of 2026-05-27 so YP *could* decide to drop that
from the test/supported list.
I'm not aware of how tightly coupled Debian and Ubuntu are but
we (Sunil) *could* talk with the folks at WR who work on a product based
on Debian
to find out. So it *may* be a tractable problem after all but see below but
I ackknowledge that distros are very careful about changes to binutils...
On the other hand, with the passage of time, the
older distros will naturally reach EOL and they'll be taken out of the
yocto build cluster. I want to ask: do you have more pressing issues
with the rust toolchain (or oe-core in general) that you think should
be prioritized? Our own resources are stretched thin, and we need to
use them wisely.
Agreed.
I asked Sunil and Sundeep to get to the bottom of this defect and
now that I see what would have to be changed, I reluctantly agree that
we just wait it out. I don't like that we've changed from static to dynamic
linking of rust but we don't have any evidence that it's actually slower and
as you say, we have bigger fish to fry.
Let's document this discussion in YP BZ, including the versions of
binutils for all supported
distros from Sunil's email.
We should lower the importance of the bug and move it to 6.99 and check
it in 2/4 years
and revert this change at that time.
../Randy
Alex
--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241520):
https://lists.openembedded.org/g/openembedded-core/message/241520
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]]
-=-=-=-=-=-=-=-=-=-=-=-