[980129]: bug in COFF's name mangling?

Manfred.Hollstein@ks.sel.alcatel.de Manfred.Hollstein@ks.sel.alcatel.de
Wed Feb 4 01:09:00 GMT 1998


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 :-(
 > 
 > Anyway, looking at fcomplex.o on this system shows _two_ names for one
 > address:
 > 
 [snip]

On  the m68k-motorola-sysv  I'm   running into trouble  with the  same
source file:  .../libstdc++/cinst.cc when compiling the complex stuff;
interestingly,     it looks  exactly  like  the   problems Marc  ESPIE
<19980129012327.03247@liafa1.liafa.jussieu.fr>       reported      for
egcs-980122 on m68k-unknown-netbsd:

/u/b60/manfred/work/GNU/build/SLSH15/egcs-980129-delta/gcc/xgcc -B/u/b60/manfred/work/GNU/build/SLSH15/egcs-980129-delta/gcc/ -c -O9 -g  -fno-implicit-templates -I../../../egcs-980129/libstdc++ -I../../../egcs-980129/libstdc++/stl -I../libio -I../../../egcs-980129/libstdc++/../libio -nostdinc++  -DF `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \
  ../../../egcs-980129/libstdc++/cinst.cc -o fcomplex.o
../../../egcs-980129/libstdc++/std/fcomplex.h: In function `class complex<float> operator +(const class complex<float> &, float)':
In file included from ../../../egcs-980129/libstdc++/std/complext.h:396,
                 from ../../../egcs-980129/libstdc++/complex:7,
                 from ../../../egcs-980129/libstdc++/std/complext.cc:28,
                 from ../../../egcs-980129/libstdc++/cinst.cc:29:
../../../egcs-980129/libstdc++/std/fcomplex.h:60: Internal compiler error 364.
../../../egcs-980129/libstdc++/std/fcomplex.h:60: Please submit a full bug report to `egcs-bugs@cygnus.com'.

I don't know if this problem  is related to my m88k  one, but, as they
occur in the  _same_  source  file and both  systems  use  COFF/sdb, I
actually guess it _is_ related.

Thanks to Marc's report  we now know, that  the change must  have been
incorporated before 980122!

Manfred



More information about the Gcc-bugs mailing list