I have an x86-based board, and I am trying to enable lib32-gcc,
lib32-gfortran, and multilib support.

I followed the guidelines provided in the multilib example configuration.
https://git.openembedded.org/openembedded-core/tree/meta-skeleton/conf/multilib-example.conf?h=scarthgap


In my *local.conf*, I added the following configuration:






*MACHINE = "Creter"require conf/multilib.confMULTILIBS =
"multilib:lib32"DEFAULTTUNE:virtclass-multilib-lib32 =
"x86"IMAGE_INSTALL:append = " lib32-gcc lib32-gfortran"*

However, I am encountering the following error during the build process:

*Build error:*

ERROR: glibc-2.39+git-r0 do_package:
ExecutionError('/media/nvme1/umesha/kamal-scarthgap/poky-amd-scarthgap/build-weston-crater-scarthgap/tmp-glibc/work/zen2-oe-linux/glibc/2.39+git/temp/run.stash_locale_package_cleanup.4120757',
1, None, None)
ERROR: Logfile of failure stored in:
/media/nvme1/umesha/kamal-scarthgap/poky-amd-scarthgap/build-weston-crater-scarthgap/tmp-glibc/work/zen2-oe-linux/glibc/2.39+git/temp/log.do_package.4120757
| rmdir: failed to remove
'/media/nvme1/umesha/kamal-scarthgap/poky-amd-scarthgap/build-weston-crater-scarthgap/tmp-glibc/work/zen2-oe-linux/glibc/2.39+git/package/usr/lib':
Directory not empty
| WARNING: exit code 1 from a shell command.

My Expectations:
Additionally, I noticed that the lib32 folder is not being generated under
the root filesystem:


umesha@yocto-server-2:/media/nvme1/umesha/kamal-scarthgap/poky-amd-scarthgap/build-weston-crater-scarthgap/tmp-glibc/work/crater-oe-linux/xen-image/1.0/rootfs/usr$
ls
bin  games  include  lib  libexec  sbin  share  src  x86_64-oe-linux
Do I need to make any specific changes on the kernel side to enable
multilib support? If so, could you please guide me on what needs to be
configured?

Thank you in advance for your assistance!


Regards,
Kamal
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114121): 
https://lists.openembedded.org/g/openembedded-devel/message/114121
Mute This Topic: https://lists.openembedded.org/mt/109840100/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to