#39765 [Opn->Fbk]: cross compiling for arm fails for PHP > 5.1.0
| From: | tony2001@php.net | Date: | Thu, 07 Dec 2006 14:35:22 +0000 |
| Subject: | #39765 [Opn->Fbk]: cross compiling for arm fails for PHP > 5.1.0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106063@lists.php.net to get a copy of this message | ||
ID: 39765
Updated by: tony2001@php.net
Reported By: reto dot galante at solarmax dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Debian Linux (Sarge)
PHP Version: 5.2.0
New Comment:
Cannot reproduce.
Did you check the original source of the problem -
/usr/include/bits/mathinline.h ?
Previous Comments:
------------------------------------------------------------------------
[2006-12-07 14:26:44] reto dot galante at solarmax dot com
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 this bug report at http://bugs.php.net/?id=39765&edit=1