diff --git a/contrib/debian/control b/contrib/debian/control --- a/contrib/debian/control +++ b/contrib/debian/control @@ -13,8 +13,6 @@ libjemalloc-dev, libminiupnpc-dev, libnatpmp-dev, - libboost-filesystem-dev, - libboost-system-dev, libboost-thread-dev, libboost-test-dev, libprotobuf-dev, diff --git a/contrib/valgrind.supp b/contrib/valgrind.supp --- a/contrib/valgrind.supp +++ b/contrib/valgrind.supp @@ -63,20 +63,6 @@ fun:__wcsnlen_sse4_1 fun:wcsnrtombs } -{ - Suppress boost::filesystem warning (fixed in boost 1.70: https://github.com/boostorg/filesystem/commit/bbe9d1771e5d679b3f10c42a58fc81f7e8c024a9) - Memcheck:Cond - fun:_ZN5boost10filesystem6detail28directory_iterator_incrementERNS0_18directory_iteratorEPNS_6system10error_codeE - fun:_ZN5boost10filesystem6detail28directory_iterator_constructERNS0_18directory_iteratorERKNS0_4pathEPNS_6system10error_codeE - obj:*/libboost_filesystem.so.* -} -{ - Suppress boost::filesystem warning (could be related: https://stackoverflow.com/questions/9830182/function-boostfilesystemcomplete-being-reported-as-possible-memory-leak-by-v) - Memcheck:Leak - match-leak-kinds: reachable - fun:_Znwm - fun:_ZN5boost10filesystem8absoluteERKNS0_4pathES3_ -} { Suppress boost still reachable memory warning Memcheck:Leak diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk --- a/depends/packages/boost.mk +++ b/depends/packages/boost.mk @@ -22,7 +22,7 @@ $(package)_toolset_$(host_os)=clang endif $(package)_archiver_$(host_os)=$($(package)_ar) -$(package)_config_libraries=atomic,date_time,filesystem,system,thread,test +$(package)_config_libraries=atomic,date_time,thread,test $(package)_cxxflags=-std=c++17 -fvisibility=hidden $(package)_cxxflags_linux=-fPIC endef diff --git a/doc/build-unix.md b/doc/build-unix.md --- a/doc/build-unix.md +++ b/doc/build-unix.md @@ -96,7 +96,7 @@ individual boost development packages, so the following can be used to only install necessary parts of boost: - sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev + sudo apt-get install libboost-test-dev libboost-thread-dev 2. If that doesn't work, you can install all boost development packages with: