Issue #8171 has been reported by fearless_fool (Robert Poor).

----------------------------------------
Backport #8171: build of ruby-2.0.0-p0 fails under Mac OS X 10.8.3
https://bugs.ruby-lang.org/issues/8171

Author: fearless_fool (Robert Poor)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


Compilation of a fresh download of ruby-2.0.0-p0.tar.gz fails while attempting to link miniruby, specifically:

...
compiling ./missing/setproctitle.c
compiling dmyext.c
linking miniruby
.../ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36)

Compilation environment:

MacBook Pro
OS X 10.8.3
Xcode version 4.6.1 with command line tools
gcc version 4.2.1 (Based on Apple Inc. build 5658)

Compilation commands:

$ ./configure --prefix=${INSTALL_DIR} --enable-shared --disable-install-doc --with-opt-dir=${INSTALL_DIR}
$ make

Full details are in https://gist.github.com/rdpoor/5249186



-- 
http://bugs.ruby-lang.org/