Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12545 - Common compiler optimizations and Ruby
Summary: Common compiler optimizations and Ruby
Status: RESOLVED DUPLICATE of bug 8290
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-21 20:34 UTC by Ken Conroy
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Conroy 2002-12-21 20:34:56 UTC
It seems that Ruby is fairly tolerant of compiler optimizations at build-time (I
was able to build with CFLAGS="-march=pentium2 -O3 -pipe -fforce-addr
-falign-functions=4 -ffast-math"  which is clearly pushing the envelope a bit
for a default CFLAGS setting (I'll actually test ruby later when I have some
clue as to how that can be properly done.)

However, one very common optimization recommended as both beneficial and very
safe in the community is -fomit-frame-pointer, which in this causes the build to
fail and does so consistently.

I've been able to build most everything else with this optimization enabled
along with the others listed above, but Ruby would have none of it.  The error
given seemed to change depending upon which other optimizations were enabled,
but invariably the build would fail.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2003-05-03 08:48:14 UTC
Don't we have a ruby team?
Comment 2 Tom Payne (RETIRED) gentoo-dev 2003-05-06 07:03:33 UTC

*** This bug has been marked as a duplicate of 8290 ***