mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix GH-20767: build failure with preserve_none attribute enabled on mac.
Established that build < 1700.4.4.1 tends to fail thus we disable the preserve_none attribute feature for these cases. close GH-20777
This commit is contained in:
6
NEWS
6
NEWS
@@ -2,7 +2,11 @@ PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.5.3
|
||||
|
||||
|
||||
- Core:
|
||||
. Fixed bug GH-20806 (preserve_none feature compatiblity with LTO).
|
||||
(henderkes)
|
||||
. Fixed bug GH-20767 (build failure with musttail/preserve_none feature
|
||||
on macOs). (David Carlier)
|
||||
|
||||
15 Jan 2026, PHP 8.5.2
|
||||
|
||||
|
||||
@@ -336,9 +336,12 @@ char *alloca();
|
||||
# define ZEND_PRESERVE_NONE __attribute__((preserve_none))
|
||||
#endif
|
||||
|
||||
#if __has_attribute(musttail)
|
||||
# define HAVE_MUSTTAIL
|
||||
# define ZEND_MUSTTAIL __attribute__((musttail))
|
||||
|
||||
#if !defined(__apple_build_version__) || (defined(__apple_build_version__) && __apple_build_version__ >= 17000404)
|
||||
# if __has_attribute(musttail)
|
||||
# define HAVE_MUSTTAIL
|
||||
# define ZEND_MUSTTAIL __attribute__((musttail))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER) && !defined(__APPLE__) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__)) || __has_attribute(noreturn)
|
||||
|
||||
Reference in New Issue
Block a user