[yocto] x86_64 kernel with i586 userland plus SDK?

Richard Weinberger richard.weinberger at gmail.com
Tue Nov 27 13:46:16 PST 2018


Hi!

I have a hard time understanding how to build a distro with x86_64
kernel, i586 userland
and an SDK for that.
In the beginning I assumed and have been told on IRC that multilib is
the way to go.

But it seems that building and SDK is currently broken/disabled:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e153efde9754a650e555f46cba09680baabd7d7e

Another issue,if I try to add lib32 packages to my x86_64 image
building the rootfs fails due
to such odd apt errors:
The following packages have unmet dependencies:
 lib32-packagegroup-core-ssh-dropbear : Depends: lib32-dropbear but it
is not installable
 lib32-packagegroup-core-x11-base : Depends: lib32-dbus-1 but it is
not installable
                                    Depends: lib32-matchbox-terminal
but it is not installable
                                    Depends: lib32-matchbox-wm but it
is not installable
                                    Depends: lib32-mini-x-session but
it is not installable
                                    Depends:
lib32-packagegroup-core-x11-utils but it is not going to be installed
                                    Depends:
lib32-packagegroup-core-x11-xserver but it is not installable

Are there other possibilities?
Userspace can be pure i586, so full multilib support is not needed.
Having a x86_64 toolchain should be goof enough, it could build
userspace with -m32
and the kernel as-is.

-- 
Thanks,
//richard


More information about the yocto mailing list