Assembler error under Solaris 2.6 x86

Tuan Hoang tuan@optimus.mitre.org
Mon Feb 8 12:06:00 GMT 1999


Hi,

I'm running egcs on a Dual Pentium II 400 with 512 MB SDRAM with
Solaris 2.6 x86.  I've installed and did the check for version:
  Reading specs from
  /usr/local/lib/gcc-lib/i386-pc-solaris2.6/egcs-2.91.60/specs
  gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

I'm compiling a C++ class that I use for my environment
that periodically loads a flags file for runtime debugging statements.
I get the following error under Solaris but not under Slackware Linux
with compiler 1.0.3a.  It doesn't give any warnings about syntax so I'm
at a loss on what to look for.

g++ -I. -Wall -g -c UtEnvironment.C
Assembler: UtEnvironment.C
        aline 29917     : symbol already has a type
        aline 29918     : multiply defined label
        aline 29955     : symbol already has a size
        aline 31444     : symbol already has a type
        aline 31445     : multiply defined label
        aline 31550     : symbol already has a size
make: *** [UtEnvironment.o] Error 1

If you need the class and header file I can gzip them
and send them as a separate email.

Thanks,
Tuan

--
Tuan Hoang 
The MITRE Corporation



More information about the Gcc-bugs mailing list