Stack consistency error while compiling 2.0.0-p0
|Status:||Third Party's Issue|
- vm_exec.h (END_INSN): llvm-gcc may optimize out reg_cfp and cause Stack/cfp consistency error when the instruction doesn't use reg_cfp. Usually instructions use PUSH() but for example trace doesn't. This hack cause speed down but you shouldn't use llvm-gcc, use clang. [Bug #7938]
#4 Updated by Yui NARUSE over 2 years ago
- Status changed from Feedback to Third Party's Issue
This sounds because they use Xcode 4.2 with ruby-build which wrongly hacks with CC=cc and it breaks build.
See also https://github.com/sstephenson/ruby-build/issues/290
It will be fixed by ruby-build.
If you don't use ruby-build and not set CC=cc, please comment it.
#5 Updated by Peter Bjorklund over 2 years ago
- File config.log added
naruse (Yui NARUSE) wrote:
Could you show config.log, clang --version, and gcc --version?
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Thread model: posix
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.