<?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>12715</bug_id>
          
          <creation_ts>2018-04-26 03:11:37 +0000</creation_ts>
          <short_desc>cross compiler for &apos;mips64 + libn32&apos; cannot work correctly inside SDK</short_desc>
          <delta_ts>2026-01-29 16:12:44 +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.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chen Qi">Qi.Chen</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>raj.khem</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>stephano</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>80408</commentid>
    <comment_count>0</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2018-04-26 03:11:37 +0000</bug_when>
    <thetext>How to reproduce:
1. Add in local.conf
MACHINE = &quot;qemumips64&quot;
require conf/multilib.conf
MULTILIBS = &quot;multilib:libn32&quot;
DEFAULTTUNE_virtclass-multilib-libn32 = &quot; mip64-n32&quot;
MULTILIB_GLOBAL_VARIANTS_append = &quot; libn32&quot;
INHERIT += &quot;testsdk&quot;

2. bitbake core-image-minimal -c populate_sdk
3. bitbake core-image-minimal -c testsdk

The problem is that in the generated SDK, the cross compiler (CC and CXX) cannot work correctly.
Error message is like below:
.../libm.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96972</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:54 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104108</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-01-29 16:12:44 +0000</bug_when>
    <thetext>MIPS is obsolete / tier-three.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>