<div dir="ltr">Error:<div><br></div><div>Failing Tests (3):</div><div>    Extra Tools Unit Tests :: clangd/ClangdTests/ClangdVFSTest.Reparse</div><div>    Extra Tools Unit Tests :: clangd/ClangdTests/ClangdVFSTest.ReparseOnHeaderChange</div><div>    LLVM :: tools/sanstats/elf.test</div><div><br></div><div>  Expected Passes    : 40426</div><div>  Expected Failures  : 212</div><div>  Unsupported Tests  : 1434</div><div>  Unexpected Failures: 3</div><div><br></div><div>SVN: 304006</div><div>OS: linux</div><div><br></div><div>Repro steps:<br></div><div><div><br></div><div><div><div>#!/usr/bin/env bash</div><div># Build a clang compiler with libc++ & openmp support</div><div>#</div><div># libc++ tests don't pass when built with gcc 4.8.4</div><div># so build clang using gcc (this will use libstdc++ by default.)</div><div># Then build everything again using clang. If you don't have enough space in</div><div># /tmp (40G?), set TMPDIR to another location before running this script.</div><div><br></div><div>set -o errexit</div><div>set -o xtrace</div><div><br></div><div>SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"</div><div><br></div><div>if [ -z ${TMPDIR+x} ]; then</div><div>  # TMPDIR is used by mktemp as the tmp directory</div><div>  export TMPDIR=/tmp</div><div>fi</div><div><br></div><div>CLANG_BUILD_TMP=$USER-clang-build-</div><div><br></div><div># clean up any old build attempts</div><div>rm -rf $TMPDIR/${CLANG_BUILD_TMP}* || true</div><div><br></div><div>ROOT="$(mktemp -d -t ${CLANG_BUILD_TMP}XXXX)"</div><div>cd $ROOT</div><div><br></div><div># Get the latest revision number here: <a href="https://llvm.org/svn/llvm-project/">https://llvm.org/svn/llvm-project/</a></div><div># update this number and check in this script with new prebuilts</div><div>REV=304006</div><div><br></div><div>function svn_co() {</div><div>  PROJ=$1</div><div>  svn --trust-server-cert --non-interactive -r$REV co <a href="https://llvm.org/svn/llvm-project/$PROJ/trunk">https://llvm.org/svn/llvm-project/$PROJ/trunk</a> $PROJ &</div><div>}</div><div><br></div><div>svn_co llvm</div><div>svn_co cfe</div><div>svn_co clang-tools-extra</div><div>svn_co compiler-rt</div><div>svn_co libcxx</div><div>svn_co libcxxabi</div><div>svn_co openmp</div><div><br></div><div>wait</div><div><br></div><div>mv cfe/ llvm/tools/clang/</div><div>mv clang-tools-extra/ llvm/tools/clang/tools/extra/</div><div>mv compiler-rt/ llvm/projects/compiler-rt/</div><div>mv libcxx/ llvm/projects/libcxx/</div><div>mv libcxxabi/ llvm/projects/libcxxabi/</div><div>mv openmp/ llvm/projects/openmp/</div><div><br></div><div>mkdir $ROOT/build1</div><div>cd $ROOT/build1</div><div>cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$ROOT/stage1 $CLANG</div><div><br></div><div>make -j $(nproc)</div><div>make install</div><div>rm -rf $ROOT/build1</div><div><br></div><div>mkdir $ROOT/build2</div><div>cd $ROOT/build2</div><div>cmake ../llvm \</div><div>  -DCMAKE_BUILD_TYPE=Release \</div><div>  -DCMAKE_INSTALL_PREFIX=$SCRIPT_DIR/clang \</div><div>  -DCMAKE_C_COMPILER=$ROOT/stage1/bin/clang \</div><div>  -DCMAKE_CXX_COMPILER=$ROOT/stage1/bin/clang++</div><div><br></div><div>make -j $(nproc)</div><div>make check-all -j $(nproc)</div></div></div></div><div><br></div><div>Details:</div><div><div>/usr/local/google/home/vharron/tmp/vharron-clang-build-vPWw/build2/./bin/sanstats /usr/local/google/home/vharron/tmp/vharron-clang-build-vPWw/build2/test/tools/sanstats/Output/elf.test.tmp.stats | /usr/local/google/home/vharron/tmp/vharron-clang-build-vPWw/build2/./bin/FileCheck /usr/local/google/home/vharron/tmp/vharron-clang-build-vPWw/llvm/test/tools/sanstats/elf.test</div><div>--</div><div>Exit Code: 1</div><div><br></div><div>Command Output (stderr):</div><div>--</div><div>/usr/local/google/home/vharron/tmp/vharron-clang-build-vPWw/llvm/test/tools/sanstats/elf.test:28:10: error: expected string not found in input</div><div># CHECK: /tmp{{[/\\]}}f.c:1 f1 cfi-vcall 1</div><div>         ^</div><div><stdin>:1:1: note: scanning from here</div><div><invalid>:0 f1 cfi-vcall 1</div></div><div><br></div><div><br></div></div>