I experimented a bit with GCC 4.4.0 recently and found out that when
compiled with it and -O2, PHP_5_3 segfaults. -O0 and -O1 are fine.
PHP_5_2 and GCC 4.4.0 is fine at -O2.
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
Sebastian Bergmann wrote:
I experimented a bit with GCC 4.4.0 recently and found out that when
compiled with it and -O2, PHP_5_3 segfaults. -O0 and -O1 are fine.PHP_5_2 and GCC 4.4.0 is fine at -O2.
64-bit machine?
There is a known issue with 4.3.0 on 64-bit amd.
Scott
Scott MacVicar schrieb:
64-bit machine?
Nope:
sb@ubuntu ~ % uname -a
Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC
2009 i686 GNU/Linux
sb@ubuntu ~ % /usr/local/gcc/bin/gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr/local/gcc
--enable-languages=c,c++
Thread model: posix
gcc version 4.4.0 (GCC)
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
Sebastian Bergmann wrote:
Scott MacVicar schrieb:
64-bit machine?
Nope:
sb@ubuntu ~ % uname -a
Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC
2009 i686 GNU/Linuxsb@ubuntu ~ % /usr/local/gcc/bin/gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr/local/gcc
--enable-languages=c,c++
Thread model: posix
gcc version 4.4.0 (GCC)
Can you set your cflags to -fno-strict-aliasing and try again. This
resolved the issue with the previous report.
It was bug #47730
Scott
Scott MacVicar schrieb:
Can you set your cflags to -fno-strict-aliasing and try again. This
resolved the issue with the previous report.
Adding -fno-strict-aliasing to CFLAGS works around the issue, yes.
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
Scott MacVicar schrieb:
Can you set your cflags to -fno-strict-aliasing and try again. This
resolved the issue with the previous report.Adding -fno-strict-aliasing to CFLAGS works around the issue, yes.
Wow, this is terrible news, as -fno-strict-aliasing usually degrades
performance by a considerable amount.
Do you where it's crashing so that I can take a look?
Nuno
Nuno Lopes schrieb:
Do you where it's crashing so that I can take a look?
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
Nuno Lopes schrieb:
Do you where it's crashing so that I can take a look?
This particular problem should be fixed now. Let me know if PHP still
crashes for you.
Nuno
Nuno Lopes schrieb:
This particular problem should be fixed now. Let me know if PHP still
crashes for you.
It is fixed, thanks!
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/ http://thePHP.cc/
any bug #?
Sebastian Bergmann wrote:
I experimented a bit with GCC 4.4.0 recently and found out that when
compiled with it and -O2, PHP_5_3 segfaults. -O0 and -O1 are fine.PHP_5_2 and GCC 4.4.0 is fine at -O2.
64-bit machine?
There is a known issue with 4.3.0 on 64-bit amd.
Scott
--
--
Pierre