Skip to content

Disable RTLD_DEEPBIND when compiling with AddressSanitizer#2386

Closed
oerdnj wants to merge 1 commit intophp:masterfrom
oerdnj:PHP-7.0-AddressSanitizer
Closed

Disable RTLD_DEEPBIND when compiling with AddressSanitizer#2386
oerdnj wants to merge 1 commit intophp:masterfrom
oerdnj:PHP-7.0-AddressSanitizer

Conversation

@oerdnj
Copy link
Contributor

@oerdnj oerdnj commented Feb 16, 2017

The AddressSanitizer doesn't support RTLD_DEEPBIND resulting in
erratic errors when deinitializing phar module and possibly others.

Clang use __has_feature() macro to indicate compilation with
AddressSanitizer while gcc uses SANITIZE_ADDRESS define.

See https://bugs.php.net/bug.php?id=73677 for more background.

…e=address).

The AddressSanitizer doesn't support RTLD_DEEPBIND resulting in
erratic errors when deinitializing phar module and possibly others.

Clang use __has_feature() macro to indicate compilation with
AddressSanitizer while gcc uses __SANITIZE_ADDRESS__ define.
@nikic
Copy link
Member

nikic commented Feb 16, 2017

Merged via 61e59db. Thanks!

@nikic nikic closed this Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants