php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29956 support for s390 architecture in aclocal.m4 and configure script
Submitted: 2004-09-02 18:47 UTC Modified: 2005-02-16 01:26 UTC
From: mark dot post at eds dot com Assigned: sniper (profile)
Status: Closed Package: Compile Failure
PHP Version: 4CVS, 5CVS (2005-02-14) OS: Linux
Private report: No CVE-ID: None
 [2004-09-02 18:47 UTC] mark dot post at eds dot com
Description:
------------
For some time now, I've been having problems with building PHP on Linux/390.  The Apache module would not build because libtool was having problems.  I finally tracked the problem down to the aclocal.m4 file (and the resulting configure script).

The following patch should be applied to PHP 5.0.0 (and later versions) to enable correct building on Linux/390.

--- aclocal.m4.orig     2004-07-13 15:13:14.000000000 -0400
+++ aclocal.m4  2004-09-02 12:44:12.000000000 -0400
@@ -5315,7 +5315,7 @@
 # This must be Linux ELF.
 linux-gnu*)
   case $host_cpu in
-  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
+  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390*)
     lt_cv_deplibs_check_method=pass_all ;;
   *)
     # glibc up to 2.1.1 does not perform some relocations on ARM





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-14 22:54 UTC] sniper@php.net
I have some patches to commit for libtool which fix this one too.

 [2005-02-15 09:52 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2005-02-16 01:26 UTC] mark dot post at eds dot com
I grabbed php4-STABLE-200502152330.tar.bz2 and php5-STABLE-200502152330.tar.bz2 and compiled them.  This does seem to correct the problem that I reported.

Thanks for following up on this.

Mark Post
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 02:01:31 2024 UTC