Project

General

Profile

Actions

Bug #7938

closed

Stack consistency error while compiling 2.0.0-p0

Added by Piot (Peter Bjorklund) over 11 years ago. Updated over 11 years ago.

Status:
Third Party's Issue
Target version:
-
ruby -v:
2.0.0p0
Backport:
[ruby-core:52795]

Description

./configure

make


Files

linking miniruby.txt (2.99 KB) linking miniruby.txt Piot (Peter Bjorklund), 02/24/2013 06:43 PM
config.log (733 KB) config.log Piot (Peter Bjorklund), 02/27/2013 07:29 AM

Related issues 1 (0 open1 closed)

Related to Backport193 - Backport #7946: 1.9.3-p385以降でclangでのビルド時にエラー(error: implicit conversion loses integer precision)Closedusa (Usaku NAKAMURA)02/25/2013Actions

Updated by naruse (Yui NARUSE) over 11 years ago

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

Could you show config.log, clang --version, and gcc --version?

Updated by mrkn (Kenta Murata) over 11 years ago

  • 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.

Updated by etehtsea (Konstantin Shabanov) over 11 years ago

I've got the same error with
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

Updated by naruse (Yui NARUSE) over 11 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.

Updated by Piot (Peter Bjorklund) over 11 years ago

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0