From: "NARUSE, Yui" Date: 2011-10-28T09:37:28+09:00 Subject: [ruby-core:40473] Re: cfp consistency error 2011/10/28 Aaron Patterson : > On Thu, Oct 27, 2011 at 10:46:10AM +0900, nagachika wrote: >> Which compiler did you use to build ruby? > > [aaron@higgins ruby (08b3d47...)]$ gcc -v > Using built-in specs. > Target: i686-apple-darwin11 > Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 > Thread model: posix > gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) > >> Though I can't reproduce in my environment, I guess it is related to >> deleted workaround for llvm at r33408. >> Could you try with reverting r33408? > > The problem started happening at revision r33419. �However, if I revert > r33408, everything works again. :( > > I will revert r33408 and commit. llvm-gcc is not supported because it is too buggy and no future. (This is the last release to support the llvm-gcc frontend http://llvm.org/releases/2.9/docs/ReleaseNotes.html#additionalinfo ) Please use GNU GCC or try LLVM/Clang. Anyway in my experience, LLVM has some over optimization problem. So ruby needs some hacks like r33408 or r32201. -- NARUSE, Yui �