"Ronald S. Bultje" <[email protected]> writes: > Hi, > > On Tue, Mar 20, 2012 at 2:42 AM, Martin Storsjö <[email protected]> wrote: >> On Tue, 20 Mar 2012, Gil Pedersen wrote: >> >>> On 20/03/2012, at 01.37, Luca Barbato wrote: >>> >>>> On 19/03/12 16:43, Måns Rullgård wrote: >>>> >>>>> From my point of view, OSX is fringe. Besides, we have plain C code >>>>> too. >>>>> The speed difference is not staggering. >>>> >>>> >>>> If it isn't we might try to simplify it by checking that construct is >>>> supported and leave unsupported compilers out. >>>> >>>> I guess we could make 100% sure brew, gentoo-prefix and every other >>>> offset-distro provide a compiler working for the target and just add a >>>> big warning and point on the safe compiler they could use if they need >>>> this additional bit of speed. >>> >>> >>> From the discussion this sounds like a llvm specific bug. On OS X the >>> default gcc compiler uses a llvm backend for the compilation, as can be seen >>> from --version >>> >>> $ gcc --version >>> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build >>> 5658) (LLVM build 2336.9.00) >>> >>> However we still have a pure gcc compiler in gcc-4.2: >>> >>> $ gcc-4.2 --version >>> i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) >>> >>> I expect compiles will still work using the latter. >> >> >> On OS X 10.6, the latter is still the default: >> >> $ gcc --version >> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) >> >> With this compiler and the patch in >> http://lists.libav.org/pipermail/libav-devel/2012-February/023084.html, I >> get the same compile errors as Ronald showed in that mail. > > bash-3.2$ /Developer/usr/bin/i686-apple-darwin10-gcc-4.2.1 -v > Using built-in specs. > Target: i686-apple-darwin10 > Configured with: /var/tmp/gcc/gcc-5664~105/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) > > Just to make things clear. This issue is still outstanding. My patch > fixes it and has no practical negative side effects.
The only thing clear here is your complete refusal to help figure out what really is going on. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
