[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [creduce-dev] OS X Configure-time Error (was Re: Run-time Perl Warnings from C-Reduce bc92ff4)



Curiously, I don't get quite the same error, but not very different either.

John



configure:15953: checking can compile with and link with LLVM(engine)
configure:15979: g++ -o conftest -g -O2 -I/Users/regehr/clang+llvm-3.8.0-x86_64-apple-darwin/include -isysroot \ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fPIC -fvisi\ bility-inlines-hidden -std=c++11 -DNDEBUG -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MAC\ ROS -D__STDC_LIMIT_MACROS conftest.cpp -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelecti\ onDAG -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMInstrumentation -lLLVMProfileData \ -lLLVMTransformUtils -lLLVMBitWriter -lLLVMX86Desc -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVM\ X86Utils -lLLVMMCJIT -lLLVMExecutionEngine -lLLVMTarget -lLLVMAnalysis -lLLVMRuntimeDyld -lLLVMObject -lLLVMMCPa\ rser -lLLVMBitReader -lLLVMMC -lLLVMCore -lLLVMSupport -L/Users/regehr/clang+llvm-3.8.0-x86_64-apple-darwin/lib \ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lcurses -lpthread -lz -lm >&5 clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform\
/Developer/SDKs/MacOSX10.10.sdk'
In file included from conftest.cpp:24:
In file included from /Users/regehr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/IR/LLVMContext.h:18: In file included from /Users/regehr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/CBindingWrapping.h\
:17:
In file included from /Users/regehr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/Casting.h:20:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cassert\
:21:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^
1 error generated.


On 4/18/16 5:10 PM, Eric Eide wrote:
John Regehr <regehr@cs.utah.edu> writes:

Also I still can't successfully configure C-Reduce against the LLVM 3.8
binaries distributed from the LLVM web site on OS X.

I tried this just now.  My attempt failed to configure, because the LLVM test
program failed to compile, because some header file seems to be missing, or
path misconfigured, or something (as yet undiagnosed).

Attached is the error that I get, copied from "config.log".  Is is the same as
the error that you see, John?

Eric.

-----
configure:15953: checking can compile with and link with LLVM(engine)
configure:15979: g++ -o conftest -g -O2  -I/z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fPIC -fvisibility-inlines-hidden -std=c++11 -DNDEBUG -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  conftest.cpp  -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMInstrumentation -lLLVMProfileData -lLLVMTransformUtils -lLLVMBitWriter -lLLVMX86Desc -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCJIT -lLLVMExecutionEngine -lLLVMTarget -lLLVMAnalysis -lLLVMRuntimeDyld -lLLVMObject -lLLVMMCParser -lLLVMBitReader -lLLVMMC -lLLVMCore -lLLVMSupport -L/z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/lib -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lcurses -lpthread -lz -lm >&5
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk'
In file included from conftest.cpp:24:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/IR/LLVMContext.h:18:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/CBindingWrapping.h:17:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/Casting.h:19:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/type_traits.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:205:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:23:10: fatal error: 'unistd.h' file not found
#include <unistd.h>
          ^
1 error generated.
-----