We have a vendor-provided cross-compiler toolchain that is distributed as 
32-bit binaries. Naturally on my native system (outside of Yocto) I can run 
them by first adding the i386 architecture to dpkg, and then doing "apt-get 
install -y libc6-dbg:i386 lib32stdc++6 libzstd1:i386 libncurses5:i386" or 
similar.

Outside of Yocto (a normal terminal):
____
ldd recipe-sysroot-native/usr/bin/my-tool:
        linux-gate.so.1 =>  (0xf7f03000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7d48000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7cf3000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7cd6000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7b20000)
        
/home/laplante/yocto/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2
 => /lib/ld-linux.so.2 (0xf7f05000)
____



But in a Yocto devshell:
____
ldd recipe-sysroot-native/usr/bin/my-tool:
        not a dynamic executable
____

Is there a way to get this working in Yocto? I assume it has something to do 
with uninative?

Thanks,
Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#137315): 
https://lists.openembedded.org/g/openembedded-core/message/137315
Mute This Topic: https://lists.openembedded.org/mt/73137039/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to