Does this build on ARM64? **aarch64 / arm64** Latest and Ubuntu 16.04 on Scaleway Compile error, seems to be a reference in folly build to some extensions that are not available. g++: error: unrecognized command line option ‘-msse4.2’ g++: error: unrecognized command line option ‘-mpclmul’ Makefile:2178: recipe for target 'detail/libfollybasesse42_la-RangeSse42.lo' failed Cheers, Jon.
Activity
saifhhasan commentedon Dec 1, 2017
We internally build for arm39x platform and works fine. However we do have some patches to make folly build happy.
Open task with folly https://github.com/facebook/folly for it ? I am sure you can figure it out.
bodleytunes commentedon Dec 4, 2017
OK I will check it out :)
saifhhasan commentedon Dec 4, 2017
Closing issue as it is not Open/R related.
bodleytunes commentedon Dec 6, 2017
Just in case its of any use for someone in the future (n00bs to compiling like myself), I managed to compile on ARM64 on scaleway.
I had to download these files as it wouldn't detect the correct architecture:
wget http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
wget http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
config.sub and config.guess
I put these in /root/openr/build/deps/glog replacing any old ones
I then had to remove references to -sse4.2 and the other flag in the CXX makefiles, e.g. makefile.ac, makefile.in etc (just do a grep in the dir)
then add -Wno-noexcept-type into the CMAKe file as it was bombing out at some point during compilation.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -Wno-noexcept-type")
Finally I was missing libffi-dev
apt install libffi-dev
Finally it compiled but with one error during the final tests.
It took hours to compile!
Cheers,
Jon.
LinkMonitorTest - Explicitly delete objects in TearDown
Bugfix: fix kvstore stuck issue during desctruction sequence
(easy) Fix pyre error #56/#35/#11