shshankjain / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

x86-darwin9-gcc encoder not bit-exact for gcc-4.2 #170

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The output of `ivfenc --good` for x86-darwin9-gcc does not match other targets. 
Traced this down to compiling vp8/encoder/bitstream.c with -O3. Reducing to -O2 
(on only this file) gives the expected output, as does using gcc-4.0 instead of 
gcc-4.2.

$ gcc-4.0 -v #works

Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc_40/gcc_40-5494~112/src/configure 
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib 
--build=i686-apple-darwin10 --with-arch=apple --with-tune=generic 
--host=i686-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5494)

$ gcc-4.2 -v #busted
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking 
--enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- 
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10 
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)

Original issue reported on code.google.com by jkoles...@google.com on 2 Sep 2010 at 2:57

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:08

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:26