<?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>10389</bug_id>
          
          <creation_ts>2016-10-06 16:30:25 +0000</creation_ts>
          <short_desc>linuxloader.bbclass does not understand mips64</short_desc>
          <delta_ts>2016-10-11 16:48:12 +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>core</component>
          <version>2.2</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>67008</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-10-06 16:30:25 +0000</bug_when>
    <thetext>The meta/classes/linuxloader.bbclass is used by various things to specify the proper name of the ld.so for a given architecture.

It does not currently have &apos;mips64&apos; entries, so:

    dynamic_loader=&quot;/unknown_dynamic_linker&quot;

is returned.

This can cause problems with mklibs or prelinking.

For a list of the available linkers:

https://sourceware.org/glibc/wiki/ABIList#mips

It should be possible to change the scan to just do something like:

 		powerpc | microblaze )
 			dynamic_loader=&quot;${base_libdir}/ld.so.1&quot;
 			;;
		mipsisa32r6el | mipsisa32r6 | mipsisa64r6el | mipsisa64r6)
			dynamic_loader=&quot;${base_libdir}/ld-linux-mipsn8.so.1&quot;
                        ;;
		mips*)
 			dynamic_loader=&quot;${base_libdir}/ld.so.1&quot;
 			;;

(Note the mipsisa* entries come from a patch recently submitted to the oe-core-devel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67147</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-10-11 16:48:12 +0000</bug_when>
    <thetext>Fixed with oe-core b90d68fda3d14b4d19b7ffcb5b80ed28563a616d.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>