Closed bmwiedemann closed 10 months ago
I'm unable to reproduce this with your reproducer. This is what I tried:
$ osc build
$ osc shell
$ cd /home/abuild/rpmbuild/BUILD/build/IGC/VectorCompiler/lib/BiF && for cpu in Gen11 XeHPG XeLP XeHPC Gen9LP XeHP Gen9 Gen8 XeLPG ; do echo -n $cpu: ; for i in $(seq 100) ; do cd /home/abuild/rpmbuild/BUILD/build/IGC/VectorCompiler/lib/BiF && ../../../Release/vcb -o o -cpu $cpu VCBuiltins64.opt.bc ; md5sum o ; done|sort|uniq -c ; done
LLVM ERROR: Failed to Parse IR
md5sum: o: No such file or directory
LLVM ERROR: Failed to Parse IR
md5sum: o: No such file or directory
LLVM ERROR: Failed to Parse IR
md5sum: o: No such file or directory
LLVM ERROR: Failed to Parse IR
md5sum: o: No such file or directory
LLVM ERROR: Failed to Parse IR
md5sum: o: No such file or directory
Am I missing something?
IIRC, I ran it after a full build with cmake
+ make
https://code.opensuse.org/package/intel-graphics-compiler/blob/master/f/intel-graphics-compiler.spec#_142
Many thanks for find the issue - I can reproduce it locally. Working on it.
Fix was merged in https://github.com/intel/intel-graphics-compiler/commit/4354d0bb3b8d1cd436b6601327c076abfcf9d2ff, locally failure is no more reproduced after this commit. Could you please check?
I tested that the patch indeed made the intel-graphics-compiler
package build reproducible.
While working on reproducible builds for openSUSE, I found that our
intel-graphics-compiler
1.0.14062.11 package varied from variations in VCEmulation64.cpp that I traced down to this reproducer with igc-1.0.14508.16 :or the shorter version
I found that disabling ASLR with
setarch -R
is a workaround to make results deterministic.