Edit report at https://bugs.php.net/bug.php?id=64729&edit=1

 ID:                 64729
 Updated by:         cataphr...@php.net
 Reported by:        kyle dot leet at gmail dot com
 Summary:            PHP does not support x32.
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Gentoo Linux
 PHP Version:        5.5.0beta4
 Assigned To:        cataphract
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of glo...@nebm.ist.utl.pt
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=514afd67b651bea834bdb84b7685b48e9e56ac21
Log: Fix bug #64729: compilation failure on x32


Previous Comments:
------------------------------------------------------------------------
[2013-04-28 06:36:04] kyle dot leet at gmail dot com

Description:
------------
There's some inline asm in some files for amd64 (an optimization), however 
there's no check for whether it's the correct architecture or not. This results 
in a build failure for x32 as similar defines are used. 

Expected result:
----------------
PHP should probably compile successfully, resulting in usable binaries.

Actual result:
--------------
/var/tmp/portage/dev-lang/php-5.5.0_beta4/work/sapis-build/cli/ext/standard/math.c:
 Assembler messages:
/var/tmp/portage/dev-lang/php-5.5.0_beta4/work/sapis-build/cli/ext/standard/math.c:628:
 Error: incorrect register `%esi' used with `q' suffix
/var/tmp/portage/dev-lang/php-5.5.0_beta4/work/sapis-build/cli/ext/standard/math.c:629:
 Error: incorrect register `%edx' used with `q' suffix
/var/tmp/portage/dev-lang/php-5.5.0_beta4/work/sapis-build/cli/ext/standard/math.c:632:
 Error: incorrect register `%edx' used with `q' suffix
/var/tmp/portage/dev-lang/php-5.5.0_beta4/work/sapis-build/cli/ext/standard/math.c:633:
 Error: incorrect register `%esi' used with `q' suffix



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64729&edit=1

Reply via email to