[Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit

2007-02-19 Thread armin at xos dot net
--- 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

[Bug target/30769] compile error / segmentation fault / 64bit compiler

2007-02-16 Thread armin at xos dot net
--- 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

[Bug c/30819] New: php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit

2007-02-16 Thread armin at xos dot net
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

[Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit

2007-02-16 Thread armin at xos dot net
--- 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

[Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit

2007-02-16 Thread armin at xos dot net
--- 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

[Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit

2007-02-16 Thread armin at xos dot net
--- 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

[Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit

2007-02-16 Thread armin at xos dot net
--- 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

[Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit

2007-02-16 Thread armin at xos dot net
--- 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

[Bug c/30769] compile error / segmentation fault / 64bit compiler

2007-02-12 Thread armin at xos dot net
--- 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

[Bug c/30769] compile error / segmentation fault / 64bit compiler

2007-02-12 Thread armin at xos dot net
--- 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

[Bug c/30769] compile error / segmentation fault / 64bit compiler

2007-02-12 Thread armin at xos dot net
--- 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

[Bug c/30769] New: compile error / segmentation fault / 64bit compiler

2007-02-11 Thread armin at xos dot net
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

[Bug c/30769] compile error / segmentation fault / 64bit compiler

2007-02-11 Thread armin at xos dot net
--- 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