From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5F28E74AD8 for ; Tue, 3 Dec 2024 21:00:36 +0000 (UTC) Subject: Need Support: how to install Multilib in yocto: I am enabling Multilib ,lib32-gcc, lib32g++ and lib32fotran #error To: openembedded-devel@lists.openembedded.org From: "Kamal GMBH" X-Originating-Location: Plano, Texas, US (161.69.80.128) X-Originating-Platform: Windows Chrome 131 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 03 Dec 2024 11:17:47 -0800 Message-ID: Content-Type: multipart/alternative; boundary="xi15RlOFnEoIR7CUGDTg" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Dec 2024 21:00:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114189 --xi15RlOFnEoIR7CUGDTg Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable *local.conf file:* *DISTRO_FEATURES:append =3D " multilib"* *# Enable multilib support* *MULTILIBS =3D "multilib:lib32"* *DEFAULTTUNE_virtclass-multilib-lib32 =3D "x86"* *# Include lib32 versions of GCC, G++, and Fortran* *IMAGE_INSTALL:append =3D " lib32-libgcc lib32-gcc-runtime lib32-libstdc++ = lib32-gfortran"* umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$ *bitbake-l= ayers show-recipes | grep libgcc* libgcc: libgcc-initial: umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$ *Here lib32-gcc details is not showing ..* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D *another try:* *require conf/multilib.conf=C2=A0 =3D> newly added* local.conf file: DISTRO_FEATURES:append =3D " multilib" # Enable multilib support MULTILIBS =3D "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 =3D "x86" # Include lib32 versions of GCC, G++, and Fortran IMAGE_INSTALL:append =3D " lib32-libgcc lib32-gcc-runtime lib32-libstdc++ l= ib32-gfortran" umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$ *bitbake-l= ayers show-recipes | grep libgcc* ERROR: =C2=A0OE-core's config sanity checker detected a potential misconfig= uration. Either fix the cause of this error or at your own risk disable the checker = (see sanity.conf). Following is the list of potential problems / advisories: Toolchain tunings invalid: No tuning found for lib32 multilib. Traceback (most recent call last): File "/media/nvme1/umesha/kamal-poky/poky/bitbake/bin/bitbake-layers", line= 95, in ret =3D main() File "/media/nvme1/umesha/kamal-poky/poky/bitbake/bin/bitbake-layers", line= 85, in main tinfoil.parse_recipes() File "/media/nvme1/umesha/kamal-poky/poky/bitbake/lib/bb/tinfoil.py", line = 448, in parse_recipes self.run_actions(config_params) File "/media/nvme1/umesha/kamal-poky/poky/bitbake/lib/bb/tinfoil.py", line = 431, in run_actions raise TinfoilUIException(ret) bb.tinfoil.TinfoilUIException: 1 umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$ umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$ --xi15RlOFnEoIR7CUGDTg Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
local.conf file:

DISTRO_FEATURES:append =3D " multilib"
# Enable multilib support
MULTILIBS =3D = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32= =3D "x86"
# Include lib32 versions of GCC, G++, and Fortran
IMAGE_INSTALL:append =3D " lib32-libgcc lib32-gcc-runtime lib32-l= ibstdc++ lib32-gfortran"
 
umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$ bitbake-layers show-recipes | grep libgcc
libgcc:
lib= gcc-initial:

umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$=  
Here lib32-gcc details is not showing ..
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D
another try:
require conf/multilib.conf  =3D> newly added 
local.conf file:
DISTRO_FEATURES:append =3D " multilib"
# Enable multilib support
MULTILIBS =3D "multilib:lib32"
DEF= AULTTUNE_virtclass-multilib-lib32 =3D "x86"
# Include lib32 versions of GCC, G++, and Fortran
IMAGE_INSTALL:a= ppend =3D " lib32-libgcc lib32-gcc-runtime lib32-libstdc++ lib32-gfortran"<= /div>

umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$= bitbake-layers show-recipes | grep libgcc
ERROR: &nb= sp;OE-core's config sanity checker detected a potential misconfiguration.    Either fix the cause of this error or at your own risk di= sable the checker (see sanity.conf).
    Following is the li= st of potential problems / advisories:
    Toolchain tunings invalid:
No tuning found for lib3= 2 multilib.
Traceback (most recent call last):
  File "/media/nvme1/umes= ha/kamal-poky/poky/bitbake/bin/bitbake-layers", line 95, in <module><= br />    ret =3D main()
  File "/media/nvme1/umesha/kam= al-poky/poky/bitbake/bin/bitbake-layers", line 85, in main
  &nbs= p; tinfoil.parse_recipes()
  File "/media/nvme1/umesha/kamal-poky= /poky/bitbake/lib/bb/tinfoil.py", line 448, in parse_recipes
  &n= bsp; self.run_actions(config_params)
  File "/media/nvme1/umesha/= kamal-poky/poky/bitbake/lib/bb/tinfoil.py", line 431, in run_actions
&= nbsp;   raise TinfoilUIException(ret)
bb.tinfoil.TinfoilUIExcepti= on: 1
umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build$=  
umesha@yocto-server-2:/media/nvme1/umesha/kamal-poky/poky/build= $ 
 
--xi15RlOFnEoIR7CUGDTg--