Open Ur-Quan opened 2 years ago
Hi. It is probably caused by a change of compiler defaults in g++, looks like it is using slim
objects instead of fat
. I believe that addition of -ffat-lto-objects
option to CXXFLAGS and CFLAGS will resolve this issue.
Hi. As subject says. Did
git clone --recursive
. Ubuntu 18.10, g++ 9. Here's trimmed output:[ 29%] Linking CXX static library libixwebsocket.a /usr/bin/ar: CMakeFiles/ixwebsocket.dir/ixwebsocket/IXBench.cpp.o: plugin needed to handle lto object ...... /usr/bin/ar: CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o: plugin needed to handle lto object /usr/bin/ranlib: libixwebsocket.a(IXBench.cpp.o): plugin needed to handle lto object ...... /usr/bin/ranlib: libixwebsocket.a(IXWebSocketTransport.cpp.o): plugin needed to handle lto object [ 29%] Built target ixwebsocket ...... [ 61%] Linking CXX static library libleveldb.a /usr/bin/ar: CMakeFiles/leveldb.dir/db/builder.cc.o: plugin needed to handle lto object ...... /usr/bin/ar: CMakeFiles/leveldb.dir/helpers/memenv/memenv.cc.o: plugin needed to handle lto object /usr/bin/ranlib: libleveldb.a(builder.cc.o): plugin needed to handle lto object ...... /usr/bin/ranlib: libleveldb.a(memenv.cc.o): plugin needed to handle lto object [ 61%] Built target leveldb ...... [ 99%] Linking CXX executable novacoind /tmp/novacoind.KiPcMa.ltrans0.ltrans.o: In function
std::_Rb_tree_iterator<std::pair<std::cxx11::basic_string<char, std::char_traits