php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33226 php 5.0.4 no longer detects endianness when cross-compiling
Submitted: 2005-06-03 02:32 UTC Modified: 2005-06-03 21:40 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: jbparsons at ucdavis dot edu Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 5.0.4 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jbparsons at ucdavis dot edu
New email:
PHP Version: OS:

 

 [2005-06-03 02:32 UTC] 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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-03 08:02 UTC] sniper@php.net
Yes, life is hard sometimes. If you can provide a reliable way to detect endianness when cross-compiling, feel free to send a patch. 
 [2005-06-03 21:40 UTC] jbparsons at ucdavis dot edu
what's wrong with AC_C_BIGENDIAN?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC