Skip to content

Commit a04fac8

Browse files
devnexennikic
authored andcommitted
Disable ifunc support on openbsd
Enabling it leads to segfault when resolvers are used e.g. php_stripslashes. Closes GH-6851.
1 parent 600402d commit a04fac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ dnl Fix for these systems is already included in GCC 7, but not on GCC 6.
568568
dnl
569569
dnl At least some versions of FreeBSD seem to have buggy ifunc support, see
570570
dnl bug #77284. Conservatively don't use ifuncs on FreeBSD.
571-
AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*|*freebsd*], [true], [
571+
AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*|*freebsd*|*openbsd*], [true], [
572572
AX_GCC_FUNC_ATTRIBUTE([ifunc])
573573
AX_GCC_FUNC_ATTRIBUTE([target])
574574
])

0 commit comments

Comments
 (0)