Bug#1020834: amgcl: FTBFS on 32-bit platforms
Andreas Beckmann
anbe at debian.org
Thu Dec 22 17:06:48 GMT 2022
Followup-For: Bug #1020834
Control: retitle -1 amgcl: FTBFS on 32-bit platforms
Control: found -1 1.4.3-4
Hi,
compilation does now succeed, but thereafter it fails with a linker error:
[ 70%] Linking CXX executable mpi_complex
cd /build/amgcl-1.4.3/obj-i686-linux-gnu/examples/mpi && /usr/bin/cmake -E cmake_link_script CMakeFiles/mpi_complex.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/amgcl-1.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/mpi_complex.dir/mpi_complex.cpp.o -o mpi_complex -Wl,-rpath,/usr/lib/i386-l
inux-gnu/openmpi/lib -fopenmp /usr/lib/i386-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/i386-linux-gnu/openmpi/lib/libmpi.so /usr/lib/i386-linux-gnu/libboost_program_options.so.1.74.0 -lparmetis -lmetis
/usr/bin/ld: CMakeFiles/mpi_complex.dir/mpi_complex.cpp.o: in function `amgcl::mpi::coarsening::pmis<amgcl::backend::builtin<std::complex<double>, int, int> >::aggregates(amgcl::mpi::distributed_matrix<amgcl::backend::builtin<char, int, int> > const&, std::ve
ctor<int, std::allocator<int> >&, std::vector<int, std::allocator<int> >&)':
./obj-i686-linux-gnu/examples/mpi/./amgcl/mpi/coarsening/pmis.hpp:444: undefined reference to `amgcl::mpi::coarsening::pmis<amgcl::backend::builtin<std::complex<double>, int, int> >::undone'
collect2: error: ld returned 1 exit status
That symbol is missing for different types T in other executables, too:
amgcl::mpi::coarsening::pmis<T, int, int> >::undone
Andreas
More information about the debian-science-maintainers
mailing list