Multilib Support on IMX8MP Hardknott

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multilib Support on IMX8MP Hardknott

729 Views
mkoch
Contributor I

Hello everyone,

I am trying to activate Multilib Support under Yocto Hardknott.

My local.conf receives this modifications:

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7athf-neon"
IMAGE_INSTALL_append = " lib32-glibc lib32-libgcc lib32-libstdc++ lib32-openssl"

Unfortunately I end up with several issues. One is right at the beginning of compile process:

ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-binutils'. Close matches:
virtual/lib32-arm-pokymllib32-linux-gnueabi-binutils
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime
ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-gcc'. Close matches:
virtual/lib32-arm-pokymllib32-linux-gnueabi-g++
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime

With this error, sometimes the compilation process does not abort, and I can even get an Image. Is there anything wrong in this configuration?

What is the state of Multilib Support on Hardknott atm.?

 

Regards,

 

Max

0 Kudos
4 Replies

703 Views
mkoch
Contributor I

There is no way for me to switch, since it's a custom BSP. But I can see the same error in the original NxP souce.

Could you tell me what is the state of MultiLib on Hardknott?

0 Kudos

698 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

After investigating with team, the problem was caused by the package management. Multilib is not supported by the yocto package management so it went wrong while packing the lib32 into rootfs file.

I have succeded in building the yocto L5.15.71 with multilib by commenting the following item in the local.conf file.

#PACKAGE_CLASSES = "package_deb"

#EXTRA_IMAGE_FEATURES += "package-management"

This operation will make the package-management back to default red hat package-management.

 

Regards

 

 

 

 

 

 

 

 

 

0 Kudos

686 Views
mkoch
Contributor I

Hello,

thanks for the suggested solution.

I tried it out, but the issue is still there

 

regards.

0 Kudos

718 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Which yocto are you based on? SInce multilib is supported in latest 5.15.71 BSP please download.

Regards

0 Kudos