[LLVMbugs] [Bug 20357] New: fatal error: 'vector' file not found when trying to run ninja check-all in asan gtests

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 18 08:16:28 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20357

            Bug ID: 20357
           Summary: fatal error: 'vector' file not found when trying to
                    run ninja check-all in asan gtests
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: daniel at zuster.org, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140718/a366e500/attachment.html>


More information about the llvm-bugs mailing list