All of lore.kernel.org
 help / color / mirror / Atom feed
* qemuarm64 use lib64 as multilib
@ 2023-12-27 12:43 ` teddyxiong53
  0 siblings, 0 replies; 6+ messages in thread
From: teddyxiong53 @ 2023-12-27 12:41 UTC (permalink / raw)
  To: poky

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

Hey guys,

I use poky as the test environment. work on kirkstone branch. test on qemuarm64.
I add this to local.conf
```
require conf/multilib.conf
MULTILIBS = "multilib:lib64"
DEFAULTTUNE = "armv7athf-neon"
DEFAULTTUNE:virtclass-multilib-lib64 = "armv8a"
DEFAULTTUNE:pn-linux-yocto = "armv8a"
```
I wish to use as this :
bitbake attr   : this would output 32bit file by default
bitbake lib64-attr: this output 64bit file

I know most people use lib64 as default, but I have to use lib32 as default.
I have to use a 64bit kernel (including all kernel module), and all the userspace as 32bit.

Now I bitbake yocto, I see this error.
```
ERROR: Nothing PROVIDES 'virtual/aarch64-poky-linux-binutils' (but /mnt/fileroot/hanliang.xiong/work/yocto-study/code/poky/meta/recipes-kernel/linux/linux-yocto_5.15.bb DEPENDS on or otherwise requires it). Close matches:
virtual/arm-poky-linux-gnueabi-binutils
virtual/arm-poky-linux-gnueabi-rust
virtual/lib64-aarch64-pokymllib64-linux-binutils
ERROR: Required build target 'linux-yocto' has no buildable providers.
Missing or unbuildable dependency chain was: ['linux-yocto', 'virtual/aarch64-poky-linux-binutils']
```
The DEPENDS is from kernel.bbclass, it expands to virtual/aarch64-poky-linux-binutils
But it seems no such provider.

Then how can I make it work?

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

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

end of thread, other threads:[~2024-01-03 12:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-27 12:41 qemuarm64 use lib64 as multilib teddyxiong53
2023-12-27 12:43 ` teddyxiong53
2023-12-28  2:38 ` [poky] " Chen, Qi
2023-12-28  2:51   ` teddyxiong53
2023-12-28 21:21     ` [poky] " Alexandre Belloni
2024-01-03 12:27       ` teddyxiong53

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.