Roland Mainz wrote:
>
> http://cr.opensolaris.org/~chriszhu/ruby-webrev/usr/src/cmd/ruby18/Makefile.sfw.html
> > RUBY_CFLAGS="-fast -xipo -xtarget=generic"
> 
> Please do _not_ use "-fast". "-fast" is a macro which expands to many
> options, including those who change the representation of the
> floating-point datatypes (which is usually bad (unless you're sure the
> code doesn't rely on some certain floating-point features)) and change
> framepointer stuff on x86 (AFAIK the DTrace people won't like that...).

AFAIK these come from the work done by the performance team while
figuring out build options for CoolStack:
http://src.opensolaris.org/source/xref/webstack/webstack/trunk/src/ruby-1.8.6/make_solaris.sh

(Doesn't necessarily mean it is right.. would like to hear from the
perf team about it though.)

-- 
Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems

Reply via email to