Dmitry Stogov
43202d2bfa
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-15820: Core dumped with jit.opcache=1245
2024-09-10 15:44:24 +03:00
Dmitry Stogov
5cf045d357
Fix GH-15820: Core dumped with jit.opcache=1245
2024-09-10 15:42:23 +03:00
Niels Dossche
f8486c7ddc
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix buffer size configuration for AArch64
2024-09-09 22:02:46 +02:00
Niels Dossche
bcd1f23b30
Fix buffer size configuration for AArch64
2024-09-09 22:02:39 +02:00
Niels Dossche
d2a5c98797
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-15658: Segmentation fault in Zend/zend_vm_execute.h
2024-09-09 20:26:44 +02:00
Niels Dossche
c1ffd4b484
Fix GH-15658: Segmentation fault in Zend/zend_vm_execute.h
...
Implement a minimal ZEND_MATCH handler using a tail call.
Closes GH-15782.
2024-09-09 20:26:16 +02:00
Niels Dossche
75f5cbf89e
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-15661: Access null pointer in Zend/Optimizer/zend_inference.c
2024-09-09 20:12:01 +02:00
Niels Dossche
86ef8d5466
Fix GH-15661: Access null pointer in Zend/Optimizer/zend_inference.c
...
Closes GH-15666.
2024-09-09 20:10:16 +02:00
Dmitry Stogov
94f5ef09a0
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix OPcache tests under specific conditions
2024-09-09 10:00:41 +03:00
Go Kudo
d966c296d0
Fix OPcache tests under specific conditions
2024-09-09 10:00:25 +03:00
Dmitry Stogov
fb2266b1ca
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix OPcache tests under specific conditions
2024-09-09 09:56:37 +03:00
Go Kudo
bca5f6e74f
Fix OPcache tests under specific conditions
2024-09-09 09:55:52 +03:00
Dmitry Stogov
be8589651d
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-15652: Segmentation fault in the Zend engine when JIT enabled (#15717 )
2024-09-02 21:55:40 +03:00
Dmitry Stogov
1e78cf941c
Fix GH-15652: Segmentation fault in the Zend engine when JIT enabled ( #15717 )
2024-09-02 21:55:19 +03:00
Dmitry Stogov
b55816e9d1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Don't set IS_STR_PERMANENT flag for strings stored in the file cache (#15643 )
2024-08-30 01:01:22 +03:00
Dmitry Stogov
afba2010c0
Don't set IS_STR_PERMANENT flag for strings stored in the file cache ( #15643 )
2024-08-30 00:59:06 +03:00
Dmitry Stogov
bf98023f1a
Prevent possible incorrect optimization caused by ZEND_ASSUME()
2024-08-29 23:10:34 +03:00
Dmitry Stogov
c15bb9afe2
Restore error message incorrectly removed by commit 10d43c4 (related to GH-15497)
2024-08-29 16:59:14 +03:00
Dmitry Stogov
17e313ee62
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-15497: Opcache with file_cache and JIT enabled crashes (#15635 )
2024-08-29 16:46:56 +03:00
Dmitry Stogov
fd42cdbd0a
Fix GH-15497: Opcache with file_cache and JIT enabled crashes ( #15635 )
2024-08-29 16:46:49 +03:00
Dmitry Stogov
12b854f91b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-15502: Crash with JIT and Excimer (#15601 )
2024-08-27 21:12:43 +03:00
Dmitry Stogov
eb87de1c87
Fix GH-15502: Crash with JIT and Excimer ( #15601 )
2024-08-27 21:12:29 +03:00
Niels Dossche
950d010cc5
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix nightly failure in test variation due to number of temp variables varying when observers are enabled
2024-07-27 16:37:09 +02:00
Niels Dossche
4df858602a
Fix nightly failure in test variation due to number of temp variables varying when observers are enabled
2024-07-27 16:37:01 +02:00
Arnaud Le Blanc
385151d200
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix build on platforms without JIT support (#15069 )
2024-07-23 13:43:13 +02:00
Arnaud Le Blanc
acf758d2ea
Fix build on platforms without JIT support ( #15069 )
2024-07-23 13:42:47 +02:00
Arnaud Le Blanc
ead61c7f29
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Hint the opcache shm mapping location only when JIT is enabled
Fix the JIT buffer relocation failure at the corner case (#11266 )
2024-07-22 19:28:05 +02:00
Arnaud Le Blanc
929536b697
Hint the opcache shm mapping location only when JIT is enabled
...
Closes GH-14793
Fixes GH-13775
2024-07-22 19:26:54 +02:00
LoongT4o
a924e1c71b
Fix the JIT buffer relocation failure at the corner case ( #11266 )
...
Avoid missing possible candidates due to the large address range of the free segment.
Eg,
48000000-49400000 r-xs 08000000 00:0f 39322841 segment1
7ffff2ec8000-7ffff2f49000 rw-p 00000000 00:00 0 segment2
7ffff6fae000-7ffff735c000 r-xp 00200000 08:02 11538515 /usr/local/sbin/php-fpm
original code will miss the opportunity between [7ffff2ec** - 7ffff2ec8000].
Fix issue #11265 .
Signed-off-by: Long, Tao <tao.long@intel.com >
Signed-off-by: Dmitry Stogov <dmitrystogov@gmail.com >
2024-07-22 19:17:43 +02:00
Bob Weinand
61b455b59c
Merge branch 'PHP-8.2' into PHP-8.3
2024-07-22 18:30:10 +02:00
Bob Weinand
a18df90a8b
Fix GH-13817: Segmentation fault for enabled observers after pass 4
...
Instead of fixing up temporaries count in between observer steps, just apply the additional temporary in the two affected observer steps.
Closes GH-14018.
2024-07-22 18:28:03 +02:00
Peter Kokot
f702437cad
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Append -Wno-implicit-fallthrough flag conditionally (#13331 )
2024-07-22 06:58:01 +02:00
Peter Kokot
d20d11375f
Append -Wno-implicit-fallthrough flag conditionally ( #13331 )
...
Older GCC versions (< 7.0) don't support the -Wno-implicit-fallthrough
compiler flag. This adds the flag conditionally in case some other
compiler will run into same issue.
Fixes GH-13330
2024-07-22 06:57:04 +02:00
Niels Dossche
d3992b6d09
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-14550: No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled
2024-07-07 13:18:35 +02:00
Niels Dossche
b44ad27a78
Fix GH-14550: No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled
...
Closes GH-14847.
2024-07-07 13:18:01 +02:00
Dmitry Stogov
e842ddfe4f
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-14475: PHP 8.3.7 with JIT encounters infinite loop on specific paths (#14558 )
2024-06-17 09:38:02 +03:00
Dmitry Stogov
350af549a0
Fix GH-14475: PHP 8.3.7 with JIT encounters infinite loop on specific paths ( #14558 )
2024-06-17 09:37:44 +03:00
Niels Dossche
3e8752169c
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-11188: Error when building TSRM in ARM64
2024-06-03 21:11:20 +02:00
nielsdos
644d3628e3
Fix GH-11188: Error when building TSRM in ARM64
...
Although the issue mentioned FreeBSD, this is a broader problem:
the current ARM64 code to load the TLS offset assumes a setup with
the non-default TLS model. This problem can also apply on some
configurations on other platforms.
Closes GH-11236.
2024-06-03 20:28:55 +02:00
Arnaud Le Blanc
5e895dda15
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix TLS access in JIT on FreeBSD/amd64
2024-05-28 15:43:59 +02:00
Arnaud Le Blanc
79862f24da
Fix TLS access in JIT on FreeBSD/amd64
...
DTV elements are 8 bytes in size a per ABI [1], and the index is offset by 1
on FreeBSD [2]
[1] http://people.redhat.com/drepper/tls.pdf
[2] bf56e8b9c8/libexec/rtld-elf/rtld.c (L5260)
Closes GH-13928
2024-05-28 15:42:57 +02:00
Dmitry Stogov
034bd85ad1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix incorrect conditions
2024-05-28 08:37:48 +03:00
Dmitry Stogov
48ae025c33
Fix incorrect conditions
2024-05-28 08:37:20 +03:00
Ilija Tovilo
69a800151b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Skip JIT test if php is compiled without jit
2024-05-23 16:35:51 +02:00
Ilija Tovilo
04c9749e35
Skip JIT test if php is compiled without jit
2024-05-23 16:35:29 +02:00
Ilija Tovilo
706e79761e
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix enabling of JIT at runtime
2024-05-22 14:33:25 +02:00
Ilija Tovilo
9506ca6001
Fix enabling of JIT at runtime
...
Fixes GH-14267
Closes GH-14294
2024-05-22 14:32:43 +02:00
Ilija Tovilo
929bbb23d1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix persisting of inherited class constants
2024-05-06 16:02:20 +02:00
Ilija Tovilo
42ede5597e
Fix persisting of inherited class constants
...
Class constants are inherited to user classes without cloning. Thus, internal
class constants should not be persisted at all. Simply keep pointing to the
internal class constant.
Fixes GH-14109
Closes GH-14114
2024-05-06 16:00:48 +02:00
Bob Weinand
639a0d78d7
Merge branch 'PHP-8.2' of https://github.com/php/php-src into PHP-8.3
2024-04-10 20:38:23 +02:00