Bug #64729 [NEW]: PHP does not support x32.
| From: | kyle dot leet at gmail dot com | Date: | Sun, 28 Apr 2013 06:36:04 +0000 |
| Subject: | Bug #64729 [NEW]: PHP does not support x32. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-178681@lists.php.net to get a copy of this message | ||
From: kyle dot leet at gmail dot com
Operating system: Gentoo Linux
PHP version: 5.5.0beta4
Package: Compile Failure
Bug Type: Bug
Bug description:PHP does not support x32.
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 bug report at https://bugs.php.net/bug.php?id=64729&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64729&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64729&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64729&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64729&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64729&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64729&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64729&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64729&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64729&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64729&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64729&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64729&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64729&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64729&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64729&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64729&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64729&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64729&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64729&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64729&r=mysqlcfg