Bug 8638

Summary: make aarch64 support mutilib
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: devtools / tool chainAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact: Costin <costin.c.constantin>
Severity: enhancement    
Priority: Medium+ CC: akuster, alexandru.c.georgescu, meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: 2.1 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Robert Yang 2015-11-04 13:31:48 UTC
Currently when building multilib for aarch64:

MACHINE = qemuarm64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"

$ bitbake core-image-minimal -cpopulate_sdk

WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64
WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64

We need make it build and run well.
Comment 1 Armin Kuster 2015-11-12 00:28:14 UTC
I suspect ilp32 will be added at some point.
Comment 2 Chen Qi 2015-12-31 09:20:27 UTC
commit 0ae52c8b2c1d7d7cdbcfeeae6ff42e64f16bc41d
Author: Robert Yang <liezhi.yang@windriver.com>
Date:   Thu Nov 5 00:20:51 2015 -0800

    gcc-multilib-config: make aarch64 support multilib
    
    Fixed:
    MACHINE = qemuarm64
    require conf/multilib.conf
    MULTILIBS = "multilib:lib32"
    DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"
    
    $ bitbake core-image-minimal -cpopulate_sdk
    
    WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64
    WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64
    
    [YOCTO #8638]
    
    (From OE-Core rev: 9e0cad83eefae4c1a5e5e0334cc1cfdfc1f51057)
    
    Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 3 Costin 2016-01-20 07:37:40 UTC
Hello,

Verified on latest master: f98e11c80951d39401d7caef8f8324969547b246.
cooker log looks well, all lib32 related targets were successful. 

No more warnings.
Comment 4 Ross Burton 2016-06-30 15:25:38 UTC
*** Bug 8616 has been marked as a duplicate of this bug. ***