Bug #70254 [NEW]: 5.5.28 compile fails on illumos

From: Date: Wed, 12 Aug 2015 21:32:30 +0000
Subject: Bug #70254 [NEW]: 5.5.28 compile fails on illumos
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195172@lists.php.net to get a copy of this message
From: peter dot tribble at gmail dot com Operating system: Solaris PHP version: 5.5.28 Package: Compile Failure Bug Type: Bug Bug description:5.5.28 compile fails on illumos Description: ------------ Compiling 5.5.28 on illumos (OpenSolaris derivative, with gcc 4.8.3) fails with [...] Generating phar.php Generating phar.phar PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled. Makefile:345: recipe for target 'ext/phar/phar.phar' failed gmake: *** [ext/phar/phar.phar] Illegal Instruction (core dumped) Previous versions compile successfully. The culprit appears to be #70002 - reverting the change to main/php_open_temporary_file.c allows compilation to succeed without any issues. Actual result: -------------- Head of the stacktrace: (gdb) bt #0 0x0837b602 in php_get_temporary_directory (tsrm_ls=0x89e3ea0) at /export/home/ptribble/ud/php-5.5.28/main/php_open_temporary_file.c:251 #1 0x0837b762 in php_open_temporary_file (dir=0x0, pfx=0x8939799 "php", opened_path_p=0x80460ac, tsrm_ls=0x0) at /export/home/ptribble/ud/php-5.5.28/main/php_open_temporary_file.c:313 #2 0x0837b80a in php_output_handler_compat_func (handler_context=0x0, output_context=0x8939799) at /export/home/ptribble/ud/php-5.5.28/main/output.c:1293 #3 0x0838b2ff in _php_stream_fopen_from_fd (fd=0, mode=0x89e3ea0 "\310|\267\b&", persistent_id=0x0, tsrm_ls=0x0) at /export/home/ptribble/ud/php-5.5.28/main/streams/plain_wrapper.c:241 #4 0x08272a61 in phar_flush (phar=0x8c4b854, user_stub=0x8c4cd40 "#!/opt/tribblix/php/bin/php\n<?php if (!class_exists('PHP_Archive')) {\n?><?php\n}\nif (!in_array('phar', stream_get_wrappers())) {\n\tstream_wrapper_register('phar', 'PHP_Archive');\n}\nif (!class_exists('Ph"..., len=144588466, convert=0, error=0x8046204, tsrm_ls=0x89e3ea0) at /export/home/ptribble/ud/php-5.5.28/ext/phar/phar.c:2686 -- Edit bug report at https://bugs.php.net/bug.php?id=70254&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70254&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70254&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70254&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70254&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70254&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70254&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70254&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70254&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70254&r=support Expected behavior: https://bugs.php.net/fix.php?id=70254&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70254&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70254&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70254&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70254&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70254&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70254&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70254&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70254&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70254&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70254&r=mysqlcfg

« previous php.bugs (#195172) next »