<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - PCH/headersearch.cpp flaky on Windows"
href="https://llvm.org/bugs/show_bug.cgi?id=28897">28897</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>PCH/headersearch.cpp flaky on Windows
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Failed once here, then cycled green on the next build:
<a href="http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/9597">http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/9597</a>
FAIL: Clang :: PCH/headersearch.cpp (7160 of 27623)
******************** TEST 'Clang :: PCH/headersearch.cpp' FAILED
********************
Script:
--
rm -rf
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
mkdir -p
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2
echo 'struct orig_sub{char c; int i; };' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub/orig_sub.h
echo 'void orig_sub2_1();' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2/orig_sub2_1.h
echo '#include "orig_sub2_1.h"' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2/orig_sub2.h
echo 'template <typename T> void tf() { orig_sub2_1(); T::foo(); }' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2/orig_sub2.h
echo 'void foo() {}' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/tmp2.h
echo '#include "tmp2.h"' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
echo '#include "sub/orig_sub.h"' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
echo '#include "orig_sub2.h"' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
echo 'int all();' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
cd
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig
&& C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE
-cc1 -internal-isystem
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include
-nostdsysteminc -triple i686-pc-mingw32 -x c++ -emit-pch -o all.h.pch -Isub2
all.h
cp -R
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE -cc1
-internal-isystem
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include
-nostdsysteminc -triple i686-pc-mingw32 -include-pch all.h.pch
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved/sub2
-Wpadded -emit-llvm-only
C:\buildbot\slave-config\clang-x86-win2008-selfhost\llvm\tools\clang\test\PCH\headersearch.cpp
2>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
grep 'struct orig_sub'
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
not C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE
-cc1 -internal-isystem
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include
-nostdsysteminc -triple i686-pc-mingw32 -DREDECL -include-pch all.h.pch
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved/sub2
-emit-llvm-only
C:\buildbot\slave-config\clang-x86-win2008-selfhost\llvm\tools\clang\test\PCH\headersearch.cpp
2>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
grep 'void foo'
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
not C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE
-cc1 -internal-isystem
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include
-nostdsysteminc -triple i686-pc-mingw32 -DINSTANTIATION -include-pch all.h.pch
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved/sub2
-emit-llvm-only
C:\buildbot\slave-config\clang-x86-win2008-selfhost\llvm\tools\clang\test\PCH\headersearch.cpp
2>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
grep 'orig_sub2_1'
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
--
Exit Code: 1
Command Output (stdout):
--
$ "rm" "-rf"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved"
$ "mkdir" "-p"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2"
$ "echo" "struct orig_sub{char c; int i; };"
$ "echo" "void orig_sub2_1();"
$ "echo" "#include "orig_sub2_1.h""
$ "echo" "template <typename T> void tf() { orig_sub2_1(); T::foo(); }"
$ "echo" "void foo() {}"
$ "echo" "#include "tmp2.h""
$ "echo" "#include "sub/orig_sub.h""
$ "echo" "#include "orig_sub2.h""
$ "echo" "int all();"
$ "C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE"
"-cc1" "-internal-isystem"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include"
"-nostdsysteminc" "-triple" "i686-pc-mingw32" "-x" "c++" "-emit-pch" "-o"
"all.h.pch" "-Isub2" "all.h"
$ "cp" "-R"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved"
$ "C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE"
"-cc1" "-internal-isystem"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include"
"-nostdsysteminc" "-triple" "i686-pc-mingw32" "-include-pch" "all.h.pch"
"-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved"
"-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved/sub2"
"-Wpadded" "-emit-llvm-only"
"C:\buildbot\slave-config\clang-x86-win2008-selfhost\llvm\tools\clang\test\PCH\headersearch.cpp"
# redirected output from
'C:\\buildbot\\slave-config\\clang-x86-win2008-selfhost\\stage2\\tools\\clang\\test\\PCH\\Output\\headersearch.cpp.tmp.stderr':
fatal error: file
'C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig\all.h'
has been modified since the precompiled header 'all.h.pch' was built
note: please rebuild precompiled header 'all.h.pch'
1 error generated.
note: command had no output on stdout or stderr
error: command failed with exit status: 1
--
********************
Possibly related to r275261 :-/</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>