mirror of
https://github.com/php/php-src.git
synced 2026-04-11 10:03:18 +02:00
Disable ifunc support on openbsd
Enabling it leads to segfault when resolvers are used e.g. php_stripslashes. Closes GH-6851.
This commit is contained in:
committed by
Nikita Popov
parent
600402d986
commit
a04fac84e7
@@ -568,7 +568,7 @@ dnl Fix for these systems is already included in GCC 7, but not on GCC 6.
|
||||
dnl
|
||||
dnl At least some versions of FreeBSD seem to have buggy ifunc support, see
|
||||
dnl bug #77284. Conservatively don't use ifuncs on FreeBSD.
|
||||
AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*|*freebsd*], [true], [
|
||||
AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*|*freebsd*|*openbsd*], [true], [
|
||||
AX_GCC_FUNC_ATTRIBUTE([ifunc])
|
||||
AX_GCC_FUNC_ATTRIBUTE([target])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user