Vorländer wrote:
> John E. Malmberg <[EMAIL PROTECTED]> wrote:
>   
>> Thomas Pfau wrote:
>>     
>>> I just snagged a copy to try to build under Simh.  It wouldn't build
>>> with MMS.  I tried again using MMK but it got hung compiling
>>> Ext/Digest/Sha/Sha.c.  It grew to consume all available working set and
>>> then went totally CPU bound - no IO, no faults, nothing, just compute. 
>>> Stayed that way for about an hour before I killed it.  I just started
>>> another build after removing Digest::Sha from the list of builtins.
>>>       
>> That sounds like a known bug in the VAX DECC optimizer, PYTHON on VAX 
>> has a similar problem.  If we can find the offending routine, it may be 
>> possible to put a VAX specific DECC pragma around it to disable 
>> optimization for that routine to fix it.
>>     
> For the time being, a workaround would be to break out of the build,
> compile SHA.C by hand with /NOOPTIMIZE, and restart the build.
> I remember doing exactly that at some time to get perl to build.
>   
I compiled it manually with /NOOPTIMIZE and it completed fairly quickly.

I don't see any #pragma directives that control optimization in the
compiler help.  How do you turn optimization on and off?

Reply via email to