pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PHP 7.1 and compiler requirements

On Thu, May 18, 2017 at 02:01:17PM +0200, J?rn Clausen wrote:
> Minutes after sending the mail, I found the definition in the
> Makefile. I looked around in some other places but missed the obvious
> spot...
> For both NetBSD and Solaris 11 I use x86_64, while for Solaris 10 I
> use i386, that explains the different behavior from pkgsrc's point of
> view.
> FWIW: I simply commented out the part in the Makefile and gave it a
> shot on Solaris 10, and the package built just fine. So either the GCC
> bug is not present on this platform, or things have already changed
> again for PHP 7.1.5. Or because Solaris 10 is actually a 64bit OS, I
> am just compiling 32bit??

It's likely a compiler targetting 32bit on amd64 will have different
optimizations from a native compiler on i386, e.g. it is safe to
assume that SSE,SSE2 exist on amd64.

Home | Main Index | Thread Index | Old Index