home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / gcc / bug / 2151 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.9 KB  |  42 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!acacia.cs.berkeley.edu!munson
  3. From: munson@acacia.cs.berkeley.edu (Ethan V. Munson)
  4. Subject: g++-2.2.2 profiling problem
  5. Message-ID: <9208191656.AA07546@acacia.CS.Berkeley.EDU>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Wed, 19 Aug 1992 16:56:50 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 28
  12.  
  13. Compiler: g++-2.2.2 (using LibG++ 2.1)
  14. Machine: SparcStation 2 running SunOS 4.1.2
  15.  
  16. Problem: Can't link when profiling
  17.  
  18. Description:
  19.  
  20. When performing the final link step on our large program we get
  21. complaints from /usr/bin/ld that it can't find a number of symbols.
  22. These symbols all match the regular expression:
  23.  
  24.     LB[BE][1-9][0-9]
  25.  
  26. For example, LBB29 and LBE29.  These symbols always come in pairs like
  27. this.
  28.  
  29. They look like compiler-generated symbols to me and do not appear in
  30. any of our own code.
  31.  
  32. Our final link command is:
  33.  
  34. /usr/sww/bin/g++-2.2.2   -g -DTRACE -DDEBUG -pg -static  -Wimplicit -Wreturn-type -Wswitch    -o LDObj.sun4/ensemble main/LDObj.sun4/test5.o view/LDObj.sun4/libview.a exl/glue/LDObj.sun4/libglue.a exl/types/LDObj.sun4/libxtypes.a exl/misc/LDObj.sun4/libxmisc.a  doc/LDObj.sun4/libdoc.a  io/LDObj.sun4/libio.a  texted/LDObj.sun4/libtexted.a  supered/LDObj.sun4/libsupered.a  dispatch/LDObj.sun4/libdispatch.a  view/LDObj.sun4/libview.a  pres/LDObj.sun4/libpres.a  realize/LDObj.sun4/librealize.a  struct/LDObj.su
  35. n4/libstruct.a  textbuf/LDObj.sun4/libtextbuf.a  textform/LDObj.sun4/libtextform.a  textrender/LDObj.sun4/libtextrender.a  location/LDObj.sun4/liblocation.a  repman/LDObj.sun4/librepman.a  ecp/LDObj.sun4/libecp.a  uspec/LDObj.sun4/libuspec.a  vtree/LDObj.sun4/libvtree.a  font/LDObj.sun4/libfont.a  common/LDObj.sun4/libcommon.a doc/LDObj.sun4/libdoc.a ecp/LDObj.sun4/libecp.a -lgsR4 -L.  -L/home/auspex/d/ensemble/lib -L/usr/sww/X11R4/lib -L/usr/sww/lib -lg++-2_1 -lm -lXm -lXt!
  36.  -lX11
  37.  
  38.  
  39. Ethan Munson
  40. munson@cs.berkeley.edu
  41.  
  42.