|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69328 Compilation fails on x32
Submitted: 2015-03-29 19:07 UTC Modified: 2015-04-15 21:24 UTC
From: witekfl at gazeta dot pl Assigned:
Status: Open Package: Compile Failure
PHP Version: 5.4.39 OS: Linux x32
Private report: No CVE-ID:
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: witekfl at gazeta dot pl
New email:
PHP Version: OS:


 [2015-03-29 19:07 UTC] witekfl at gazeta dot pl
Compilation of php-5.4.39 fails on Linux with x32 ABI.

Expected result:
No errors.

Actual result:
./configure && make
Generating phar.php
Generating phar.phar
Unknown command 'pack', check ext/phar/phar.php help
Makefile:321: recipe for target 'ext/phar/phar.phar' failed


zend_operators_asm_backported_from_5.5_to_compile_on_x32 (last revision 2015-06-01 19:23 UTC) by witekfl at gazeta dot pl)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-15 19:21 UTC] witekfl at gazeta dot pl
-Package: PHAR related +Package: *General Issues
 [2015-04-15 19:21 UTC] witekfl at gazeta dot pl
It is a problem with arithmetic.
$l = 2 + 2;
echo "l=$l\n";

./sapi/cli/php add.php
Segmentation fault

I tried that on PLD. On Debian is likely the same result.
 [2015-04-15 21:24 UTC]
-Package: *General Issues +Package: Compile Failure
 [2015-06-01 19:27 UTC] witekfl at gazeta dot pl
When zend_operators.h and zend_operators.c were copied from php-5.5.25, compile was successful. In the patch only asm changes were included. It compiles.
Is it right?
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC