Closed yannickspill closed 10 years ago
Works fine on our Mavericks build machine: http://salilab.org/imp/nightly/logs/develop/20140420/mac10v9-intel/base.build.log
However that is running XCode 5.1. I just updated it to 5.1.1 so we'll see tomorrow whether we get the same problem here.
thanks. can you tell me how to turn off the frameworks in the meantime?
Nope. Why would you want to do that anyway?
oh because libclang_rt.ubsan_osx.a
is related to -framework CoreFoundation -fsanitize=undefined
I'm getting a related error, but only on a debug build (Mavericks, latest Xcode, ...)
FAILED: /usr/local/Cellar/open-mpi/1.7.3/bin/mpicxx -DIMPBASE_COMPILATION -DIMPBASE_EXPORTS -DIMP_base_lib_EXPORTS -w -g -fPIC -Iinclude -I/usr/local/include --std=c++11 -fsanitize=undefined -fno-sanitize-recover -MMD -MT modules/base/src/CMakeFiles/IMP.base-lib.dir/__/__/__/src/base/paths.cpp.o -MF "modules/base/src/CMakeFiles/IMP.base-lib.dir/__/__/__/src/base/paths.cpp.o.d" -o modules/base/src/CMakeFiles/IMP.base-lib.dir/__/__/__/src/base/paths.cpp.o -c src/base/paths.cpp
clang: error: unsupported argument 'undefined' to option 'fsanitize='
ninja: build stopped: subcommand failed.
it's in debug mode in my case as well. fast builds fine.
Le 22/04/14 02:51, Charles Greenberg a écrit :
I'm getting a related error, but only on a debug build (Mavericks, latest Xcode, ...)
FAILED: /usr/local/Cellar/open-mpi/1.7.3/bin/mpicxx -DIMPBASE_COMPILATION -DIMPBASE_EXPORTS -DIMP_base_lib_EXPORTS -w -g -fPIC -Iinclude -I/usr/local/include --std=c++11 -fsanitize=undefined -fno-sanitize-recover -MMD -MT modules/base/src/CMakeFiles/IMP.base-lib.dir////src/base/paths.cpp.o -MF "modules/base/src/CMakeFiles/IMP.base-lib.dir////src/base/paths.cpp.o.d" -o modules/base/src/CMakeFiles/IMP.base-lib.dir///__/src/base/paths.cpp.o -c src/base/paths.cpp clang: error: unsupported argument 'undefined' to option 'fsanitize=' ninja: build stopped: subcommand failed. — Reply to this email directly or view it on GitHub https://github.com/salilab/imp/issues/789#issuecomment-40993223.
I am unable to build the latest IMP on my mac. However, XCode was also updated so I don't know whose fault it is.
For a start, if you know how to remove the
fsanitize
andframework
flags, that would help me a lot. I am using the mavericks clang and the rest is an up-to-date homebrew. Here's my cmake.