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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Tue Apr 23 13:01:29 2024 UTC