🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #859

g++-2.2.2 profiling problem

#859
From: Ethan V. Munson
Date: Fri, 21 Aug 1992 16:39
34 lines
2135 bytes
I sent this bug report to bug-gcc by mistake.

Ethan Munson
munson@cs.berkeley.edu

----------------------------------------
Compiler: g++-2.2.2 (using LibG++ 2.1)
Machine: SparcStation 2 running SunOS 4.1.2

Problem: Can't link when profiling

Description:

When performing the final link step on our large program we get
complaints from /usr/bin/ld that it can't find a number of symbols.
These symbols all match the regular expression:

	LB[BE][1-9][0-9]

For example, LBB29 and LBE29.  These symbols always come in pairs like
this.

They look like compiler-generated symbols to me and do not appear in
any of our own code.

Our final link command is:

/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
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!
 -lX11


Ethan Munson
munson@cs.berkeley.edu
Technical Details
Message-ID: <9208211639.AA12676@acacia.CS.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!acacia.cs.berkeley.edu!munson

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!acacia.cs.berkeley.edu!munson
From: munson@acacia.cs.berkeley.edu (Ethan V. Munson)
Subject: g++-2.2.2 profiling problem
Message-ID: <9208211639.AA12676@acacia.CS.Berkeley.EDU>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 21 Aug 1992 16:39:20 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 34