<?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>14182</bug_id>
          
          <creation_ts>2021-01-11 11:49:20 +0000</creation_ts>
          <short_desc>vulkan-samples reproducible failure</short_desc>
          <delta_ts>2021-03-18 15:00:35 +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>graphics</component>
          <version>3.4</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>3.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</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>88903</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-01-11 11:49:20 +0000</bug_when>
    <thetext>vulkan-samples-staticdev isn&apos;t reproducible:

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210109-uud35nir/packages/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88918</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-01-13 23:47:06 +0000</bug_when>
    <thetext>Patch in testing and on mailing list</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88924</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-01-14 15:43:27 +0000</bug_when>
    <thetext>Richard&apos;s patch failed on the YP auto-builder. It seems that the debug data in the vulkan binary differs and depends on the path (Debug LOC section ?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88963</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-01-19 18:04:18 +0000</bug_when>
    <thetext>I looked into this issue and whilst we fixed the first problem, there was in fact a second issue where some builds has differing libMachineIndependent.a files. This in turn was caused by differing ParseHelper.cpp.o files.

The difference was only in the .debug_loc section, there were no other differences in the binary. In general it was only a couple of loc entries that were different. I also confirmed that an annotated disassemble of ParseHelper.cpp.o was the same for both binaries.

After much debugging, I found that on a build which broke on the autobuilder, rebuilding the cmake_pch.hxx.gch file (the precompiled headers) then rebuilding ParseHelper.cpp.o resulted in the correct identical binary being generated. The discrepancy therefore seems to be in the precompiled headers.

I tried building the PCH at the start of a build and at the end of the build and also reproducing the exact order of build commands from log.do_compile from the broken build and couldn&apos;t reproduce the broken PCH file.

In the end I&apos;ve turned of PCH in cmake for the recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88964</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-01-19 18:05:16 +0000</bug_when>
    <thetext>Work around for original issue:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=49c12484ebb80d72cc84aaba8dc3fc9f2954b4db

Also disable PCH:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=dd1a7c3cabf4b25fbfbd06c91761b88c47b079cc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89648</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2021-03-18 15:00:35 +0000</bug_when>
    <thetext>Fixed on master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>