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
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: mark dot post at eds dot com
New email:
PHP Version: OS:

 

 [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: Mon May 27 23:01:30 2024 UTC