Hi Alex, Earlier in the discussion, the idea was to limit the workaround to the native side if possible, so that target Rust builds remain unchanged. See: https://lists.openembedded.org/g/openembedded-core/message/231258
Based on that, the patch initially enabled dynamic LLVM linking only for rust-native. Later, we realized that nativesdk-rust also needs this workaround. Regarding the bootstrap binary you mentioned (rustc-1.93.0-src/build/bootstrap/debug/rustc), I tried to reproduce the issue locally by following the steps discussed earlier in YPBZ-16058. With the current change, where rust-native and nativesdk-rust link LLVM dynamically, I was not able to reproduce a crash in the target rustc. It is possible that I may be missing something in the setup. Could you please suggest if there are any additional steps to confirm whether target Rust builds could also be affected? Moreover, we have not seen any target rustc crashes in AB so far (with rust-native currently linking LLVM dynamically in oe-core master). Thanks, Sunil ________________________________ From: Alexander Kanavin <[email protected]> Sent: Thursday, March 5, 2026 5:02 PM To: Dora, Sunil Kumar <[email protected]> Cc: [email protected] <[email protected]>; Kokkonda, Sundeep <[email protected]> Subject: Re: [OE-core] [PATCH] rust: Enable dynamic LLVM linking for nativesdk-rust CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Mon, 2 Mar 2026 at 14:28, Dora, Sunil Kumar via lists.openembedded.org <[email protected]> wrote: > - if d.getVar('PN') == "rust-native": > + if d.getVar('PN') in ("rust-native", "nativesdk-rust"): Looking at the error, it seems the problematic binary in nativesdk builds is rustc-1.93.0-src/build/bootstrap/debug/rustc - does this mean building target rust has the same issue? Should we just go back to the initial patch, which sets link-shared for all rust variants without conditions? Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#232885): https://lists.openembedded.org/g/openembedded-core/message/232885 Mute This Topic: https://lists.openembedded.org/mt/118093064/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
