I just realized that SDK generation does not include the lib32 libraries !
I run for that :
$ MACHINE=my-machine bitbake -c pouplate_sdk my-image
On Mon, Jul 30, 2018 at 2:51 PM, Ayoub Zaki
wrote:
> Hi all,
>
> I added to my image: IMAGE_INSTALL_append = " lib32-glibc" and it solved
> the
Hi all,
I added to my image: IMAGE_INSTALL_append = " lib32-glibc" and it solved
the build problem !
now I can build a mixed image (64 Bit kernel, 32 Bit) user space using
multilib :
$ MACHINE =mymachine bitbake lib32-my-image
Thank you all for your inputs.
best regards
On Fri, Jul 27, 2018
Check with bitbake -g what's pulling gcc-runtime into the image, if your
whole userspace should be 32bit, then lib32-gcc-runtime will be enough.
My multilib builds contain only following 64bit builds:
defaultpkgname depmodwrapper-cross linux-yocto lttng-modules
make-mod-scripts
On 27 July 2018 at 11:23, Ayoub Zaki wrote:
> The ERROR: lib32-my-image-1.0-r0 do_image_wic: The file
> /usr/share/gcc-7.3.0/python/libstdcxx/__init__.py is installed by both
> lib32-gcc-runtime and gcc-runtime, aborting is not self-explanatory!
>
> gcc-runtime is anyway not part of the image ?!
Hello all,
thanks for the suggestions: I tried the multilib concept of yocto but as
Martin already wrote is not that simple, my build is breaking during wic
image generation as follow:
zaki@xps:/opt/build/poky/build$ MACHINE=nx bitbake lib32-my-image
Loading cache: 100%
It's not as simple as that in some cases, there are some components which
are pulled in 64bit version even when building lib32-foo-image.
Some are easy to override from the config e.g.:
ROOTFS_PKGMANAGE = "${LIB32_PREFIX}opkg"
SPLASH = "${LIB32_PREFIX}psplash"
but to prevent building e.g.
On 7/26/18 10:19 AM, Alexander Kanavin wrote:
> 2018-07-26 14:56 GMT+02:00 Ayoub Zaki :
>> Is it possible to define a MACHINE configuration with a 64 Bit kernel and 32
>> Bit user space ?
>>
>> The user space should not be using a x32 ABI.
>
> I think (but I am not sure), that you can do it with
2018-07-26 14:56 GMT+02:00 Ayoub Zaki :
> Is it possible to define a MACHINE configuration with a 64 Bit kernel and 32
> Bit user space ?
>
> The user space should not be using a x32 ABI.
I think (but I am not sure), that you can do it with multilib. Define
a configuration like this: