-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes needed for FastCGI on OSX #2944
Conversation
When constructing static objects in OSX, the constructor initialization list is evaluated. This means a String object is constructed when the MemoryManager has not been initialized yet (in init_thread_locals).
👍 |
@danslo Hi. I have pulled this in for review with the understanding that the 3rd party stuff has to land first before we land it. Thanks! Internal Diff Number: D1401477 |
@danslo We also removed |
👍 |
This has been accepted internally. Now we just need to figure out how to handle the 3rd party updates. |
Updated the 3rd party pull requests. |
Checklist so we can keep track on what needs to happen before this can land.
|
Summary: A recent change in folly/MemoryMapping.cpp uses MAP_ANONYMOUS, which is named MAP_ANON on OSX/BSD. We need folly and third-party changes in order to land a pull request for HHVM that starts to get FastCGI running on OSX. See the checklist of the HHVM pull request here: facebook/hhvm#2944 (comment) Closes #67 GitHub Author: Daniel Sloof <[email protected]> @override-unit-failures Test Plan: fbmake runtests 100% Reviewed By: [email protected], [email protected] FB internal diff: D1407393
Summary: This prevents a linker error on OSX: ``` Undefined symbols for architecture x86_64: "folly::detail::EndianIntBase::swap(unsigned long)", referenced from: __GLOBAL__sub_I_MacAddress.cpp in libfolly.a(MacAddress.cpp.o) ld: symbol(s) not found for architecture x86_64 ``` We need folly and third-party changes in order to land a pull request for HHVM that starts to get FastCGI running on OSX. See the checklist of the HHVM pull request here: facebook/hhvm#2944 (comment) Closes #68 GitHub Author: Daniel Sloof <[email protected]> @override-unit-failures Test Plan: fbmake runtests 100% Reviewed By: [email protected], [email protected] FB internal diff: D1407426
The rest of the changes have been PRed in hhvm-third-party, @ptarjan would look at those. They must land first.