Article View: gnu.g++.bug
Article #162-p or -pg option causes ld to complain about LBEnn symbols being undefined
From: Walter E. Gillett
Date: Fri, 24 Jul 1992 22:19
Date: Fri, 24 Jul 1992 22:19
30 lines
1353 bytes
1353 bytes
Hi, Folks
This probably isn't a bug, but I couldn't find any reference to it in the
info files and I haven't seen a gcc or g++ faq. (does it exist?) Anyway, I've
got gcc-2.2.2 configured for a sun4. I'm trying to do some profiling of my app.
When I link, I get:
g++ -pg -o module module.o ../util/libSPModule.a
Undefined
LBE50
LBB50
LBE40
LBB40
LBE51
LBB51
LBE41
LBB41
LBE52
...
collect: /usr/bin/ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `module'
What am I doing wrong?
p.s. Does the default sun4 config use gas and gnu ld? I've got them on my
system but am not sure if they're being used in this case.
---------------------------------------------------------------
Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
Please send replies to: joe@ConSolve.com or gillett@ai.mit.edu
Technical Details
Message-ID:
<25837@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rice-chex.ai.mit.edu!gillettShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rice-chex.ai.mit.edu!gillett From: gillett@rice-chex.ai.mit.edu (Walter E. Gillett) Subject: -p or -pg option causes ld to complain about LBEnn symbols being undefined Message-ID: <25837@life.ai.mit.edu> Keywords: n Sender: gnulists@ai.mit.edu Organization: MIT Artificial Intelligence Lab Distribution: gnu Date: Fri, 24 Jul 1992 22:19:16 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 31