Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug build issue with HPX runtime #195

Open
NanmiaoWu opened this issue Feb 26, 2021 · 0 comments
Open

Debug build issue with HPX runtime #195

NanmiaoWu opened this issue Feb 26, 2021 · 0 comments

Comments

@NanmiaoWu
Copy link
Collaborator

  • The issue is that there are some missing symbols for HPX:
[ 29%] Linking CXX executable hpx_future_test
cd /work/nanmiao/my_project/src/SHAD/build_hpx_Debug/test/unit_tests/runtime && /home/packages/cmake/3.16.2/5divrjcq/bin/cmake -E cmake_link_script CMakeFiles/hpx_future_test.dir/link.txt --verbose=1
/usr/local/packages/gcc/9.3.0/7ywjt2jl/bin/g++   -no-pie -g -g -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC  -rdynamic CMakeFiles/hpx_future_test.dir/hpx_future_test.cc.o  -o hpx_future_test  -Wl,-rpath,/work/nanmiao/my_project/install/hpx_Debug/lib64:/home/nanmiao/dev/src/spack/opt/spack/linux-rhel7-cascadelake/gcc-9.3.0/jemalloc-5.2.1-vrfuog5hnocgtbtl5pznh5enhxfrocbu/lib /work/nanmiao/my_project/install/hpx_Debug/lib64/libhpx_iostreamsd.so.1.7.0 ../../../src/runtime/libruntime.a ../libshadtest_main.a ../../../src/runtime/libruntime.a /work/nanmiao/my_project/install/hpx_Debug/lib64/libhpx_initd.a /work/nanmiao/my_project/install/hpx_Debug/lib64/libhpxd.so.1.7.0 /work/nanmiao/my_project/install/hpx_Debug/lib64/libhpx_cored.so /home/nanmiao/dev/src/spack/opt/spack/linux-rhel7-cascadelake/gcc-9.3.0/jemalloc-5.2.1-vrfuog5hnocgtbtl5pznh5enhxfrocbu/lib/libjemalloc.so -lhwloc /work/nanmiao/my_project/install/hpx_Debug/lib64/libhpx_parallelismd.so -lpthread -latomic -ldl -lrt /work/nanmiao/my_project/install/gtest/lib64/libgtest.a 
CMakeFiles/hpx_future_test.dir/hpx_future_test.cc.o:(.rodata._ZTVN3hpx15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE[_ZTVN3hpx15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE]+0x38): undefined reference to `hpx::program_options::value_semantic_codecvt_helper<char>::parse(hpx::util::basic_any<void, void, void, std::integral_constant<bool, true> >&, std::__debug::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
CMakeFiles/hpx_future_test.dir/hpx_future_test.cc.o:(.rodata._ZTVN3hpx15program_options11typed_valueIjcEE[_ZTVN3hpx15program_options11typed_valueIjcEE]+0x38): undefined reference to `hpx::program_options::value_semantic_codecvt_helper<char>::parse(hpx::util::basic_any<void, void, void, std::integral_constant<bool, true> >&, std::__debug::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
CMakeFiles/hpx_future_test.dir/hpx_future_test.cc.o:(.rodata._ZTVN3hpx15program_options11typed_valueImcEE[_ZTVN3hpx15program_options11typed_valueImcEE]+0x38): undefined reference to `hpx::program_options::value_semantic_codecvt_helper<char>::parse(hpx::util::basic_any<void, void, void, std::integral_constant<bool, true> >&, std::__debug::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
CMakeFiles/hpx_future_test.dir/hpx_future_test.cc.o: In function `hpx::program_options::typed_value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>::xparse(hpx::util::basic_any<void, void, void, std::integral_constant<bool, true> >&, std::__debug::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) const':
/work/nanmiao/my_project/install/hpx_Debug/include/hpx/program_options/detail/value_semantic.hpp:211: undefined reference to `hpx::program_options::validate(hpx::util::basic_any<void, void, void, std::integral_constant<bool, true> >&, std::__debug::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [test/unit_tests/runtime/hpx_future_test] Error 1
make[2]: Leaving directory `/ddnA/work/nanmiao/my_project/src/SHAD/build_hpx_Debug'
make[1]: *** [test/unit_tests/runtime/CMakeFiles/hpx_future_test.dir/all] Error 2
make[1]: Leaving directory `/ddnA/work/nanmiao/my_project/src/SHAD/build_hpx_Debug'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant