Closed lemoce closed 8 years ago
I removed silicon_build directory and run again with more verbosity:
[leandro@serpro-01532821 silicon]$ VERBOSE=1 ./install.sh ~/local/silicon
...
[ 86%] Linking CXX executable tuple
cd /home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/tuple.dir/link.txt --verbose=1
/usr/lib64/ccache/clang++ CMakeFiles/tuple.dir/tuple.cc.o -o tuple -rdynamic
[ 90%] Linking CXX executable iod_generate_symbols
cd /home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build/tools && /usr/bin/cmake -E cmake_link_script CMakeFiles/iod_generate_symbols.dir/link.txt --verbose=1
/usr/lib64/ccache/clang++ CMakeFiles/iod_generate_symbols.dir/iod_generate_symbols.cc.o -o iod_generate_symbols -rdynamic
make[2]: Leaving directory '/home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build'
[ 90%] Built target tuple
make[2]: Leaving directory '/home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build'
[ 90%] Built target iod_generate_symbols
[ 95%] Linking CXX executable json
cd /home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/json.dir/link.txt --verbose=1
/usr/lib64/ccache/clang++ CMakeFiles/json.dir/json.cc.o -o json -rdynamic
make[2]: Leaving directory '/home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build'
[ 95%] Built target json
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-linux-gnu
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: Error generating preprocessed source(s) - no preprocessable inputs.
tests/CMakeFiles/bind_method.dir/build.make:62: recipe for target 'tests/CMakeFiles/bind_method.dir/bind_method.cc.o' failed
make[2]: *** [tests/CMakeFiles/bind_method.dir/bind_method.cc.o] Error 254
make[2]: Leaving directory '/home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build'
CMakeFiles/Makefile2:195: recipe for target 'tests/CMakeFiles/bind_method.dir/all' failed
make[1]: *** [tests/CMakeFiles/bind_method.dir/all] Error 2
make[1]: Leaving directory '/home/leandro/local/src/silicon/silicon_build/externals/iod/silicon_build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Cannot install /home/leandro/local/silicon.
Indeed, I only checked with clang 3.7.1, can't you upgrade on fedora 23 to this version, or a more recent one? You can also try with gcc as long as you do not use sql_rest and sql_crud
Worked on GCC 5.3.1. Fedora 24 will be shipped with clang 3.8.0. Maybe I go for Ubuntu.
I tried to compile Silicon on Fedora 23 and I got this return:
I am running: Fedora 23 clang 3.7.0 libboost 1.58 libmicrohttpd 0.9.39