Bug 50842 - gcc-3.2.2_20030205 won't profile
Summary: gcc-3.2.2_20030205 won't profile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-12 02:50 UTC by Klaus-J.Wolf
Modified: 2003-04-14 20:54 UTC (History)
0 users

See Also:


Attachments
0log.verbose (2.12 KB, text/plain)
2003-04-12 02:50 UTC, Klaus-J.Wolf
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus-J.Wolf 2003-04-12 02:50:11 UTC
Given a one-liner as program code, the following compilation instruction
doesn't succeed:

$ gcc32 -fprofile-arcs -o xxx xxx.c                   

/var/tmp//ccGqFanl.o(.stab+0x14): undefined reference to `LPBX0'
collect2: ld returned 1 exit status

The verbose output is attached.
The same make script works under Linux with default gcc-3.2.

Fix: None known. ktrace(1) didn't offer any hint I could understand.
How-To-Repeat: 
I think you can use any program, but I used:

main()
{
  puts("moin.");
}
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-04-12 20:20:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

Over to Maintainer
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2003-04-14 08:57:39 UTC
State Changed
From-To: open->feedback

I just committed (what I believe to be) a fix for this problem (by 
removing another instance of a change that should have been made 
upstream in the first place). 
Would you mind testing whether your problem has been solved now?
Comment 3 Klaus-J.Wolf 2003-04-14 20:47:07 UTC
That works perfectly. Thank you!
Comment 4 Gerald Pfeifer freebsd_committer freebsd_triage 2003-04-14 20:53:39 UTC
State Changed
From-To: feedback->closed

Closed after positive feedback by original submitter. 
Thanks for the quick response!