Skip to content
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

Closed
wants to merge 3 commits into from
Closed

Conversation

danslo
Copy link
Contributor

@danslo danslo commented Jun 14, 2014

The rest of the changes have been PRed in hhvm-third-party, @ptarjan would look at those. They must land first.

@danslo danslo changed the title [1/2] Changes needed for FastCGI on OSX Changes needed for FastCGI on OSX Jun 14, 2014
danslo added 2 commits June 15, 2014 20:04
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).
@csdougliss
Copy link
Contributor

👍

@JoelMarcey JoelMarcey mentioned this pull request Jun 24, 2014
@JoelMarcey
Copy link
Contributor

@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

@JoelMarcey
Copy link
Contributor

@danslo We also removed util/pthread-spin-lock-shim.h since it is not being used any longer after your deletion.

@danslo
Copy link
Contributor Author

danslo commented Jun 25, 2014

👍

@JoelMarcey
Copy link
Contributor

This has been accepted internally. Now we just need to figure out how to handle the 3rd party updates.

@danslo
Copy link
Contributor Author

danslo commented Jun 26, 2014

Updated the 3rd party pull requests.

@danslo
Copy link
Contributor Author

danslo commented Jun 26, 2014

Checklist so we can keep track on what needs to happen before this can land.

@JoelMarcey
Copy link
Contributor

@danslo Nice checklist. Thanks. 👍

cc: @ptarjan

Gownta pushed a commit to facebook/folly that referenced this pull request Jun 27, 2014
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
Gownta pushed a commit to facebook/folly that referenced this pull request Jun 27, 2014
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
@danslo danslo deleted the osx-fastcgi branch June 28, 2014 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants