Article View: gnu.g++.help
Article #149Profiling buggy on RS6000 with gcc-2.2.2
From: Sebastian Wangnick
Date: Wed, 26 Aug 1992 08:50
Date: Wed, 26 Aug 1992 08:50
32 lines
1721 bytes
1721 bytes
Compiling the following program
int main () {return 0;}
with
gcc -pg -v -c minimal.C
leads to:
Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix/2.2.2/specs
gcc version 2.2.2
/usr/local/lib/gcc-lib/rs6000-ibm-aix/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=
2 -D__GNUG__=2 -D__cplusplus -D_IBMR2 -D_AIX -D___IBMR2__ -D___AIX__ -D___IBMR2
-D___AIX -D__CHAR_UNSIGNED__ minimal.C /tmp/ccWcMDM2.i
GNU CPP version 2.2.2
/usr/local/lib/gcc-lib/rs6000-ibm-aix/2.2.2/cc1plus /tmp/ccWcMDM2.i -quiet -dum
pbase minimal.cc -version -p -o /tmp/ccWcMDM2.s
GNU C++ version 2.2.2 compiled by GNU C version 2.2.2.
as -o minimal.o /tmp/ccWcMDM2.s
Assembler:
/tmp/ccWcMDM2.s: line 1: Invalid toc entry within .toc scope
/tmp/ccWcMDM2.s: line 24: Invalid toc entry within .toc scope
/tmp/ccWcMDM2.s: line 30: undefined symbol ".mcount"
/tmp/ccWcMDM2.s: line 30: illegal expression type for branch address
Having no call graph available within the gprof output is really a miss.
Is this a problem of the assembler (we have AIX 3.2 with U403044 applied)?
--
Sebastian Wangnick Orthogon System GmbH
(basti@orthogo.uucp) Linzer Strasse 4
Tel +49 421 219136 D-2800 Bremen 33
Fax +49 421 213093 Germany
Technical Details
Message-ID:
<1551@dino.orthogo.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!orthogo!orthogo.uucp!bastiShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!orthogo!orthogo.uucp!basti From: basti@orthogo.uucp (Sebastian Wangnick) Newsgroups: gnu.g++.help,comp.unix.aix Subject: Profiling buggy on RS6000 with gcc-2.2.2 Message-ID: <1551@dino.orthogo.uucp> Date: 26 Aug 92 08:50:31 GMT Sender: news@orthogo.uucp Followup-To: gnu.g++.help Organization: Orthogon System GmbH, Bremen, Germany Lines: 32 Nntp-Posting-Host: dino