1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
On systems without glibc, such as Alpine with Musl libc, the function attributes
are not supported. GCC 6 doesn't properly omit some systems. This is
already fixed in GCC 7 but for systems with GCC 6 and ones without
glibc, this additional check fixes this bug.
This commit is contained in:
Peter Kokot
2018-06-28 15:26:45 +02:00
committed by Nikita Popov
parent 04e3523b7d
commit 67352cb2c0
2 changed files with 10 additions and 2 deletions

4
NEWS
View File

@@ -2,6 +2,10 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 7.3.0beta1
- Core:
. Fixed bug #76392 (Error relocating sapi/cli/php: unsupported relocation
type 37). (Peter Kokot)
- FPM:
. Fixed bug #62596 (getallheaders() missing with PHP-FPM). (Remi)

View File

@@ -581,8 +581,12 @@ AC_TYPE_UID_T
dnl Checks for sockaddr_storage and sockaddr.sa_len
PHP_SOCKADDR_CHECKS
AX_GCC_FUNC_ATTRIBUTE([ifunc])
AX_GCC_FUNC_ATTRIBUTE([target])
dnl Checks for GCC function attributes on all systems except ones without glibc
dnl Fix for these systems is already included in GCC 7, but not on GCC 6
AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*], [true], [
AX_GCC_FUNC_ATTRIBUTE([ifunc])
AX_GCC_FUNC_ATTRIBUTE([target])
])
dnl Check for IPv6 support
AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support,