From: seb at seblog dot nl Operating system: macOS 10.15.7 PHP version: 8.0.1 Package: PECL Bug Type: Bug Bug description:Cannot install via Pecl in PHP 8.0.1 due to unsupported 'asm goto'
Description: ------------ First off: I have no idea what I am doing. Sorry about that. I'm trying to be helpful. I tried installing the phpredis extension for PHP 8.0.1 via PECL (but tried to install swoole too, to pinpoint the error: that had the same issue, so I think it's PECL itself). The installation ends with the error: "'asm goto' constructs are not supported" for the file `php/8.0.1/include/php/Zend/zend_operators.h` on locations 541:10, 604:10, 674:10 and 784:10. When I look at Github for a blame of that file, I come across this commit for 8.0.1: https://github.com/php/php-src/commit/33bf1495b215d555d45ec638376bd434d8a038b3 And when I, not held back by any knowledge of things, change the `1` in `# define ZEND_USE_ASM_ARITHMETIC 1` on line 512 to `0`... I seems to turn off the use of `goto` stuff, so the installation succeeds and now I can use the Redis class again. ... so, my problem is 'solved', but there is something not right. I'm happy to provide additional information, if that is useful. Thanks for making PHP! -- Edit bug report at https://bugs.php.net/bug.php?id=80607&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80607&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80607&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80607&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80607&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80607&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80607&r=support Expected behavior: https://bugs.php.net/fix.php?id=80607&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80607&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80607&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80607&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80607&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80607&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80607&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80607&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80607&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80607&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80607&r=mysqlcfg -- PECL development discussion Mailing List (https://pecl.php.net/) To unsubscribe, visit: https://www.php.net/unsub.php