meta-arm.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* yocto multilib: 32-bit libraries support
       [not found] <792563674.226679.1674835077915.ref@mail.yahoo.com>
@ 2023-01-27 15:57 ` Amy Smith
  2023-01-30 13:22   ` [meta-arm] " Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Amy Smith @ 2023-01-27 15:57 UTC (permalink / raw)
  To: meta-arm

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

Hi,I'm trying to build 32-bit libraries to support both 32-bit and 64-bit user application on 64-bit aarch64 target. I have modified the conf/local.conf as below. bitbake fails at rootfs (described below). Any help would be really appreciated in figuring out the issue.
Thanks,Amay
from file: conf/local.conf ----
require conf/multilib.confMULTILIBS = "multilib:lib32"DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"IMAGE_INSTALL_append += " lib32-bash lib32-glibc lib32-libgcc lib32-libstdc++"


After issuing bitbake command, I get error below. I can see all lib32 libraries were built in tmp/work/Install  524 PackagesTotal size: 335 MInstalled size: 1.4 GDownloading Packages:Running transaction checkTransaction check succeeded.Running transaction testError: Transaction test error:  file /sbin/ldconfig conflicts between attempted installs of lib32-ldconfig-2.33-r0.armv7a and ldconfig-2.33-r0.armv8_2a  file /lib/ld-linux-aarch64.so.1 conflicts between attempted installs of libc6-2.33-r0.armv8_2a and lib32-libc6-2.33-r0.armv7a  file /bin/bash.bash conflicts between attempted installs of lib32-bash-5.1-r0.armv7a and bash-5.1-r0.armv8_2a
ERROR: Logfile of failure stored in: xxxxx/xxxxxx/temp/log.do_rootfs.3262551ERROR: Task (xxxxxxx/xxxxx/:do_rootfs) failed with exit code '1'

[-- Attachment #2: Type: text/html, Size: 2254 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-arm] yocto multilib: 32-bit libraries support
  2023-01-27 15:57 ` yocto multilib: 32-bit libraries support Amy Smith
@ 2023-01-30 13:22   ` Ross Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2023-01-30 13:22 UTC (permalink / raw)
  To: gsonvin; +Cc: meta-arm

On 27 Jan 2023, at 15:57, Amy Smith via lists.yoctoproject.org <gsonvin=yahoo.com@lists.yoctoproject.org> wrote:
> 
> Hi,
> I'm trying to build 32-bit libraries to support both 32-bit and 64-bit user application on 64-bit aarch64 target. I have modified the conf/local.conf as below. bitbake fails at rootfs (described below). Any help would be really appreciated in figuring out the issue.
> 
> Thanks,
> Amay
> 
> from file: conf/local.conf ----
> 
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"
> IMAGE_INSTALL_append += " lib32-bash lib32-glibc lib32-libgcc lib32-libstdc++”

First, multilib by definition is multiple *libraries*, you can’t install a 32-bit bash as they both install into /usr/bin.

This is most likely a generic configuration error and not related to meta-arm.  What is your MACHINE?  The problem is that both the 64-bit and 32-bit environments both think that their libdir is /usr/lib.

Ross

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-30 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <792563674.226679.1674835077915.ref@mail.yahoo.com>
2023-01-27 15:57 ` yocto multilib: 32-bit libraries support Amy Smith
2023-01-30 13:22   ` [meta-arm] " Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).