Hi Team,

I am trying to build toolchain with AARCH64/ARM32 multilib support.

My configuration part of toolchain is as follows:
==

DEFAULTTUNE = "cortexa72"

require conf/machine/include/arm/armv8a/tune-cortexa72.inc


# multilib support

require conf/multilib.conf

MULTILIBS = "multilib:lib32"

DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"

==


With this when I tried to build "meta-toolchain", if fails with following
error messages:

==

|
../../../../../../../../../work-shared/gcc-11.4.0-r0/gcc-11.4.0/libsanitizer/sanitizer_common/sanitizer_li

nux.cpp: In fu

nction '__sanitizer::uptr __sanitizer::GetKernelAreaSize()':


|
../../../../../../../../../work-shared/gcc-11.4.0-r0/gcc-11.4.0/libsanitizer/sanitizer_common/sanitizer_linux.cpp:1024:1

: error: r7 cannot be used in 'asm' here


|  1024 | }

|       | ^

*|
../../../../../../../../../work-shared/gcc-11.4.0-r0/gcc-11.4.0/libsanitizer/sanitizer_common/sanitizer_linux.cpp:1024:1:
error: r7 cannot be used in 'asm' here*

| make[2]: Leaving directory
'/b/workspace/yocto/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-gcc-sanitizers/11.4.0-r0/gcc-11.4.0/build.arm-pokymllib32-linux-gnueabi.arm-pokymllib32-linux-gnueabi/arm-pokymllib32-linux-gnueabi/libsanitizer/sanitizer_common'

| make[2]: *** [Makefile:617: sanitizer_linux.lo] Error 1

| make[1]: Leaving directory
'/b/workspace/yocto/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-gcc-sanitizers/11.4.0-r0/gcc-11.4.0/build.arm-pokymllib32-linux-gnueabi.arm-pokymllib32-linux-gnueabi/arm-pokymllib32-linux-gnueabi/libsanitizer'

| make[1]: *** [Makefile:531: all-recursive] Error 1

| make: *** [Makefile:418: all] Error 2

| ERROR: oe_runmake failed

==

Is this a known issue? Is multilib supported for ARM64/32 combination? Or
do I need to use seperate machine/toolchain configuration for ARM32 build?

Regards,

Gaurang Shastri
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64238): https://lists.yoctoproject.org/g/yocto/message/64238
Mute This Topic: https://lists.yoctoproject.org/mt/109458598/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to