<?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>15554</bug_id>
          
          <creation_ts>2024-07-18 09:02:15 +0000</creation_ts>
          <short_desc>reproducibility failures with &apos;rustdoc&apos; on rust 1.75</short_desc>
          <delta_ts>2024-08-01 14:46:14 +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>backport 5.0</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sundeep Kokkonda">sundeep.kokkonda</reporter>
          <assigned_to name="Sundeep Kokkonda">sundeep.kokkonda</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>99394</commentid>
    <comment_count>0</comment_count>
    <who name="Sundeep Kokkonda">sundeep.kokkonda</who>
    <bug_when>2024-07-18 09:02:15 +0000</bug_when>
    <thetext>The &apos;rustdoc&apos; binary is not reproducible. Issue seen on rust 1.75.
More details:
https://lists.openembedded.org/g/openembedded-core/message/200077</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99395</commentid>
    <comment_count>1</comment_count>
    <who name="Sundeep Kokkonda">sundeep.kokkonda</who>
    <bug_when>2024-07-18 09:03:58 +0000</bug_when>
    <thetext>The issue is reproduced only when the path length of build directories are differed.
https://lists.openembedded.org/g/openembedded-core/message/201616</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99396</commentid>
    <comment_count>2</comment_count>
    <who name="Sundeep Kokkonda">sundeep.kokkonda</who>
    <bug_when>2024-07-18 09:07:08 +0000</bug_when>
    <thetext>This issue is reproducible on rust upstream sources and reported the bug to upstream.
https://github.com/rust-lang/rust/issues/126976

- The dump of librustdoc-xxxx.rlib&apos;s shows that the *.rcgu.o are with different sizes. I tried the builds by disabling the rcgu&apos;s with codegen-units = 1. But still the compiled rustdoc with single rcgu also differed.

- The increase of codegen-units = 256 or lto = off or opt-level = 0 also doesn&apos;t solve the problem.

Further analysis is on-going and upstream doesn&apos;t have any clue about the root cause of the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99483</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-08-01 14:46:14 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/?id=e2e7017350d0b5324811fef3b841f98b00273887

Great to have this fixed, thanks Sundeep!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>