participate


Sun Studio Tools Forum - Optimizer bug.
<<   Back to Forum  |   Give us Feedback
This topic has 1 reply on 1 page.
GAGendel
Posts:5
Registered: 9/13/05
Optimizer bug.   
Jul 29, 2007 6:34 PM

 
I just compiled dovecot 1.0.2 (IMAP mail server) on a SunFire V20z (opteron) platform using Sun Studio Version 12. The result was that the imap process of dovecot ran (functioned) but sucked up all the cpu resources.

So I built a debug version of dovecot to track down the problem, but the debug version behaved properly. So, I played with compiler switches.

-fast -m64 -- eats up cpu
-xO5 -m64 -- runs fine.

Just thought I'd bring it to your attention.

Gary
 
horsh
Posts:63
Registered: 8/4/06
Re: Optimizer bug.   
Jul 29, 2007 6:58 PM (reply 1 of 1)  (In reply to original post )

 
Not neccesary a bug, but thanks anyway.

-fast includes several agresiive optimizations (such as -fsimple=2, or
-xalias_level=basic) which require the user code to follow some rules
or not to depend on the nuances of the semantics.

You can use -# (for cc) or -v (for CC) to check which options are incuded in -fast.
 
This topic has 1 reply on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 29
  • Guests : 132

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums