Skip to content

Conversation

nikic
Copy link
Member

@nikic nikic commented Feb 13, 2019

Possible fix for crashes observed with xdebug on osx.

Currently php_addslashes has different ABI depending on whether __SSE_4_2__ is set. If PHP and a shared extension are compiled with different -march etc then they may end up treating php_addslashes as different symbols (function or function pointer).

This introduces a hack to instead check __SSE_4_2__ during configure, so the ABI is always the same. For newer versions we should instead fix the php_addslashes declaration to be always the same.

@nikic
Copy link
Member Author

nikic commented Feb 14, 2019

Merged as 7bc162f. Followup for 7.4 in #3828.

@nikic nikic closed this Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant