[llvm-bugs] [Bug 24491] New: Regression(r243752): check-all is broken if libcxxabi is checked out

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 18 11:06:41 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24491

            Bug ID: 24491
           Summary: Regression(r243752): check-all is broken if libcxxabi
                    is checked out
           Product: libc++abi
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

On OS X, self-built clang can't find headers unless `-isysroot $(xcrun
-show-sdk-path)` is passed. Hence, from r243752 on, all libcxxabi tests fail
with errors like:

FAIL: libc++abi :: backtrace_test.pass.cpp (27888 of 27933)
******************** TEST 'libc++abi :: backtrace_test.pass.cpp' FAILED
********************
Command:
['/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/projects/libcxxabi/../../bin/clang++',
'-o',
'/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/projects/libcxxabi/test/Output/backtrace_test.pass.cpp.o',
'-x', 'c++',
'/Users/thakis/src/chrome/src/third_party/llvm/projects/libcxxabi/test/backtrace_test.pass.cpp',
'-c', '-v', '-DLIBCXXABI_NO_TIMER', '-funwind-tables', '-std=c++11',
'-nostdinc++',
'-I/Users/thakis/src/chrome/src/third_party/llvm/projects/libcxx/include',
'-I/Users/thakis/src/chrome/src/third_party/llvm/projects/libcxxabi/include']
Exit Code: 1
Standard Error:
--
clang version 3.8.0 (trunk 245194)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
InstalledDir:
/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/projects/libcxxabi/../../bin
 "/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/bin/clang-3.8" -cc1
-triple x86_64-apple-macosx10.10.0 -emit-obj -mrelax-all -disable-free
-main-file-name backtrace_test.pass.cpp -mrelocation-model pic -pic-level 2
-mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables
-target-cpu core2 -target-linker-version 241.9 -v -dwarf-column-info
-coverage-file
/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/projects/libcxxabi/test/Output/backtrace_test.pass.cpp.o
-nostdinc++ -resource-dir
/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/bin/../lib/clang/3.8.0
-D LIBCXXABI_NO_TIMER -I
/Users/thakis/src/chrome/src/third_party/llvm/projects/libcxx/include -I
/Users/thakis/src/chrome/src/third_party/llvm/projects/libcxxabi/include
-stdlib=libc++ -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/projects/libcxxabi/test
-ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature
-fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -o
/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/projects/libcxxabi/test/Output/backtrace_test.pass.cpp.o
-x c++
/Users/thakis/src/chrome/src/third_party/llvm/projects/libcxxabi/test/backtrace_test.pass.cpp
clang -cc1 version 3.8.0 based upon LLVM 3.8.0svn default target
x86_64-apple-darwin14.0.0
ignoring nonexistent directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 /Users/thakis/src/chrome/src/third_party/llvm/projects/libcxx/include
 /Users/thakis/src/chrome/src/third_party/llvm/projects/libcxxabi/include
 /usr/local/include

/Users/thakis/src/chrome/src/third_party/llvm-bootstrap/bin/../lib/clang/3.8.0/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.
/Users/thakis/src/chrome/src/third_party/llvm/projects/libcxxabi/test/backtrace_test.pass.cpp:9:10:
fatal error: 'assert.h' file not found
#include <assert.h>
         ^
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/20150818/2a69a311/attachment.html>


More information about the llvm-bugs mailing list