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

Using 'gmakeN' after 'cmake' produces error in src/CMakeFiles/hpx.dir/runtime/agas/addressing_service.cpp.o #2814

Closed
Rodario opened this issue Aug 11, 2017 · 3 comments

Comments

@Rodario
Copy link

Rodario commented Aug 11, 2017

Hello, currently I cant get beyond gmake -j3 in the steps to setting up hpx.

My setup:

  • OS: Fedora 26
  • Compiler: gcc 7.1.1
  • Boost library: 1.61.0
  • Using TCMalloc

I followed the steps of your fedora receipe to get all the required librarys.

After that I used the steps:

  • "cmake .." in build folder without extra definitions
  • gmake -j3

Than the building reached:
[ 0%] Building CXX object src/CMakeFiles/hpx.dir/runtime/agas/big_boot_barrier.cpp.o

and I got the following error message:

In file included from /usr/local/boost_1_61_0/boost/icl/type_traits/identity_element.hpp:11:0,
                 from /usr/local/boost_1_61_0/boost/icl/type_traits/unit_element.hpp:12,
                 from /usr/local/boost_1_61_0/boost/icl/concept/interval.hpp:17,
                 from /usr/local/boost_1_61_0/boost/icl/closed_interval.hpp:12,
                 from /home/rodri/Desktop/BA/hpx_main/hpx/src/runtime/agas/addressing_service.cpp:48:
/usr/local/boost_1_61_0/boost/icl/type_traits/type_to_string.hpp:56:12: error: partial specialization of ‘struct boost::icl::type_to_string<Unary<Type> >’ after instantiation of ‘struct boost::icl::type_to_string<std::__cxx11::basic_string<char> >’ [-fpermissive]
     struct type_to_string<Unary<Type> >
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/boost_1_61_0/boost/icl/type_traits/type_to_string.hpp:72:12: error: partial specialization of ‘struct boost::icl::type_to_string<Binary<Type1, Type2> >’ after instantiation of ‘struct boost::icl::type_to_string<std::__cxx11::basic_string<char> >’ [-fpermissive]
     struct type_to_string<Binary<Type1, Type2> >
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  0%] Building CXX object src/CMakeFiles/hpx.dir/runtime/agas/component_namespace.cpp.o
[  0%] Building CXX object src/CMakeFiles/hpx.dir/runtime/agas/detail/bootstrap_component_namespace.cpp.o
gmake[2]: *** [src/CMakeFiles/hpx.dir/build.make:159: src/CMakeFiles/hpx.dir/runtime/agas/addressing_service.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:1819: src/CMakeFiles/hpx.dir/all] Error 2
gmake: *** [Makefile:141: all] Error 2`

I have used all available tutorials but cant seem to find the problem causing error in
agas/addressing_service.cpp.o

@hkaiser
Copy link
Member

hkaiser commented Aug 11, 2017

@Rodario: this is a known problem in Boost caused by the fact that it was released before the compiler you're using (gcc 7). Please configure HPX with cmake -DHPX_WITH_CXX14=ON ... to work around the issue.

@hkaiser
Copy link
Member

hkaiser commented Aug 13, 2017

@Rodario do you still have problems? Can we close this now?

@Rodario
Copy link
Author

Rodario commented Aug 15, 2017

Jep, the compiler version was the problem, thanks for the quick help!

@hkaiser hkaiser closed this as completed Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants