Page MenuHomePhabricator

xhpast does not build on ARM hardware
Closed, WontfixPublic

Description

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

Event Timeline

Is the local system a raspberry pi?

epriestley triaged this task as Wishlist priority.Feb 1 2016, 3:35 PM

Broadly:

  • You only need to run arc liberate when developing Phabricator itself (e.g., writing Phabricator extensions or otherwise modifying Phabricator).
  • The one ARM system (the Raspberry Pi) we have other direct evidence of users attempting to do installs on is explicitly not supported as a Phabricator host platform -- see Installation Guide. You can try, but you're on your own.
  • If you're using an ARM system that could, in theory, broadly qualify as a "normal computer" to host and/or develop Phabricator this is something we might eventually look at supporting, but we don't currently have any evidence that anyone else is trying to do this. We are vanishingly unlikely to dedicate resources to ARM support for the benefit of only one user (if you are developing on ARM hardware) or one install (if you are hosting on ARM hardware).
  • If you did read the "Installation Guide" and believed ARM hardware to reasonably qualify as "a normal computer", we can add additional language to make it clear that ARM is not included in what we consider "a normal computer".
epriestley renamed this task from arcanist: unable to run arc liberate on armhf hardware to xhpast does not build on ARM hardware.Feb 1 2016, 5:48 PM
epriestley added a project: XHPAST.

Broadly:

  • You only need to run arc liberate when developing Phabricator itself (e.g., writing Phabricator extensions or otherwise modifying Phabricator).
  • The one ARM system (the Raspberry Pi) we have other direct evidence of users attempting to do installs on is explicitly not supported as a Phabricator host platform -- see Installation Guide. You can try, but you're on your own.
  • If you're using an ARM system that could, in theory, broadly qualify as a "normal computer" to host and/or develop Phabricator this is something we might eventually look at supporting, but we don't currently have any evidence that anyone else is trying to do this. We are vanishingly unlikely to dedicate resources to ARM support for the benefit of only one user (if you are developing on ARM hardware) or one install (if you are hosting on ARM hardware).
  • If you did read the "Installation Guide" and believed ARM hardware to reasonably qualify as "a normal computer", we can add additional language to make it clear that ARM is not included in what we consider "a normal computer".

Hello

I am using a cloud instance running on Marvel Armada XP SoC, which i believe it qualifies as " normal (server) computer".

For reference see www.scaleway.com, service provider.

I am happily running Phabricator there, on Debian Jessie system, however that was the only bug I have found so far, as g++ does not support that option.

Even ARM servers are not that common we are seeing more and more ARM 64bit devices coming up, hence I would suggest to be friendly with such architecture.

Regards

epriestley claimed this task.

This is very old and we have no outstanding customer requests for ARM support.