From: teddyxiong53@gmail.com To: poky@lists.yoctoproject.org Subject: qemuarm64 use lib64 as multilib Date: Wed, 27 Dec 2023 04:41:29 -0800 [thread overview] Message-ID: <UCr5.1703680889704812095.gDfO@lists.yoctoproject.org> (raw) [-- 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 --]
WARNING: multiple messages have this Message-ID (diff)
From: teddyxiong53@gmail.com To: poky@lists.yoctoproject.org Subject: qemuarm64 use lib64 as multilib Date: Wed, 27 Dec 2023 04:43:51 -0800 [thread overview] Message-ID: <UCr5.1703680889704812095.gDfO@lists.yoctoproject.org> (raw) Message-ID: <20231227124351.NWhZcd60SVCUvYVwiGS9x9C6eYMz3oUl68K4DWVMNuw@z> (raw) [-- Attachment #1: Type: text/plain, Size: 1362 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 linux-yocto to compile kernel, 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: 2040 bytes --]
next reply other threads:[~2023-12-27 12:41 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-27 12:41 teddyxiong53 [this message] 2023-12-27 12:43 ` qemuarm64 use lib64 as multilib 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=UCr5.1703680889704812095.gDfO@lists.yoctoproject.org \ --to=teddyxiong53@gmail.com \ --cc=poky@lists.yoctoproject.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).