Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ruby compile segfaults at fileutils.rb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
user124
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 86

PostPosted: Fri Feb 16, 2007 8:01 am    Post subject: [SOLVED] ruby compile segfaults at fileutils.rb Reply with quote

since i think others may have the same problem:

ruby will not compile with -fomit-frame-pointers set in /etc/make.conf
Back to top
View user's profile Send private message
k0001
n00b
n00b


Joined: 12 Jun 2006
Posts: 38

PostPosted: Fri Feb 16, 2007 9:25 am    Post subject: Reply with quote

i got dev-lang/ruby-1.8.5_p2 compiled with this in make.conf:
Code:
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"


without problems.
Back to top
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Fri Feb 16, 2007 10:57 am    Post subject: Reply with quote

Ruby's ebuild:
Code:
src_compile() {
    # -fomit-frame-pointer makes ruby segfault, see bug #150413.
    filter-flags -fomit-frame-pointer
Flag is filtered.
FYI, as opposed what the comment and the bug say, ruby does not segfault, gcc does, and only gcc-3.4.6 on x86/amd64 platforms.

Hth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum