Bug 8638 - make aarch64 support mutilib
Summary: make aarch64 support mutilib
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.1 M1
Assignee: Robert Yang
QA Contact: Costin
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-04 13:31 UTC by Robert Yang
Modified: 2016-06-30 15:25 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***