Subject: Re: php4 fails to build on 1.6.2/sparc64
To: Greg Troxel <gdt@ir.bbn.com>
From: Andrey Petrov <petrov@netbsd.org>
List: port-sparc64
Date: 02/13/2004 11:34:57
On Fri, Feb 13, 2004 at 02:16:11PM -0500, Greg Troxel wrote:
>     [gdt is losing with php and 2.95]
> 
>   Yes, gcc3.3.x is significantly better. You can build it either from pkgsrc
>   or from gcc's sources.
> 
> Thanks for the hint.  I built pkgsrc/lang/gcc3 and then did
> 
>   PATH=/usr/pkg/gcc3/bin:$PATH make
> 
> in /usr/pkgsrc/www/php4.
> 
> I probably should rebuild other things if I don't move to -current.
> 
> But, is the ABI really 100% the same, so that it's safe to link php
> against e.g. libc and run it as an apache2 module?  I would hope so
> it seems worth asking.
> 

I beleive so. I started using gcc3 before 1.6 was branched and don't
remember any problems related to that. One thing I forgot to tell
(probably pkgsrc takes care of it) is you need to configure with
 --disable-shared, as shared libgcc can cause problems.

	Andrey