From: Operating system: OS X 10.7 PHP version: 5.3.6 Package: Compile Failure Bug Type: Bug Bug description:Phar Error 139
Description: ------------ I recently upgraded to OS X 10.7 with the newest Xcode tools installed. Whenever I try to compile PHP, the make fails with an error 139, with the following text: Generating phar.php /bin/sh: line 1: 29420 Segmentation fault: 11 ` if test -x "/Users/richardd/Downloads/php-5.3.6/sapi/cli/php"; then /Users/richardd/Downloads/php-5.3.6/build/shtool echo -n -- "/Users/richardd/Downloads/php-5.3.6/sapi/cli/php -n"; if test "x/Users/richardd/Downloads/php-5.3.6/modules/curl.la /Users/richardd/Downloads/php-5.3.6/modules/mcrypt.la" != "x"; then /Users/richardd/Downloads/php-5.3.6/build/shtool echo -n -- " -d extension_dir=/Users/richardd/Downloads/php-5.3.6/modules"; for i in bz2 zlib phar; do if test -f "/Users/richardd/Downloads/php-5.3.6/modules/$i.la"; then . /Users/richardd/Downloads/php-5.3.6/modules/$i.la; /Users/richardd/Downloads/php- 5.3.6/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /Users/richardd/Downloads/php-5.3.6/build/shtool echo -n -- "/Users/richardd/Downloads/php-5.3.6/sapi/cli/php"; fi;` -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /Users/richardd/Downloads/php-5.3.6/ext/phar/build_precommand.php > ext/phar/phar.php make: *** [ext/phar/phar.php] Error 139 This happens with 5.3.6 and 5.3.7RC3. Expected result: ---------------- Expect PHP to compile. Actual result: -------------- PHP compile fails. -- Edit bug report at https://bugs.php.net/bug.php?id=55276&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55276&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55276&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55276&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55276&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55276&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55276&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55276&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55276&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55276&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55276&r=support Expected behavior: https://bugs.php.net/fix.php?id=55276&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55276&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55276&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55276&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55276&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55276&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55276&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55276&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55276&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55276&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55276&r=mysqlcfg