Bug #80435 [NEW]: Bus Error compiling phar.phar on Apple M1

From: Date: Fri, 27 Nov 2020 20:59:26 +0000
Subject: Bug #80435 [NEW]: Bus Error compiling phar.phar on Apple M1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230690@lists.php.net to get a copy of this message
From: cja987 at gmail dot com Operating system: macOS 11 PHP version: 8.0Git-2020-11-27 (Git) Package: Compile Failure Bug Type: Bug Bug description:Bus Error compiling phar.phar on Apple M1 Description: ------------ Using the compile command shown in the test script below, compilation proceeds normally and it even builds some of the SAPIs, but once it gets to phar, things go sideways: Generating phar.php Generating phar.phar PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled. make: *** [ext/phar/phar.phar] Bus error: 10 Test script: --------------- make distclean; ./buildconf && PATH=/opt/homebrew/opt/bison/bin:$PATH ./configure --with-iconv=/opt/homebrew/opt/libiconv && make -j10 YACC=/opt/homebrew/opt/bison/bin/bison # The above shows another minor bug: I should not have to set YACC, # but the makefile sets it to just "bison" rather than the full path, # which causes it to find the obsolete system bison in the path instead. -- Edit bug report at https://bugs.php.net/bug.php?id=80435&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80435&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80435&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80435&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80435&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80435&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80435&r=support Expected behavior: https://bugs.php.net/fix.php?id=80435&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80435&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80435&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80435&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80435&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80435&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80435&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80435&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80435&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80435&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80435&r=mysqlcfg

« previous php.bugs (#230690) next »