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

PHP: fix ZTS tsrm_ls errors #2189

Merged
merged 2 commits into from
Oct 4, 2016

Conversation

stanley-cheung
Copy link
Contributor

@stanley-cheung stanley-cheung commented Sep 27, 2016

Fixes #2186

To reproduce:

  • compile PHP from source with ./configure --enable-maintainer-zts
  • then compile the protobuf extension

@grpc-kokoro
Copy link

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

@TeBoring TeBoring force-pushed the 3.1.x branch 15 times, most recently from 0676502 to bcb32c0 Compare October 3, 2016 20:49
@TeBoring
Copy link
Contributor

TeBoring commented Oct 3, 2016

Do I need to recompile PHP or just protobuf's extension with enable-maintainer-zts?

@TeBoring
Copy link
Contributor

TeBoring commented Oct 3, 2016

Is there any command line to install php with zts?

@TeBoring TeBoring added the php label Oct 3, 2016
@stanley-cheung
Copy link
Contributor Author

As far as I know, you need to re-compile PHP with ./configure --enable-maintainer-zts manually to enable ZTS

@TeBoring TeBoring force-pushed the 3.1.x branch 2 times, most recently from 8173ab1 to 858db7a Compare October 3, 2016 23:07
@TeBoring
Copy link
Contributor

TeBoring commented Oct 4, 2016

ok to test

@TeBoring
Copy link
Contributor

TeBoring commented Oct 4, 2016

php/ext/google/protobuf/array.c:163:8: error: too few arguments to function 'native_slot_set'

@TeBoring
Copy link
Contributor

TeBoring commented Oct 4, 2016

jenkins is able to test zts build now.

@TeBoring
Copy link
Contributor

TeBoring commented Oct 4, 2016

LGTM

@TeBoring TeBoring merged commit 52ab3b0 into protocolbuffers:3.1.x Oct 4, 2016
@stanley-cheung stanley-cheung deleted the php-fix-tsrm branch October 4, 2016 21:04
TeBoring pushed a commit to TeBoring/protobuf that referenced this pull request Oct 10, 2016
* PHP: fix ZTS tsrm_ls errors

* Fix a few more macros
dand-oss pushed a commit to dand-oss/protobuf that referenced this pull request Nov 11, 2016
* PHP: fix ZTS tsrm_ls errors

* Fix a few more macros
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.

4 participants