Skip to content

Instantly share code, notes, and snippets.

@eraly
Created June 2, 2016 21:55
Show Gist options
  • Save eraly/e95e9065dd074afe02ecc9d6aca3d9e9 to your computer and use it in GitHub Desktop.
Save eraly/e95e9065dd074afe02ecc9d6aca3d9e9 to your computer and use it in GitHub Desktop.
eval cmake
RUNNING OSX CLANG
PACKAGING = none
BUILD = release
CHIP = cpu
LIBRARY TYPE = dynamic
/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /usr/local/Cellar/clang-omp/2015-04-01/bin/clang-omp
-- Check for working C compiler: /usr/local/Cellar/clang-omp/2015-04-01/bin/clang-omp -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/Cellar/clang-omp/2015-04-01/bin/clang-omp++
-- Check for working CXX compiler: /usr/local/Cellar/clang-omp/2015-04-01/bin/clang-omp++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found version "7.5")
ADDING BLAS
Using apple
CPU BLAS
-- Try OpenMP C flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Could NOT find MKL (missing: MKL_LIBRARY_DIR LIB_MKL_RT LIB_PTHREAD MKL_INCLUDE_DIR)
USING BLAS
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- A library with BLAS API found.
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
MKL_MULTI_THREADED
-- Build files have been written to: /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu
/usr/local/Cellar/cmake/3.2.2/bin/cmake -H/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j -B/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_progress_start /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/CMakeFiles /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f blas/CMakeFiles/nd4j.dir/build.make blas/CMakeFiles/nd4j.dir/depend
cd /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu && /usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blas /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas/CMakeFiles/nd4j.dir/DependInfo.cmake --color=
Scanning dependencies of target nd4j
make -f blas/CMakeFiles/nd4j.dir/build.make blas/CMakeFiles/nd4j.dir/build
/usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_progress_report /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/CMakeFiles 1
[ 50%] Building CXX object blas/CMakeFiles/nd4j.dir/cpu/NativeBlas.cpp.o
cd /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas && clang-omp++ -D__CPUBLAS__=true -Dnd4j_EXPORTS -Wall -O3 -Wl,-rpath,RIGIN/ -fopenmp -Wall -O3 -std=c++11 -fassociative-math -funsafe-math-optimizations -fPIC -I/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/include -o CMakeFiles/nd4j.dir/cpu/NativeBlas.cpp.o -c /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blas/cpu/NativeBlas.cpp
clang: warning: -Wl,-rpath,RIGIN/: 'linker' input unused
/usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_progress_report /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/CMakeFiles 2
[100%] Building CXX object blas/CMakeFiles/nd4j.dir/cpu/NativeOps.cpp.o
cd /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas && clang-omp++ -D__CPUBLAS__=true -Dnd4j_EXPORTS -Wall -O3 -Wl,-rpath,RIGIN/ -fopenmp -Wall -O3 -std=c++11 -fassociative-math -funsafe-math-optimizations -fPIC -I/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/include -o CMakeFiles/nd4j.dir/cpu/NativeOps.cpp.o -c /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blas/cpu/NativeOps.cpp
clang: warning: -Wl,-rpath,RIGIN/: 'linker' input unused
While deleting: float (float, float*)* %_ZN7simdOps6Im2colIfE2opEfPf
An asserting value handle still pointed to this value!
UNREACHABLE executed at Value.cpp:773!
0 clang 0x00000001048b60a0 std::__1::mersenne_twister_engine<unsigned long long, 64ul, 312ul, 156ul, 31ul, 13043109905998158313ull, 29ul, 6148914691236517205ull, 17ul, 8202884508482404352ull, 37ul, 18444473444759240704ull, 43ul, 6364136223846793005ull>::operator()() + 7334
1 clang 0x00000001048b646d std::__1::mersenne_twister_engine<unsigned long long, 64ul, 312ul, 156ul, 31ul, 13043109905998158313ull, 29ul, 6148914691236517205ull, 17ul, 8202884508482404352ull, 37ul, 18444473444759240704ull, 43ul, 6364136223846793005ull>::operator()() + 8307
2 libsystem_platform.dylib 0x00007fff9e626eaa _sigtramp + 26
3 libsystem_platform.dylib 0x00007fff6af0b945 _sigtramp + 3431877301
4 clang 0x00000001048b62f2 std::__1::mersenne_twister_engine<unsigned long long, 64ul, 312ul, 156ul, 31ul, 13043109905998158313ull, 29ul, 6148914691236517205ull, 17ul, 8202884508482404352ull, 37ul, 18444473444759240704ull, 43ul, 6364136223846793005ull>::operator()() + 7928
5 clang 0x00000001048a5a99 void* llvm::object_creator<llvm::StringMap<void*, llvm::MallocAllocator> >() + 2331
6 clang 0x0000000104835bc9 std::__1::__split_buffer<llvm::StructType*, std::__1::allocator<llvm::StructType*>&>::~__split_buffer() + 2429
7 clang 0x000000010483587c std::__1::__split_buffer<llvm::StructType*, std::__1::allocator<llvm::StructType*>&>::~__split_buffer() + 1584
8 clang 0x00000001047b2298 llvm::Pass* llvm::callDefaultCtor<llvm::DominatorTreeWrapperPass>() + 6020
9 clang 0x0000000103ce985c llvm::InlineCostAnalysis& llvm::Pass::getAnalysisID<llvm::InlineCostAnalysis>(void const*) const + 12838
10 clang 0x000000010464ed27 std::__1::__tree<std::__1::__value_type<llvm::Function const*, llvm::CallGraphNode*>, std::__1::__map_value_compare<llvm::Function const*, std::__1::__value_type<llvm::Function const*, llvm::CallGraphNode*>, std::__1::less<llvm::Function const*>, true>, std::__1::allocator<std::__1::__value_type<llvm::Function const*, llvm::CallGraphNode*> > >::__insert_node_at(std::__1::__tree_node_base<void*>*, std::__1::__tree_node_base<void*>*&, std::__1::__tree_node_base<void*>*) + 3409
11 clang 0x00000001048227da void* llvm::object_creator<llvm::LeakDetectorImpl<void> >() + 15846
12 clang 0x000000010329db98 llvm::raw_ostream& llvm::WriteGraph<clang::serialization::ModuleManager>(llvm::raw_ostream&, clang::serialization::ModuleManager const&, bool, llvm::Twine const&) + 8056
13 clang 0x00000001033b6c21 llvm::SmallVectorTemplateBase<llvm::DenseMap<clang::BaseSubobject, unsigned long long, llvm::DenseMapInfo<clang::BaseSubobject> >, false>::grow(unsigned long) + 20815
14 clang 0x000000010341c015 std::__1::__split_buffer<clang::CXXMethodDecl*, std::__1::allocator<clang::CXXMethodDecl*>&>::~__split_buffer() + 93375
15 clang 0x0000000103172d11 std::__1::__tree<std::__1::__value_type<clang::edit::FileOffset, clang::edit::EditedSource::FileEdit>, std::__1::__map_value_compare<clang::edit::FileOffset, std::__1::__value_type<clang::edit::FileOffset, clang::edit::EditedSource::FileEdit>, std::__1::less<clang::edit::FileOffset>, true>, std::__1::allocator<std::__1::__value_type<clang::edit::FileOffset, clang::edit::EditedSource::FileEdit> > >::destroy(std::__1::__tree_node<std::__1::__value_type<clang::edit::FileOffset, clang::edit::EditedSource::FileEdit>, void*>*) + 6085
16 clang 0x000000010315197e std::__1::__split_buffer<clang::CompilerInstance*, std::__1::allocator<clang::CompilerInstance*>&>::~__split_buffer() + 13982
17 clang 0x0000000103123615 std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::destroy(std::__1::__tree_node<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void*>*) + 3421
18 clang 0x000000010311cda9
19 clang 0x000000010312237b std::__1::__split_buffer<llvm::Region**, std::__1::allocator<llvm::Region**> >::~__split_buffer() + 21063
20 libdyld.dylib 0x00007fff90d3a5ad start + 1
Stack dump:
0. Program arguments: /usr/local/Cellar/clang-omp/2015-04-01/libexec/bin/clang -cc1 -fopenmp -omp-main-file-path /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blas/cpu/NativeOps.cpp -triple x86_64-apple-macosx10.11.0 -emit-obj -disable-free -main-file-name NativeOps.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -menable-unsafe-fp-math -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 253.9 -dwarf-column-info -coverage-file /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas/CMakeFiles/nd4j.dir/cpu/NativeOps.cpp.o -resource-dir /usr/local/Cellar/clang-omp/2015-04-01/libexec/bin/../lib/clang/3.5.0 -D __CPUBLAS__=true -D nd4j_EXPORTS -I /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/include -c-isystem /usr/local/Cellar/clang-omp/2015-04-01/libexec/include/clang-c -c-isystem /usr/local/Cellar/libiomp/20150227/include/libiomp -c-isystem . -cxx-isystem /usr/local/Cellar/clang-omp/2015-04-01/libexec/include/c++/v1 -cxx-isystem /usr/local/Cellar/libiomp/20150227/include/libiomp -cxx-isystem . -stdlib=libc++ -O3 -Wall -Wall -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas -ferror-limit 19 -fmessage-length 166 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o CMakeFiles/nd4j.dir/cpu/NativeOps.cpp.o -x c++ /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blas/cpu/NativeOps.cpp
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module '/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blas/cpu/NativeOps.cpp'.
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.5.0
Target: x86_64-apple-darwin15.3.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/l0/_046rwf52qd21p2h23pq1gmw0000gn/T/NativeOps-c7cda7.cpp
clang: note: diagnostic msg: /var/folders/l0/_046rwf52qd21p2h23pq1gmw0000gn/T/NativeOps-c7cda7.sh
clang: note: diagnostic msg:
********************
make[2]: *** [blas/CMakeFiles/nd4j.dir/cpu/NativeOps.cpp.o] Error 254
make[1]: *** [blas/CMakeFiles/nd4j.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment