[980205]: Patch for wrong mangling (was: Re: [980129]: bug in COFF's name mangling?)

Ralf Corsepius corsepiu@faw.uni-ulm.de
Mon Feb 9 06:37:00 GMT 1998


Manfred.Hollstein@ks.sel.alcatel.de wrote:

> On Mon, 9 February 1998, 13:20:43, corsepiu@faw.uni-ulm.de wrote:
>
>  > Manfred Hollstein wrote:
>  >
>  > > On Wed, 4 February 1998, 16:33:46, Manfred.Hollstein@ks.sel.alcatel.de wrote:
>  > >
>  > >  > On Tue, 3 February 1998, 14:25:34, Manfred.Hollstein@ks.sel.alcatel.de wrote:
>  > >  >
>  > >  >  > Hi,
>  > >  >  >
>  > >  >  > I'm just trying to build egcs on my various systems. Solaris and SunOS
>  > >  >  > are  finished and work ok, but  on m88k-motorola-sysv3  (a COFF system
>  > >  >  > with SDB debugging info)   I'm  running into trouble   while  building
>  > >  >  > libstdc++, namely the bigstmp-complx stuff. I don't know, if this is a
>  > >  >  > common problem or something m88k specific, the build  on my other COFF
>  > >  >  > system (m68k-motorola-sysv) usually takes 3.5 days (and nights) and is
>  > >  >  > still running.
>  > >  >  >
>  > >  >  > Initially GNU as was complaining about `C_EFCN out of scope'; this one
>  > >  >  > could be avoided  by using Motorola's native assembler  - but this one
>  > >  >  > then failed later on on some GNU as extensions used for *comio.o :-(
>  >
>  > This bug also occurs for sh-coff, but seems not to occur for sh-elf

>  >
>
> Did you try
>
> $ strings -a libraries/libstdc++/fcomplex.o | grep __doami
>
> with your sh-elf object files?

Not yet, I currently don't have sh-elf at hand, but for sh-coff
(host:sun-sparc-solaris2.5), with your patch applied, I get:  sh-coff-strings -a
fcomplex.o | grep __doami
___doami__H1Zf_Pt7complex1ZX01RCt7complex1ZX01_Rt7complex1ZX01

Ralf.







More information about the Gcc-bugs mailing list