Forum: Ruby-core [ruby-trunk - Bug #7938][Open] Stack consistency error while compiling 2.0.0-p0

Posted by Piot (Peter Bjorklund) (Guest)
on 2013-02-24 10:52
(Received via mailing list)
Issue #7938 has been reported by Piot (Peter Bjorklund).

----------------------------------------
Bug #7938: Stack consistency error while compiling 2.0.0-p0
https://bugs.ruby-lang.org/issues/7938

Author: Piot (Peter Bjorklund)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 1.9.3p286


./configure

make
Posted by naruse (Yui NARUSE) (Guest)
on 2013-02-24 13:48
(Received via mailing list)
Issue #7938 has been updated by naruse (Yui NARUSE).

Status changed from Open to Feedback
Assignee set to mrkn (Kenta Murata)
Priority changed from Urgent to Normal

Could you show config.log, clang --version, and gcc --version?
----------------------------------------
Bug #7938: Stack consistency error while compiling 2.0.0-p0
https://bugs.ruby-lang.org/issues/7938#change-36919

Author: Piot (Peter Bjorklund)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category:
Target version:
ruby -v: 1.9.3p286


./configure

make
Posted by mrkn (Kenta Murata) (Guest)
on 2013-02-24 16:45
(Received via mailing list)
Issue #7938 has been updated by mrkn (Kenta Murata).

ruby -v changed from 1.9.3p286 to 2.0.0p0

I cannot reproduce it with gcc 4.2.1 (Apple Inc. build 5666) and clang 
4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn) on darwin 
12.2.0.

----------------------------------------
Bug #7938: Stack consistency error while compiling 2.0.0-p0
https://bugs.ruby-lang.org/issues/7938#change-36943

Author: Piot (Peter Bjorklund)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category:
Target version:
ruby -v: 2.0.0p0


./configure

make
Posted by etehtsea (Konstantin Shabanov) (Guest)
on 2013-02-24 16:56
(Received via mailing list)
Issue #7938 has been updated by etehtsea (Konstantin Shabanov).


I've got the same with
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 
5658) (LLVM build 2336.11.00)
----------------------------------------
Bug #7938: Stack consistency error while compiling 2.0.0-p0
https://bugs.ruby-lang.org/issues/7938#change-36945

Author: Piot (Peter Bjorklund)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category:
Target version:
ruby -v: 2.0.0p0


./configure

make
Posted by naruse (Yui NARUSE) (Guest)
on 2013-02-24 18:50
(Received via mailing list)
Issue #7938 has been updated by naruse (Yui NARUSE).

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.
----------------------------------------
Bug #7938: Stack consistency error while compiling 2.0.0-p0
https://bugs.ruby-lang.org/issues/7938#change-36949

Author: Piot (Peter Bjorklund)
Status: Third Party's Issue
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category:
Target version:
ruby -v: 2.0.0p0


./configure

make
Posted by Piot (Peter Bjorklund) (Guest)
on 2013-02-26 23:40
(Received via mailing list)
Issue #7938 has been updated by Piot (Peter Bjorklund).

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)
Target: x86_64-apple-darwin12.2.0
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.

----------------------------------------
Bug #7938: Stack consistency error while compiling 2.0.0-p0
https://bugs.ruby-lang.org/issues/7938#change-37117

Author: Piot (Peter Bjorklund)
Status: Third Party's Issue
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category:
Target version:
ruby -v: 2.0.0p0


./configure

make
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.