<html>
<head>
<base href="http://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 --- - fatal error: 'vector' file not found when trying to run ninja check-all in asan gtests"
href="http://llvm.org/bugs/show_bug.cgi?id=20357">20357</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fatal error: 'vector' file not found when trying to run ninja check-all in asan gtests
</td>
</tr>
<tr>
<th>Product</th>
<td>Test Suite
</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>lit
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ehsan@mozilla.com
</td>
</tr>
<tr>
<th>CC</th>
<td>daniel@zuster.org, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I get errors such as:
[165/309] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.x86_64-inline.o
FAILED: cd /Users/ehsan/src/llvm-objdir/projects/compiler-rt/lib/asan/tests &&
/Users/ehsan/src/llvm-objdir/./bin/clang -fPIC -fvisibility-inlines-hidden
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -std=c++11
-fcolor-diagnostics -Wall -std=c++11 -Wno-unknown-warning-option
-DGTEST_NO_LLVM_RAW_OSTREAM=1 -DGTEST_HAS_RTTI=0
-I/Users/ehsan/src/llvm/utils/unittest/googletest/include
-I/Users/ehsan/src/llvm/utils/unittest/googletest
-I/Users/ehsan/src/llvm/projects/compiler-rt/include
-I/Users/ehsan/src/llvm/projects/compiler-rt/lib
-I/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan
-I/Users/ehsan/src/llvm/projects/compiler-rt/lib/sanitizer_common/tests
-fno-rtti -O2 -Wno-format -Werror=sign-compare -Wno-variadic-macros
-gline-tables-only -DASAN_HAS_BLACKLIST=1 -DASAN_HAS_EXCEPTIONS=1 -DASAN_UAR=0
-fsanitize=address
-fsanitize-blacklist=/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan/tests/asan_test.ignore
-mllvm -asan-instrument-assembly -m64 -c -o
ASAN_INST_TEST_OBJECTS.gtest-all.cc.x86_64-inline.o
/Users/ehsan/src/llvm/utils/unittest/googletest/src/gtest-all.cc
In file included from
/Users/ehsan/src/llvm/utils/unittest/googletest/src/gtest-all.cc:39:
/Users/ehsan/src/llvm/utils/unittest/googletest/include/gtest/gtest.h:54:10:
fatal error: 'limits' file not found
#include <limits>
^
1 error generated.
[165/309] Generating ASAN_INST_TEST_OBJECTS.asan_mem_test.cc.x86_64-inline.o
FAILED: cd /Users/ehsan/src/llvm-objdir/projects/compiler-rt/lib/asan/tests &&
/Users/ehsan/src/llvm-objdir/./bin/clang -fPIC -fvisibility-inlines-hidden
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -std=c++11
-fcolor-diagnostics -Wall -std=c++11 -Wno-unknown-warning-option
-DGTEST_NO_LLVM_RAW_OSTREAM=1 -DGTEST_HAS_RTTI=0
-I/Users/ehsan/src/llvm/utils/unittest/googletest/include
-I/Users/ehsan/src/llvm/utils/unittest/googletest
-I/Users/ehsan/src/llvm/projects/compiler-rt/include
-I/Users/ehsan/src/llvm/projects/compiler-rt/lib
-I/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan
-I/Users/ehsan/src/llvm/projects/compiler-rt/lib/sanitizer_common/tests
-fno-rtti -O2 -Wno-format -Werror=sign-compare -Wno-variadic-macros
-gline-tables-only -DASAN_HAS_BLACKLIST=1 -DASAN_HAS_EXCEPTIONS=1 -DASAN_UAR=0
-fsanitize=address
-fsanitize-blacklist=/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan/tests/asan_test.ignore
-mllvm -asan-instrument-assembly -m64 -c -o
ASAN_INST_TEST_OBJECTS.asan_mem_test.cc.x86_64-inline.o
/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan/tests/asan_mem_test.cc
In file included from
/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan/tests/asan_mem_test.cc:13:
In file included from
/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan/tests/asan_test_utils.h:19:
/Users/ehsan/src/llvm/projects/compiler-rt/lib/asan/tests/asan_test_config.h:20:10:
fatal error: 'vector' file not found
#include <vector>
^
1 error generated.</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>