pro64-support
[Top] [All Lists]

Re: error in compiling with profiling

To: "Chan, Sun C" <sun.c.chan@xxxxxxxxx>, "A. Cameron Macdonell" <cam@xxxxxxxxxxxxxx>
Subject: Re: error in compiling with profiling
From: mpm@xxxxxxxxxxxxxxxxx (Michael Murphy)
Date: Tue, 17 Apr 2001 11:22:29 -0700 (PDT)
Cc: pro64-support@xxxxxxxxxxx
Sender: owner-pro64-support@xxxxxxxxxxx
        From: "A. Cameron Macdonell" <cam@xxxxxxxxxxxxxx>
        To: "Chan, Sun C" <sun.c.chan@xxxxxxxxx>
        cc: pro64-support@xxxxxxxxxxx
        Subject: error in compiling with profiling
        
        I implemented some instrumentation by modifying the wn_instrument.cxx 
file
        and commenting out the bodies of the instrumentation methods I didn't
        want.  It worked for compiling small C programs consisting of a few 
files
        that I created, but when I tried compiling some SPEC2000 benchmarks,
        specifically mcf and twolf and even equake(1 C file), under NUE I get 
this
        error,
        
        I can't figure out what it means, it seems that it thinks the structure 
is
        invalid.  Even when I take out my instrumentation insertions methods,
        leaving basically empty instrumentation methods I still get the error.
        
        ### Assertion failure at line 219 of ../../be/cg/localize.cxx:
        ### Compiler Error in file pbeampp.c during Localize phase:
        ### didn't find call BB before bb 1 for tn 9
        sgicc INTERNAL
        ERROR:  ../../../pro64/lib/gcc-lib/ia64-sgi-linux/sgicc-1.0//be returned
        non-zero status 1
        make: *** [mcf] Error 1
        
        Thanks,
        Cam
        
        
This probably means that you have an incorrect use of a return register.
The localize phase is run when GRA is not done, and what it does is 
insert spills so that there are no global TNs in the PU.  As part of this,
it checks for uses of physical registers like the parameter and return
registers, and makes sure they are used properly.
-- Mike Murphy
-- mpm@xxxxxxx
-- quote of the day:
--  "To laugh often and much; to win the respect of intelligent people and 
--  the affection of children; to earn the appreciation of honest critics 
--  and endure the betrayal of false friends; to appreciate beauty; 
--  to find the best in others; to leave the world a bit better, 
--  whether by a healthy child, a garden patch or a redeemed social condition;
--  to know even one life has breathed easier because you have lived. 
--  This is to have succeeded."  (Ralph Waldo Emerson)

<Prev in Thread] Current Thread [Next in Thread>