facebook/hiphop-php — Issue #425: OS X Build Complier Crash?
Author: JeremyAgost
Created: 2011-10-31 17:33:44+00:00
State: open

I know that Mac OS X is no longer a supported platform. I want to take a look at the problems with the build and fix them if possible. In another issue someone mentioned that support was dropped in part due to "problems with the linker" (https://github.com/facebook/hiphop-php/issues/295#issuecomment-900258). Just now when I was running make it looks like g++ crashed while compiling an object. Is this the problem he was talking about?

Snippet from the `make -d` output
```...
Finished prerequisites of target file `src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o'.
Must remake target `src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o'.
Putting child 0x7f874b48cc40 (src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o) PID 15087 on the chain.
Live child 0x7f874b48cc40 (src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o) PID 15087
[ 13%] Reaping winning child 0x7f874b48cc40 PID 15087
Live child 0x7f874b48cc40 (src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o) PID 15088
Building CXX object src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o
Reaping winning child 0x7f874b48cc40 PID 15088
Live child 0x7f874b48cc40 (src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o) PID 15089
:3498:Expected comma after segment-name
:3498:Rest of line ignored. 1st junk character valued 32 ( ).
:4078:Expected comma after segment-name
:4078:Rest of line ignored. 1st junk character valued 32 ( ).
Reaping losing child 0x7f874b48cc40 PID 15089
make[2]: *** [src/CMakeFiles/hphp_runtime_static.dir/runtime/base/builtin_functions.cpp.o] Error 1
Removing child 0x7f874b48cc40 PID 15089 from chain.
Reaping losing child 0x109b130a0 PID 15086
make[1]: *** [src/CMakeFiles/hphp_runtime_static.dir/all] Error 2
Removing child 0x109b130a0 PID 15086 from chain.
Reaping losing child 0x103f0cb50 PID 15004
make: *** [all] Error 2
Removing child 0x103f0cb50 PID 15004 from chain.```