Bug #80561 [NEW]: zend_jit_x86.c not rebuilt when ZTS configuration changes
| From: | dktapps at pmmp dot io | Date: | Tue, 29 Dec 2020 19:23:57 +0000 |
| Subject: | Bug #80561 [NEW]: zend_jit_x86.c not rebuilt when ZTS configuration changes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-231299@lists.php.net to get a copy of this message | ||
From: dktapps at pmmp dot io
Operating system: Linux
PHP version: 8.0.0
Package: Compile Failure
Bug Type: Bug
Bug description:zend_jit_x86.c not rebuilt when ZTS configuration changes
Description:
------------
zend_jit_x86.c contents is different depending on whether ZTS is enabled
or not.
This becomes a problem when first configuring without ZTS and
makeing,
and then reconfiguring with ZTS and makeing again (or vice versa).
make clean doesn't make any difference.
This can be reproduced using the following on any 8.0.0 git source:
```
./configure
make
./configure --enable-zts
make
```
As stated above make clean makes no difference to this particular
issue.
Expected result:
----------------
Compilation should succeed without issues.
Ideally, the build should automatically rebuild zend_jit_x86.c when it
detects configuration changes.
However, make clean should wipe out the file in any case.
Actual result:
--------------
Compilation fails with a giant spam of ZTS-related globals errors.
--
Edit bug report at https://bugs.php.net/bug.php?id=80561&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80561&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80561&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80561&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80561&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80561&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80561&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80561&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80561&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80561&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80561&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80561&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80561&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80561&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80561&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80561&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80561&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80561&r=mysqlcfg