🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51961

Error when trying to profiling basic blocks

#51961
From: Robert Virding
Date: Mon, 01 Mar 1993 17:03
14 lines
1140 bytes
When trying to get GCC to profiling on basic blocks, with the '-a'
option, I get a ld error:

ld: Undefined symbol 
   mcount 
   ___bb_init_func 
collect: /usr/bin/ld returned 2 exit status

How do I reach this function __bb_init_func? I am using GCC V 2.3.2.

Thanks in advance

		Robert Virding  @ Ellemtel Utvecklings AB, Stockholm
		EMAIL: rv@erix.ericsson.se
Technical Details
Message-ID: <1993Mar1.170302.992@eua.ericsson.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!howland.reston.ans.net!wupost!gumby!yale!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!rv

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,84edfb480e3d3b5c,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-01 18:06:47 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!howland.reston.ans.net!wupost!gumby!yale!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!rv
From: rv@erix.ericsson.se (Robert Virding)
Subject: Error when trying to profiling basic blocks
Message-ID: <1993Mar1.170302.992@eua.ericsson.se>
Sender: news@eua.ericsson.se
Nntp-Posting-Host: renat.eua.ericsson.se
Nntp-Posting-User: rv
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Date: Mon, 1 Mar 1993 17:03:02 GMT
Lines: 14