View previous topic :: View next topic |
Author |
Message |
user124 Tux's lil' helper
Joined: 02 May 2002 Posts: 86
|
Posted: Fri Feb 16, 2007 8:01 am Post subject: [SOLVED] ruby compile segfaults at fileutils.rb |
|
|
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 |
|
|
k0001 n00b
Joined: 12 Jun 2006 Posts: 38
|
Posted: Fri Feb 16, 2007 9:25 am Post subject: |
|
|
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 |
|
|
neysx Retired Dev
Joined: 27 Jan 2003 Posts: 795
|
Posted: Fri Feb 16, 2007 10:57 am Post subject: |
|
|
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 |
|
|
|