Bug #66103 [NEW]: Cross-compiling not supported

From: Date: Fri, 15 Nov 2013 20:13:32 +0000
Subject: Bug #66103 [NEW]: Cross-compiling not supported
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182782@lists.php.net to get a copy of this message
From:             rmarku at gmail dot com
Operating system: Linux
PHP version:      5.5.6
Package:          opcache
Bug Type:         Bug
Bug description:Cross-compiling not supported

Description:
------------
Cross-compiling not supported

I'm trying to cross-compile PHP 5.5.6 with OpenWRT buildroot. If I
disable OPcache, everything goes well.
with OPcache enabled, configure hangs with this error.

...
checking for mcrypt_module_open in -lmcrypt... yes
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes, shared
checking for specified location of the MySQL UNIX socket... no
checking for mysql_close in -lmysqlclient... yes
checking for MySQL UNIX socket location... no
checking for MySQLi support... yes, shared
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... yes
checking for mysql_set_character_set in -lmysqlclient... yes
checking for mysql_stmt_next_result in -lmysqlclient... no
checking for Oracle Database OCI8 support... no
checking whether to enable Zend OPcache support... yes
checking for mprotect... yes
checking for sysvipc shared memory support... no
checking for mmap() using MAP_ANON shared memory support... no
checking for mmap() using /dev/zero shared memory support... no
checking for mmap() using shm_open() shared memory support... no
checking for mmap() using regular file shared memory support... no
checking "whether flock struct is linux ordered"... configure: error: in
`/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.5.6':
configure: error: cannot run test program while cross compiling
See `config.log' for more details



-- 
Edit bug report at https://bugs.php.net/bug.php?id=66103&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66103&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66103&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66103&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66103&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66103&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66103&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66103&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66103&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66103&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66103&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66103&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66103&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66103&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66103&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66103&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66103&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66103&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66103&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66103&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66103&r=mysqlcfg



Thread (8 messages)

« previous php.bugs (#182782) next »