<?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>14639</bug_id>
          
          <creation_ts>2021-11-25 06:15:52 +0000</creation_ts>
          <short_desc>0010-MIPS64-Default-to-N64-ABI.patch could be removed</short_desc>
          <delta_ts>2021-12-05 12:34:25 +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>unspecified</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>4.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Pinski">pinskia</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>92068</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Pinski">pinskia</who>
    <bug_when>2021-11-25 06:15:52 +0000</bug_when>
    <thetext>Instead of carrying around the 0010-MIPS64-Default-to-N64-ABI.patch patch, you could use do the following inside gcc-target.inc:
EXTRA_OECONF:append:mips64:class-target = &quot; --with-abi=64&quot;

This is one less patch to carry forward really.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92069</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Pinski">pinskia</who>
    <bug_when>2021-11-25 06:19:21 +0000</bug_when>
    <thetext>Oh, I looked and gcc-configure-common.inc already does this:
EXTRA_OECONF:append:mips64 = &quot; --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64&quot;
EXTRA_OECONF:append:mips64el = &quot; --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64&quot;
EXTRA_OECONF:append:mips64n32 = &quot; --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64&quot;
EXTRA_OECONF:append:mips64eln32 = &quot; --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64&quot;
EXTRA_OECONF:append:mipsisa32r6el = &quot; --with-abi=32 --with-arch=mips32r6&quot;
EXTRA_OECONF:append:mipsisa32r6 = &quot; --with-abi=32 --with-arch=mips32r6&quot;
EXTRA_OECONF:append:mipsisa64r6el = &quot; --with-abi=64 --with-arch-64=mips64r6&quot;
EXTRA_OECONF:append:mipsisa64r6 = &quot; --with-abi=64 --with-arch-64=mips64r6&quot;

So this patch really could be removed without doing anything extra.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92071</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-11-25 15:06:15 +0000</bug_when>
    <thetext>Thanks for the tip. we&apos;ll look into dropping that!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92092</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-12-05 12:34:25 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/?id=921d3aa667ce7df03012d9ecbb62fb91f60ebf07</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>