From:             hunreal at gmail dot com
Operating system: FreeBSD Windows
PHP version:      5.1.1
PHP Bug Type:     *General Issues
Bug description:  Defferent GCC make different result

Description:
------------
Defferent version of GCC make the script different result.

When compile php with gcc2.95, my script got result A.
When compile php with gcc3.4.4 or gcc 4.0.3, my script got result B.

Download php windows binary from php.net, my script got result A.

I was already tried php 5.0.4/5.0.6-CVS/5.1.1.


gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

gcc40 -v
Using built-in specs.
Target: i386-portbld-freebsd4.11
Configured with: ./..//gcc-4.0-20051110/configure --disable-nls
--with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=40
--libdir=/usr/local/lib/gcc/i386-portbld-freebsd4.11/4.0.3
--with-gxx-include-dir=/usr/local/lib/gcc/i386-portbld-freebsd4.11/4.0.3/include/c++/
--disable-shared --prefix=/usr/local i386-portbld-freebsd4.11
Thread model: posix
gcc version 4.0.3 20051110 (prerelease) [FreeBSD]

gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518

Reproduce code:
---------------
http://hshh.org/test.tar.bz2

Expected result:
----------------
Result A:
db7f8466d02744ba96a3b189cd22583646b0aaad2f4486c242f37e1206e5f47413a4087c2d5348e3

Result B:
362ea8a064e8e401302f0ebb079eb9af3e7459630e102d17dad9800b414bce730ca02dbcf1215e1c


-- 
Edit bug report at http://bugs.php.net/?id=35472&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35472&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35472&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35472&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35472&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35472&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35472&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35472&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35472&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35472&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35472&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35472&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35472&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35472&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35472&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35472&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35472&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35472&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35472&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35472&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35472&r=mysqlcfg

Reply via email to