[bug-notifications] [ruby18 0004897]: ruby 18 on sparc poorly optimized

Mantis Bug Tracker noreply at opencsw.org
Tue Feb 14 01:59:11 CET 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4897 
====================================================================== 
Reported By:                phil
Assigned To:                bwalton
====================================================================== 
Project:                    ruby18
Issue ID:                   4897
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2012-02-13 20:49 CET
Last Modified:              2012-02-14 01:59 CET
====================================================================== 
Summary:                    ruby 18 on sparc poorly optimized
Description: 
On the same sparc machine, on solaris 10, running the same test
(http://www.thebuzzmedia.com/ruby-19-quick-speed-test/)
takes 3 times as long as a locally compiled ruby.
====================================================================== 

---------------------------------------------------------------------- 
 (0009605) bwalton (administrator) - 2012-02-14 01:59
 https://www.opencsw.org/mantis/view.php?id=4897#c9605 
---------------------------------------------------------------------- 
Looks like libm.so.1 pulls in libm.so.2:

   object=/lib/libm.so.1; filter for libm.so.2

   find object=libm.so.2; required by /lib/libm.so.1
    search path=/lib:/usr/lib  (configuration default - /var/ld/ld.config)
    trying path=/lib/libm.so.2
        libm.so.2 =>     /lib/libm.so.2

I'm going to rebuild with O2 and sos12.  We'll see if that speeds things
up.

Not sure if your gcc deploy comment is indicating that you're locally
targetting gcc or that the default rbconfig.rb targets gcc.  The intent of
the package is to target sunpro unless ruby18_gcc is installed.  If that
package is installed, the alternative for rbconfig.rb.gcc4 is of higher
precedence than .sos as people that install that package most likely want
to build gems without sos.



More information about the bug-notifications mailing list