Skip to contentSkip to conversation

Poky calls host pzstd with uninative's libstdc++.so.6 instead of the host library

poky Tamara Schmitz 1 participant 1 message Sep 4, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I forgot to mention, sstate_archive_package attempts to call my system's build of pzstd which is build against a newer libstdc++.

The error message this produces is:
pzstd: /home/tamee/projects/rmg/phytec-yocto/build/tmp-ampliphy- vendor/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by pzstd)

Quoted 24 lines · Tamara Schmitz

Hello,

I'm a newbie to Yocto Linux and I am attempting to build a vendor BSP on an unsupported distribution: Fedora 40.

The OS' libstdc++.so.6 provides CXXABI_1.3.15 vs uninative's which provides up to CXXABI_1.3.14. That would be fine, if the sstate_archive_package would not attempt to attempt to run it in an ENV
that forces uninative's library.

Question 1:
Using bitbake -e and reading the logs I was already able to get this far. How can I understand what the ENV, that the script executes in looks like?

Question 2:
Is this a bug in the vendor BSP or is Poky just silly mixing and matching host tools build against the OS toolchain and uninative's libraries as it pleases?

Regards

Tamara Schmitz