🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #35

Re: RS/6000, AIX 3.2.3, and gcc -pg - fix included

#35
From: Valdis Kletnieks
Date: Mon, 02 Nov 1992 20:56
21 lines
1318 bytes
In article <8891@vtserf.cc.vt.edu> valdis@vttcf.cc.vt.edu (Valdis Kletnieks) writes:
>System: RS/6000 running AIX 3.2.3
>Problem:  Using 'gcc -pg' causes errrors from the assembler.

>The second problem was that the IBM /bin/as doesn't like to see a
>".space" in what it thinks is a ".toc" scope.  The fix for that was to
>generate a ".csect" before .space.

Boy, I feel foolish.

The analysis of the bug was correct.  However, my patch was 
severely brain-dead, and causes the program to go into a loop
when run.  It seems that I got the conditions on the 'if'
wrong, and it ends up putting the .space into the *wrong* csect.

I'll follow-up with a *fixed* patch soon as I figure out all the
intricacies involved.  Foo.

				Valdis Kletnieks
				Computer Systems Engineer
				Virginia Tech
Technical Details
Message-ID: <8967@vtserf.cc.vt.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!vttcf.cc.vt.edu!valdis
References: <8891@vtserf.cc.vt.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!vttcf.cc.vt.edu!valdis
From: valdis@vttcf.cc.vt.edu (Valdis Kletnieks)
Newsgroups: gnu.gcc.bug
Subject: Re: RS/6000, AIX 3.2.3, and gcc -pg - fix included
Message-ID: <8967@vtserf.cc.vt.edu>
Date: 2 Nov 92 20:56:48 GMT
References: <8891@vtserf.cc.vt.edu>
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: Virginia Tech, Blacksburg, VA
Lines: 21
Approved: bug-gcc@prep.ai.mit.edu