<?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>15324</bug_id>
          
          <creation_ts>2023-12-14 14:03:19 +0000</creation_ts>
          <short_desc>nativesdk-python3 doesn&apos;t support PGO</short_desc>
          <delta_ts>2024-01-23 10:27:29 +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>4.3</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>5.0 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>97560</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-12-14 14:03:19 +0000</bug_when>
    <thetext>When Python3 was upgraded to 3.7.2 the profile-guided-optimisation support was moved to target-specific, which meant the buildtools which were meant to be building PGO&apos;d python binaries no longer did.

Also of note, the PGO support is removed in the provisional python 3.12 upgrade as upstream changed the rules and this can be added back.

This thread leads to interesting thoughts involving &quot;what does MACHINE_FEATURES mean in a nativesdk configuration&quot; which are a bigger problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97564</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-12-14 15:48:46 +0000</bug_when>
    <thetext>broken since 2019!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97897</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-01-18 16:10:09 +0000</bug_when>
    <thetext>Fixed with 96a9964d6071dc614cec06a4f0712e257de2bc8b.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97950</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-01-23 10:27:29 +0000</bug_when>
    <thetext>Forgot to actually close.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>