rubinius 2.2.4 compile issue #2920

Closed
wtn opened this Issue Feb 5, 2014 · 20 comments

Comments

Projects
None yet
9 participants
@wtn

wtn commented Feb 5, 2014

I am experiencing a crash:

1: LD vm/vm
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
/Users/wtn/.gem/ruby/2.1.0/gems/rubinius-melbourne-2.0.1.0/lib/rubinius/melbourne/melbourne.bundle: [BUG] Segmentation fault at 0x00000000000438
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]
@wtn

This comment has been minimized.

Show comment Hide comment
@wtn

wtn Feb 5, 2014

When compiling with rubinius it did work and all the tests passed, although I did still see the message:

ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame

You may close this issue if desired.

wtn commented Feb 5, 2014

When compiling with rubinius it did work and all the tests passed, although I did still see the message:

ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame

You may close this issue if desired.

@YorickPeterse

This comment has been minimized.

Show comment Hide comment
@YorickPeterse

YorickPeterse Feb 5, 2014

Owner

What version of OS X are you running, and are you compiling using gcc or clang?

Owner

YorickPeterse commented Feb 5, 2014

What version of OS X are you running, and are you compiling using gcc or clang?

@wtn

This comment has been minimized.

Show comment Hide comment
@wtn

wtn Feb 5, 2014

I am on OS X 10.9.1 and compiling with the clang that gets auto-downloaded at install time. I am specifying clang to my configure script:

export PATH=/usr/local/ruby-2.1.0p0/bin:$$PATH \
&& cd source/rubinius-2.2.4 \
&& ruby ./configure  --cc=clang --cxx=clang++ --with-include-dir=/usr/local/my_project/dependencies --with-lib-dir=/usr/local/my_project/dependencies --with-opt-dir=/usr/local/my_project/dependencies --prefix=/usr/local/my_project/rbx \
&& rake

Notably, that dependencies directory includes my own compiled versions of:

libiconv-1.14
zlib-1.2.8
openssl-1.0.1f (darwin64-x86_64-cc)
readline-6.0
libxml2-2.9.1
yaml-0.1.4

Now that you bring up gcc, I do also have a prerelease gcc in my path. However, /usr/bin/gcc is first in my path, and it is the Apple clang (imposter gcc) that comes with Xcode.

wtn commented Feb 5, 2014

I am on OS X 10.9.1 and compiling with the clang that gets auto-downloaded at install time. I am specifying clang to my configure script:

export PATH=/usr/local/ruby-2.1.0p0/bin:$$PATH \
&& cd source/rubinius-2.2.4 \
&& ruby ./configure  --cc=clang --cxx=clang++ --with-include-dir=/usr/local/my_project/dependencies --with-lib-dir=/usr/local/my_project/dependencies --with-opt-dir=/usr/local/my_project/dependencies --prefix=/usr/local/my_project/rbx \
&& rake

Notably, that dependencies directory includes my own compiled versions of:

libiconv-1.14
zlib-1.2.8
openssl-1.0.1f (darwin64-x86_64-cc)
readline-6.0
libxml2-2.9.1
yaml-0.1.4

Now that you bring up gcc, I do also have a prerelease gcc in my path. However, /usr/bin/gcc is first in my path, and it is the Apple clang (imposter gcc) that comes with Xcode.

@joaohornburg

This comment has been minimized.

Show comment Hide comment
@joaohornburg

joaohornburg Mar 17, 2014

I'm having the same issue. rbenv install rbx-2.2.1 gives me the same error.

I'm having the same issue. rbenv install rbx-2.2.1 gives me the same error.

@YorickPeterse

This comment has been minimized.

Show comment Hide comment
@YorickPeterse

YorickPeterse Mar 17, 2014

Owner

@joaohornburg Rbx 2.2.1 is a bit dated by now, could you try release 2.2.6?

Owner

YorickPeterse commented Mar 17, 2014

@joaohornburg Rbx 2.2.1 is a bit dated by now, could you try release 2.2.6?

@joaohornburg

This comment has been minimized.

Show comment Hide comment
@joaohornburg

joaohornburg Mar 17, 2014

I've tried 2.2.5. Same error. Used MRI to compile it.

I've tried 2.2.5. Same error. Used MRI to compile it.

@jc00ke

This comment has been minimized.

Show comment Hide comment
@jc00ke

jc00ke Mar 17, 2014

Owner

@joaohornburg what about 2.2.6?

Owner

jc00ke commented Mar 17, 2014

@joaohornburg what about 2.2.6?

@YorickPeterse

This comment has been minimized.

Show comment Hide comment
@YorickPeterse

YorickPeterse Mar 17, 2014

Owner

Perhaps this is related to #2978 ?

Owner

YorickPeterse commented Mar 17, 2014

Perhaps this is related to #2978 ?

