Openembedded Core Discussions
 help / color / mirror / Atom feed
* Uninative for i386 native tool?
@ 2020-04-19 21:37 Chris Laplante
  2020-04-19 21:49 ` [OE-core] " Martin Jansa
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Laplante @ 2020-04-19 21:37 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-20 15:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-19 21:37 Uninative for i386 native tool? Chris Laplante
2020-04-19 21:49 ` [OE-core] " Martin Jansa
2020-04-19 21:58   ` Chris Laplante
2020-04-19 22:15     ` Richard Purdie
2020-04-20 13:56       ` Chris Laplante
2020-04-20 14:03         ` Richard Purdie
2020-04-20 15:15           ` Chris Laplante
2020-04-20 15:24             ` Richard Purdie
     [not found]       ` <16078BB604B2F7AB.6073@lists.openembedded.org>
2020-04-20 14:00         ` Chris Laplante
2020-04-20 14:52       ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox