Hello,
I am running phabricator on a local system which happens to be ARM hardware (hardfloat ABI for the matter), apparently libphutil compiles some code in C++ with the GCC option minline-all-stringops, which happens to be x86 specific.
When attempting to run: 'arc librate' the buid chokes on:
g++: error: unrecognized command line option ‘-minline-all-stringops’
I have fixed it locally by removing the option, but I think it should be addressed upstream.
FWIW, here is the local patch I have applied:
--- a/support/xhpast/Makefile +++ b/support/xhpast/Makefile @@ -7,7 +7,9 @@ ifdef DEBUG CPPFLAGS += -ggdb -DDEBUG FLEXFLAGS += --debug else - CPPFLAGS += -O3 -minline-all-stringops + # causes failure on armhf + # CPPFLAGS += -O3 -minline-all-stringops + CPPFLAGS += -O3 endif ifdef PROFILE
Best regards