r-index icon indicating copy to clipboard operation
r-index copied to clipboard

Crash during make

Open inemp opened this issue 2 years ago • 0 comments

When running make (as described) I am getting:

[ 28%] Built target sdsl [ 33%] Built target divsufsort [ 38%] Built target divsufsort64 [ 42%] Building CXX object CMakeFiles/ri-buildfasta.dir/ri-buildfasta.cpp.o In file included from /home/frans/r-index/build/sdsl-lite/include/sdsl/int_vector.hpp:24:0, from /home/frans/r-index/build/sdsl-lite/include/sdsl/bit_vectors.hpp:8, from /home/frans/r-index/build/sdsl-lite/include/sdsl/wt_pc.hpp:25, from /home/frans/r-index/build/sdsl-lite/include/sdsl/wavelet_trees.hpp:32, from /home/frans/r-index/internal/huff_string.hpp:13, from /home/frans/r-index/internal/rle_string.hpp:26, from /home/frans/r-index/internal/r_index.hpp:15, from /home/frans/r-index/ri-buildfasta.cpp:9: /home/frans/r-index/build/sdsl-lite/include/sdsl/bits.hpp: In static member function ‘static uint32_t sdsl::bits::sel(uint64_t, uint32_t)’: /home/frans/r-index/build/sdsl-lite/include/sdsl/bits.hpp:331:54: error: ‘_pdep_u64’ was not declared in this scope return __builtin_ctzll(_pdep_u64(1ull << (i-1), x)); ^ In file included from /home/frans/r-index/ri-buildfasta.cpp:9:0: /home/frans/r-index/internal/r_index.hpp: In member function ‘std::__cxx11::string ri::r_index<sparse_bv_type, rle_string_t>::bigbwt(std::__cxx11::string, bool, uint32_t) [with sparse_bv_type = ri::sparse_sd_vector; rle_string_t = ri::rle_stringri::sparse_sd_vector; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]’: /home/frans/r-index/internal/r_index.hpp:592:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system(command.c_str()); ^ CMakeFiles/ri-buildfasta.dir/build.make:62: recipe for target 'CMakeFiles/ri-buildfasta.dir/ri-buildfasta.cpp.o' failed make[2]: *** [CMakeFiles/ri-buildfasta.dir/ri-buildfasta.cpp.o] Error 1 CMakeFiles/Makefile2:171: recipe for target 'CMakeFiles/ri-buildfasta.dir/all' failed make[1]: *** [CMakeFiles/ri-buildfasta.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2

Any help would be appreciated. Seems like ‘_pdep_u64 ' is missing? Is this ever tackled before? Feel free to ask more details. I am not certain what other info to provide, the build process look quite straight forward.

inemp avatar May 04 '22 14:05 inemp