Page 1 of 1

Compile error BOOST_FUNCTION_RETURN 0.47 Aarch64

Posted: Mon Jun 05, 2017 3:33 pm
by tarski
Hi,

I am trying to compile 0.47 on ARM (Aarch64) using GCC 6.10
I am using a modified docker image from the SDK to do the compilation. Cmake reported all dependencies were OK and that all the boost libraries were found

However, the compilation is failing at 44% at:

Code: Select all

/usr/include/boost/function/function_template.hpp:159:11: error: no match for call to '(std::tuple<const boost::function<void()>&>) ()'
           BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS));
           ^
I have attached the output from cmake and make

Re: Compile error BOOST_FUNCTION_RETURN 0.47 Aarch64

Posted: Mon Jun 05, 2017 4:13 pm
by Geoff the Medio

Re: Compile error BOOST_FUNCTION_RETURN 0.47 Aarch64

Posted: Tue Jun 06, 2017 8:46 am
by tarski
Thanks, it seems that GCC 6.1 is incompatible with Libboost 1.5.8. Unfortunately Ubuntu 16.04, which the SDK docker images is based off of, includes libboost 1.5.8. I'll try switching libboost and/or GCC version