home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / g / help / 1159 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.7 KB

  1. Xref: sparky gnu.g++.help:1159 comp.unix.aix:9090
  2. Path: 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
  3. From: basti@orthogo.uucp (Sebastian Wangnick)
  4. Newsgroups: gnu.g++.help,comp.unix.aix
  5. Subject: Profiling buggy on RS6000 with gcc-2.2.2
  6. Message-ID: <1551@dino.orthogo.uucp>
  7. Date: 26 Aug 92 08:50:31 GMT
  8. Sender: news@orthogo.uucp
  9. Followup-To: gnu.g++.help
  10. Organization: Orthogon System GmbH, Bremen, Germany
  11. Lines: 32
  12. Nntp-Posting-Host: dino
  13.  
  14. Compiling the following program
  15.  
  16.     int main () {return 0;}
  17.  
  18. with
  19.     gcc -pg -v -c minimal.C
  20.  
  21. leads to:
  22. Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix/2.2.2/specs
  23. gcc version 2.2.2
  24.  /usr/local/lib/gcc-lib/rs6000-ibm-aix/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=
  25. 2 -D__GNUG__=2 -D__cplusplus -D_IBMR2 -D_AIX -D___IBMR2__ -D___AIX__ -D___IBMR2
  26. -D___AIX -D__CHAR_UNSIGNED__ minimal.C /tmp/ccWcMDM2.i
  27. GNU CPP version 2.2.2
  28.  /usr/local/lib/gcc-lib/rs6000-ibm-aix/2.2.2/cc1plus /tmp/ccWcMDM2.i -quiet -dum
  29. pbase minimal.cc -version -p -o /tmp/ccWcMDM2.s
  30. GNU C++ version 2.2.2 compiled by GNU C version 2.2.2.
  31.  as -o minimal.o /tmp/ccWcMDM2.s
  32. Assembler:
  33. /tmp/ccWcMDM2.s: line 1: Invalid toc entry within .toc scope
  34. /tmp/ccWcMDM2.s: line 24: Invalid toc entry within .toc scope
  35. /tmp/ccWcMDM2.s: line 30: undefined symbol ".mcount"
  36. /tmp/ccWcMDM2.s: line 30: illegal expression type for branch address
  37.  
  38. Having no call graph available within the gprof output is really a miss.
  39. Is this a problem of the assembler (we have AIX 3.2 with U403044 applied)?
  40.  
  41. -- 
  42. Sebastian Wangnick   Orthogon System GmbH
  43. (basti@orthogo.uucp) Linzer Strasse 4
  44. Tel +49 421 219136   D-2800 Bremen 33
  45. Fax +49 421 213093   Germany
  46.