--- Comment #32 from armin at xos dot net 2007-02-19 11:44 ---
Subject: Re: php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit
GCC 4.1.2 produces PHP binary working perfectly fine.
I can see some problems in debug mode, when experimental heap protection is
enabled, but this it should
--- Comment #11 from armin at xos dot net 2007-02-16 08:07 ---
Subject: Re: compile error / segmentation fault / 64bit compiler
Note that you don't need -fno-strict-aliasing with -O, it's the default.
You don't need -mcpu=v9 -m64 -Wa,-xarch=v9 either, it's also the default.
ok. i
at gcc dot gnu dot org
ReportedBy: armin at xos dot net
GCC build triplet: sparcv9-sun-solaris2.9
GCC host triplet: sparcv9-sun-solaris2.9
GCC target triplet: sparcv9-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30819
--- Comment #3 from armin at xos dot net 2007-02-16 12:23 ---
Subject: Re: php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit
You have to do half of the work, i.e. find out which part of the code has been
miscompiled. Could you try with 4.1.2 as Richard suggested?
i used the above
--- Comment #7 from armin at xos dot net 2007-02-16 14:00 ---
(In reply to comment #5)
i used the above cflags and it compiled well. and no segmentation faults
anymore.
I wouldn't personally recommend -fwrapv, this may uncover other problems. On
the contrary, -fno-strict
--- Comment #14 from armin at xos dot net 2007-02-16 18:40 ---
Subject: Re: php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit
Use the Sun tools, read the instructions, build only C/C++.
that's how i did it:
CC=cc -xarch=v9 configure --prefix=/usr/local --enable-languages=c,c++
--enable
--- Comment #20 from armin at xos dot net 2007-02-16 20:04 ---
Subject: Re: php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit
did you set the shell it might be that /bin/sh is no bash but a ksh
and paths might be wrong in any of those...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id
--- Comment #26 from armin at xos dot net 2007-02-16 20:48 ---
Subject: Re: php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit
did you unpack the source
make a directory for the build
go there
and do a ../???/configure xxx
snd not build in the unpacked dir?
maybe you have a strange version
--- Comment #3 from armin at xos dot net 2007-02-12 08:06 ---
Subject: Re: compile error / segmentation fault / 64bit compiler
sorry it's early in the morning ...
sun studio 11: cc: sun C 5.8 2005/10/13
do you need further information? i compiled mysql/apache/perl/...
so far
--- Comment #5 from armin at xos dot net 2007-02-12 14:40 ---
Subject: Re: compile error / segmentation fault / 64bit compiler
Stash.i is attached
i compiled gcc with the above compiler. normal 64bit bootstrapping.
cc - gcc 32 (can create 64bit with -m64) - gcc 32/64 (generates
--- Comment #8 from armin at xos dot net 2007-02-12 22:44 ---
Subject: Re: compile error / segmentation fault / 64bit compiler
i used that information you linked to, but i only got 64bit code with -m64
i needed it by default. i surely could have skipped the last step, but i wanted
my
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: armin at xos dot net
GCC build triplet: sparcv9-sun-solaris2.9
GCC host triplet: sparcv9-sun-solaris2.9
GCC target triplet: sparcv9-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30769
--- Comment #2 from armin at xos dot net 2007-02-12 07:51 ---
Subject: Re: compile error / segmentation fault / 64bit compiler
hi!
the c compiler of gcc version 4.1.1
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-02-12 07:05
---
What compiler did you use
13 matches
Mail list logo