<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8642</bug_id>
          
          <creation_ts>2015-11-04 13:54:34 +0000</creation_ts>
          <short_desc>The &quot;32&quot; is a broken symlink in aarch64&apos;s mutilib SDK</short_desc>
          <delta_ts>2016-10-01 21:05:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ncrypticus</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56187</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-11-04 13:54:34 +0000</bug_when>
    <thetext>MACHINE = qemuarm64
require conf/multilib.conf
MULTILIBS = &quot;multilib:lib32&quot;
DEFAULTTUNE_virtclass-multilib-lib32 = &quot;armv7at-neon&quot;

$ bitbake core-image-minimal -cpopulate_sdk

The extract SDK, the ./sysroots/aarch64-poky-linux/usr/lib64/aarch64-poky-linux/5.2.0/32 is a broken symlink since it points to ../../../lib/arm-pokymllib32-linux/5.2.0/, but it should be ../../../lib/arm-pokymllib32-linux-gnueabi/, this is because there is no &quot;-gnueabi&quot; in TARGET_OS when build libgcc (64bit), and there is no easy way to know whether lib32-libgcc uses &quot;-gnueabi&quot; or not. Possibly two ways to fix the problem:
1) Check whether MULTILIB is arm or armeb, if yes, then use &quot;-gnueabi&quot;, else no
2) Use a in sysroot to save &quot;-gnueabi&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63855</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-12 16:40:04 +0000</bug_when>
    <thetext>There&apos;s a branch under review at http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/aarch64-multilib.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66788</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-10-01 21:04:29 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b6253350fb86d8e54792905342a5892af570d526</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66790</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-10-01 21:05:19 +0000</bug_when>
    <thetext>*** Bug 10054 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>