32位在64位Linux上构建



我想在64位系统上将我的配方构建为32位二进制,我启用了Multilib:

multilib configuration add in local.conf :

MACHINE = "ti-am335x"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

Infomation:

Build Configuration:
WRLINUX_VERSION      = "10.19.45.22"
WRLINUX_BRANCH       = "LTS"
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
DISTRO               = "openwrt"
DISTRO_VERSION       = "1.0"
MACHINE              = "ti-am335x"
DEFAULTTUNE          = "cortexa8thf-neon"
TARGET_SYS           = "arm-wrs-linux-musleabi"
TUNE_FEATURES        = "arm vfp cortexa8 neon thumb callconvention-hard"
TARGET_FPU           = "hard"

The potential multilibs are listed in the AVAILTUNES declaration. For qemu86-64 BSP, that value equals the following.

bitbake -e mozjpegcjpeg | grep ^AVAILTUNESAVAILTUNES =";X86 X86 -64 ">

我已经按照步骤启用multilib,但是它显示了这个错误:文档:https://docs.windriver.com/bundle/Wind_River_Linux_Platform_Developers_Guide_9_1/page/fau1551818735785.html

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
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:
Tuning 'x86' has no defined features, and cannot be used.

your

机器= ti-am335x

没有指向x86架构

重建你的工具链时,使用类似

机器= qemux86

也有更高的Intel或amd cpu的元层

最新更新