com php-src: Fix bug #76392: NEWS configure.ac

From: Date: Sat, 07 Jul 2018 09:31:44 +0000
Subject: com php-src: Fix bug #76392: NEWS configure.ac
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102463@lists.php.net to get a copy of this message
Commit: 67352cb2c01706b75d9a6f2793a2022f4751e355 Author: Peter Kokot <peterkokot@gmail.com> Thu, 28 Jun 2018 15:26:45 +0200 Committer: Nikita Popov <nikita.ppv@gmail.com> Sat, 7 Jul 2018 11:31:44 +0200 Parents: 04e3523b7d095341f65ed5e71a3cac82fca690e4 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=67352cb2c01706b75d9a6f2793a2022f4751e355 Log: Fix bug #76392 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. Bugs: https://bugs.php.net/76392 Changed paths: M NEWS M configure.ac Diff: diff --git a/NEWS b/NEWS index 71827f5..7184825 100644 --- a/NEWS +++ b/NEWS @@ -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) diff --git a/configure.ac b/configure.ac index 17de4a8..a2445a5 100644 --- a/configure.ac +++ b/configure.ac @@ -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,

« previous php.cvs (#102463) next »