#33226 [Opn->WFx]: php 5.0.4 no longer detects endianness when cross-compiling

From: Date: Fri, 03 Jun 2005 06:02:33 +0000
Subject: #33226 [Opn->WFx]: php 5.0.4 no longer detects endianness when cross-compiling
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79835@lists.php.net to get a copy of this message
ID: 33226 Updated by: sniper@php.net Reported By: jbparsons at ucdavis dot edu -Status: Open +Status: Wont fix -Bug Type: *Compile Issues +Bug Type: Compile Failure Operating System: linux PHP Version: 5.0.4 New Comment: Yes, life is hard sometimes. If you can provide a reliable way to detect endianness when cross-compiling, feel free to send a patch. Previous Comments: ------------------------------------------------------------------------ [2005-06-03 02:32:18] jbparsons at ucdavis dot edu Description: ------------ php 5.0.3 and earlier used AC_C_BIGENDIAN during configuration to detect the endianness of the target system. This autoconf macro is capable of detecting the endianness of many systems even when cross-compiling. php 5.0.4 now uses AC_TRY_RUN instead, which means that it is no longer able to detect the endianness of a target, and it must instead be configured manually. This makes it harder to configure php correctly when building for embedded systems, such as the Linksys nslu2, where this problem was noticed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33226&edit=1

« previous php.bugs (#79835) next »