|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-08-13 20:29 UTC] truniger at bluewin dot ch
[2015-12-07 02:13 UTC] sj2002cn at 163 dot com
[2018-04-09 21:59 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2018-04-09 21:59 UTC] cmb@php.net
[2018-04-11 18:03 UTC] peter dot tribble at gmail dot com
[2018-04-11 18:39 UTC] cmb@php.net
-Status: Feedback
+Status: Closed
[2018-04-11 18:39 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 14:00:02 2026 UTC |
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