ID: 40735 Updated by: [EMAIL PROTECTED] Reported By: rodricg at sellingsource dot com Status: Feedback Bug Type: Streams related Operating System: x86_64 GNU/Linux PHP Version: 5CVS-2007-03-05 (snap) New Comment:
I have a x86(-32) gentoo box with the same gcc version as you and your script works perfectly. anyway if this is a compiler error, you need report it to gentoo guys, that will then investigate to see if it is caused by their patchset or not. Previous Comments: ------------------------------------------------------------------------ [2007-03-13 19:24:05] [EMAIL PROTECTED] Still works perfectly fine with or without OpenSSL, with and without -O2. I think I'll need an acccount on your machine to reproduce it. ------------------------------------------------------------------------ [2007-03-13 16:26:40] rodricg at sellingsource dot com The following script reproduces the behavior (for me): http://11434.com/stream_select.sh Changing -O2 to -O1 or removing --with-openssl fixes the problem. gcc version 4.1.2 openssl version 0.9.8d ------------------------------------------------------------------------ [2007-03-13 11:05:36] [EMAIL PROTECTED] I still have no idea how to replicate it. ------------------------------------------------------------------------ [2007-03-12 16:54:41] rodricg at sellingsource dot com Same behavior with gcc 4.1.2. I'm chalking this up to gcc optimization and will compile with -O1 for now. ------------------------------------------------------------------------ [2007-03-06 21:14:57] [EMAIL PROTECTED] Try with GCC 4.1.2. GCC 4.1.1 is known to have some problems. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40735 -- Edit this bug report at http://bugs.php.net/?id=40735&edit=1
