🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #832

Re: gcc on aix/ps2 (really a problem with aix dbx debugging info)

#832
From: Minh Tran-Le
Date: Wed, 29 Nov 1989 17:10
33 lines
1571 bytes
> From: slavin@ringo.cns.vt.edu (Scott J Slavin)
> To: bug-gcc@prep.ai.mit.edu
> Hi,
> 
> I'm in the processes of installing gcc version 1.36 on a
> PS/2 Model 80 running AIX 1.1.  
> 
> It compiles fine using AIX's cc, but when I go and make
> stage1, the gnu compiler gives me something to the effect:
> 
> .stab[77]
> ^_syntax error
> 

The problem is that gcc try to generate DBX debugging info (all the .stab)
but the standard AIX assembler 'as' doesn't know how to assemble them.

The quick fix is to remove the -g in the gcc Makefile.

The bad thing is that aix only provide dbx as a debugger (no sdb nor adb ...)
and it standard cc compiler doesn't use its 'as' assembler to assemble. When
you ask the standard cc to generate a .s file, it first compile to a .o and
then disassemble it to get the .s.

If some dbx/gdb/as gurus know what the .stab really expand to then we could
modify gcc to generate the correct debugging info for the aix dbx debugger.

Thanks,
Minh Tran-Le.

Arpanet: tranle@intellicorp.com
Uucp:   ..sun!icmv!mtranle
-------
Technical Details
Message-ID: <8911291710.AA24423@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!INTELLICORP.COM!TRANLE
References: <8911290216.AA04487@ringo.cns.vt.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!INTELLICORP.COM!TRANLE
From: TRANLE@INTELLICORP.COM (Minh Tran-Le)
Newsgroups: gnu.gcc.bug
Subject: Re: gcc on aix/ps2 (really a problem with aix dbx debugging
  info)
Message-ID: <8911291710.AA24423@life.ai.mit.edu>
Date: 29 Nov 89 17:10:35 GMT
References: <8911290216.AA04487@ringo.cns.vt.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 33