On Wed, 2023-12-20 at 13:13 +0000, Hemraj, Deepthi via lists.openembedded.org 
wrote:
> 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.

That suggests that rust-cross-canadian isn't building against our own
libstdc++ but against the one from the host instead. nativesdk-gcc-
runtime (which from memory contains libstdc++) should be being used
rather than any host dependencies.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192800): 
https://lists.openembedded.org/g/openembedded-core/message/192800
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to