@brixen

This comment has been minimized.

Show comment Hide comment
@brixen

brixen Mar 18, 2014

Owner

I don't see any relation to #2978.

@joaohornburg please try building from a fresh clone with no specially built dependencies:

git clone --depth 1 git://github.com/rubinius/rubinius
./configure
rake
Owner

brixen commented Mar 18, 2014

I don't see any relation to #2978.

@joaohornburg please try building from a fresh clone with no specially built dependencies:

git clone --depth 1 git://github.com/rubinius/rubinius
./configure
rake
@zishe

This comment has been minimized.

Show comment Hide comment
@zishe

zishe Apr 3, 2014

+1

zishe commented Apr 3, 2014

+1

@zacksiri

This comment has been minimized.

Show comment Hide comment
@zacksiri

zacksiri Apr 11, 2014

  • 1
  • 1
@brixen

This comment has been minimized.

Show comment Hide comment
@brixen

brixen Apr 12, 2014

Owner

@zishe and @zacksiri I don't understand your comments, please use words.

Owner

brixen commented Apr 12, 2014

@zishe and @zacksiri I don't understand your comments, please use words.

@zacksiri

This comment has been minimized.

Show comment Hide comment
@zacksiri

zacksiri Apr 13, 2014

having the same problem as mentioned in the issue.

Thank You
Zack Siri

On Apr 13, 2014, at 6:59 AM, Brian Shirai notifications@github.com wrote:

@zishe and @zacksiri I don't understand your comments, please use words.


Reply to this email directly or view it on GitHub.

having the same problem as mentioned in the issue.

Thank You
Zack Siri

On Apr 13, 2014, at 6:59 AM, Brian Shirai notifications@github.com wrote:

@zishe and @zacksiri I don't understand your comments, please use words.


Reply to this email directly or view it on GitHub.

@tlossen

This comment has been minimized.

Show comment Hide comment
@tlossen

tlossen Apr 13, 2014

when i run rbenv install rbx-2.2.5 on osx 10.9.2, i have a similar problem:

ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
rake aborted!
NameError: uninitialized constant Rubinius::ToolSets

tlossen commented Apr 13, 2014

when i run rbenv install rbx-2.2.5 on osx 10.9.2, i have a similar problem:

ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
rake aborted!
NameError: uninitialized constant Rubinius::ToolSets
@tmornini

This comment has been minimized.

Show comment Hide comment
@tmornini

tmornini Apr 13, 2014

Contributor

@tlossen I was able to build rbx-2.2.6 on 10.9.2 with just Xcode tools installed using rbenv and ruby-build, but I had to run:

rbenv shell 2.1.1

And I probably ran:

rbenv rehash

before:

rbenv install rbx-2.2.6
Contributor

tmornini commented Apr 13, 2014

@tlossen I was able to build rbx-2.2.6 on 10.9.2 with just Xcode tools installed using rbenv and ruby-build, but I had to run:

rbenv shell 2.1.1

And I probably ran:

rbenv rehash

before:

rbenv install rbx-2.2.6
@tlossen

This comment has been minimized.

Show comment Hide comment
@tlossen

tlossen Apr 14, 2014

@tmornini thanks, that worked for me as well! only had to update homebrew and install a current ruby-build.

tlossen commented Apr 14, 2014

@tmornini thanks, that worked for me as well! only had to update homebrew and install a current ruby-build.

@tmornini

This comment has been minimized.

Show comment Hide comment
@tmornini

tmornini Apr 14, 2014

Contributor

@tlossen You're welcome!

Contributor

tmornini commented Apr 14, 2014

@tlossen You're welcome!

@YorickPeterse

This comment has been minimized.

Show comment Hide comment
@YorickPeterse

YorickPeterse May 22, 2014

Owner

@wtn Are you still experiencing this issue?

Owner

YorickPeterse commented May 22, 2014

@wtn Are you still experiencing this issue?

@YorickPeterse

This comment has been minimized.

Show comment Hide comment
@YorickPeterse

YorickPeterse Feb 18, 2015

Owner

What's the status of this, do these problems still occur when using Rubinius 2.5.2?

Owner

YorickPeterse commented Feb 18, 2015

What's the status of this, do these problems still occur when using Rubinius 2.5.2?

@YorickPeterse

This comment has been minimized.

Show comment Hide comment
@YorickPeterse

YorickPeterse Jan 29, 2016

Owner

Closing this due to the lack of feedback since my last reply and since quite a lot has changed since Rubinius 2.2. Feel free to re-open if the problem persists when using the latest version of Rubinius.

Owner

YorickPeterse commented Jan 29, 2016

Closing this due to the lack of feedback since my last reply and since quite a lot has changed since Rubinius 2.2. Feel free to re-open if the problem persists when using the latest version of Rubinius.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment