<?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>6505</bug_id>
          
          <creation_ts>2014-07-04 06:20:18 +0000</creation_ts>
          <short_desc>Multilib Support for meta-toolchain (missing rpm support, ipk fixed)</short_desc>
          <delta_ts>2015-10-29 08:54:06 +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>1.7</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>enhancement</bug_severity>
          <target_milestone>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ATUL">atul.singh008</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>atul.singh008</cc>
    
    <cc>jeff.polk</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44332</commentid>
    <comment_count>0</comment_count>
    <who name="ATUL">atul.singh008</who>
    <bug_when>2014-07-04 06:20:18 +0000</bug_when>
    <thetext>Hi,

I tried building toolchain using target for bitbake as meta-toochain with the configuration mention below:-
       Adding below configuration in the local.conf
           MACHINE = &quot;qemux86-64&quot;
           require conf/multilib.conf
           MULTILIBS = &quot;multilib:lib32&quot;
           DEFAULTTUNE_virtclass-multilib-lib32 = &quot;x86&quot;
And as per my understanding multilib means it should create multiple library files supporting each variant(like fpu, big endian, 64-bit etc). But the above changes did not create multiple library files.
While extarcting the toolchain it only create one libgcc.a at location $SDKTARGETSYSROOT/usr/lib/arm-poky-linux-gnueabi/4.9.0/libgcc.a
Please help me with your valuable suggestion.

Thanks and regards,
Atul</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44707</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2014-07-25 13:53:09 +0000</bug_when>
    <thetext>See: http://lists.openembedded.org/pipermail/openembedded-core/2014-July/094877.html

This patch has been provided by the community to attempt to resolve some of the issues.

Note, the patch does not work when &apos;package_rpm&apos; is selected.  This is due to some limitations in the way the RPM package resolution occurs.  When using IPK, the patch will select multiple packagegroup files instead of just the main system.

A second patch is still needed for the packagegroups to be ARCH specific in their dependencies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44710</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-07-25 15:12:43 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d8024434d4c9b6a3400ac494fa3c32d0827e42d3 has now merged and that ensures that meta-toolchain/populate_sdk have the appropriate multilib pieces. This *does* work with package_ipk, contra to what Mark mentions, no second patch is needed.

There is an rpm issue remaining and it does not work with the package_rpm backend. Reassigning to Mark to find someone to resolve the remaining rpm piece.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55963</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-10-29 08:53:59 +0000</bug_when>
    <thetext>Fixed in YP 2.0:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=jethro&amp;id=eb7b1a58ceaab7fde4dc954eb4df4247d6c7c6d8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>