Re: [PHP-DEV] GCC 4.4.0

2009-04-26 Thread Sebastian Bergmann
Nuno Lopes schrieb: This particular problem should be fixed now. Let me know if PHP still crashes for you. It is fixed, thanks! -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP

Re: [PHP-DEV] GCC 4.4.0

2009-04-25 Thread Nuno Lopes
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

Re: [PHP-DEV] GCC 4.4.0

2009-04-25 Thread Sebastian Bergmann
Nuno Lopes schrieb: Do you where it's crashing so that I can take a look? http://pastebin.com/m78a01116 -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime

Re: [PHP-DEV] GCC 4.4.0

2009-04-25 Thread Nuno Lopes
Nuno Lopes schrieb: Do you where it's crashing so that I can take a look? http://pastebin.com/m78a01116 This particular problem should be fixed now. Let me know if PHP still crashes for you. Nuno -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] GCC 4.4.0

2009-04-24 Thread Sebastian Bergmann
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 BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/

Re: [PHP-DEV] GCC 4.4.0

2009-04-24 Thread Scott MacVicar
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 -- PHP

Re: [PHP-DEV] GCC 4.4.0

2009-04-24 Thread Sebastian Bergmann
Scott MacVicar schrieb: 64-bit machine? Nope: s...@ubuntu ~ % uname -a Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux s...@ubuntu ~ % /usr/local/gcc/bin/gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with:

Re: [PHP-DEV] GCC 4.4.0

2009-04-24 Thread Pierre Joye
any bug #? On Fri, Apr 24, 2009 at 10:37 AM, Scott MacVicar sc...@macvicar.net wrote: 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.

Re: [PHP-DEV] GCC 4.4.0

2009-04-24 Thread Scott MacVicar
Sebastian Bergmann wrote: Scott MacVicar schrieb: 64-bit machine? Nope: s...@ubuntu ~ % uname -a Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux s...@ubuntu ~ % /usr/local/gcc/bin/gcc -v Using built-in specs. Target:

Re: [PHP-DEV] GCC 4.4.0

2009-04-24 Thread Sebastian Bergmann
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 BergmannCo-Founder and Principal Consultant