Hi Randy, I tried adding nativesdk-libstdc++ to DEPENDS:append:class-nativesdk = " nativesdk-libstdc++" but the issue is still reproducing.
The nativesdk-libstdc++ is not having the GLIBCXX_3.4.30 symbols. Below cmd shows only GLIBCXX_3.4.29. "strings /ala-lpggp31/dhemraj/kirkstone/5082/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/rust-cross-canadian-x86-64/1.59.0-r0/recipe-sysroot/usr/lib/libstdc++.so.6 | grep GLIBCXX" So, I added libstdc++.so.6 as dummy in <<meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb>> Also in the gcc documentation (https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html) I see that, libstdc++.so.6.0.30 is provided by GCC 12.1.0 but on kirkstone the gcc version is 11.4. I think libstdc++.so.6.0.30 is not supported. Thank you, Deepthi ________________________________ From: MacLeod, Randy <[email protected]> Sent: Monday, December 11, 2023 8:50:32 PM To: Hemraj, Deepthi <[email protected]>; [email protected] <[email protected]> Cc: Gowda, Naveen <[email protected]>; Moodalappa, Shivaprasad <[email protected]>; Kokkonda, Sundeep <[email protected]> Subject: Re: [kirkstone][PATCH] nativesdk-sdk-provides-dummy.bb: Update host tools for rust-cross-canadian On 2023-12-11 7:26 a.m., [email protected]<mailto:[email protected]> wrote: From: Deepthi Hemraj <[email protected]><mailto:[email protected]> [YOCTO #15082] Packagegroup-rust-cross-canadian package requires rust-cross-canadian, but the necessary libstdc++.so.6(GLIBCXX_3.4.30)(64bit) library is missing. The fix adds the libstdc++.so.6(GLIBCXX_3.4.30)(64bit) library requirement to the SDK dummy package, resolving the dependency conflict. Signed-off-by: Deepthi Hemraj <[email protected]><mailto:[email protected]> --- meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb index 1d71f373a4..dc3ae1edaf 100644 --- a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb +++ b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb @@ -10,7 +10,8 @@ DUMMYPROVIDES = "\ /usr/bin/env \ libGL.so()(64bit) \ libGL.so \ -" + libstdc++.so.6(GLIBCXX_3.4.30)(64bit) \ +" require dummy-sdk-package.inc This doesn't seem right to me... Does the problem happen on master? I haven't tried it but I suspect we want to add something like: nativesdk-libstdc++ to: DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm" in the rust bb file. -- # Randy MacLeod # Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#192799): https://lists.openembedded.org/g/openembedded-core/message/192799 Mute This Topic: https://lists.openembedded.org/mt/103107487/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
