#39765 [NEW]: cross compiling for arm fails for PHP > 5.1.0
| From: | reto dot galante at solarmax dot com | Date: | Thu, 07 Dec 2006 14:26:44 +0000 |
| Subject: | #39765 [NEW]: cross compiling for arm fails for PHP > 5.1.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106062@lists.php.net to get a copy of this message | ||
From: reto dot galante at solarmax dot com
Operating system: Debian Linux (Sarge)
PHP version: 5.2.0
PHP Bug Type: Compile Failure
Bug description: cross compiling for arm fails for PHP > 5.1.0
Description:
------------
The make of any version of PHP higher than 5.1.0 fails when
cross-compiling for arm (linux) platform.
'make' always fails when it should be building ext/date/lib/astro.lo
Reproduce code:
---------------
./configure --host=arm-unknown-linux-gnu --target=arm-unknown-linux-gnu
--without-pear --disable-libxml --disable-simplexml --disable-xml
--disable-dom --disable-path-info-check --enable-libgcc
--enable-sqlite-utf8 --disable-xmlreader --disable-xmlwriter
--enable-memory-limit --disable-static --with-zlib
...
--includedir=/tmp/apache/usr/lib/include/apache
--oldincludedir=/tmp/apache/usr/lib/include/apache
--infodir=/tmp/apache/man --mandir=/tmp/apache/man
--with-apxs=/tmp/apache/usr/sbin/apxs
make
...
/home/masta/php-5.2.0/ext/date/lib/astro.c: In function
`astro_revolution':
/usr/include/bits/mathinline.h:494: error: impossible constraint in `asm'
make: *** [ext/date/lib/astro.lo] Error 1
Expected result:
----------------
make should build arm-binaries of PHP 5.1.X / 5.2.X
--
Edit bug report at http://bugs.php.net/?id=39765&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39765&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39765&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39765&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39765&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39765&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39765&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39765&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39765&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39765&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39765&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39765&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39765&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39765&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39765&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39765&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39765&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39765&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39765&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39765&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39765&r=mysqlcfg