This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Assembler related problems.



Hi !!!

I am running into problems at compile time and it seems to be the assembler.
I have a Solaris 8 platform with gcc-2.95.2 installed in it. When I try to
compile my c++ project the very first file and its includes give me several
warnings (see below), followed by tons of assembler errors. The funny thing
is that I have another Solaris 8 box with an older version of gcc and the
same program compiles OK.

I wonder if this is a compiler-assembler compatibility issue.
Is this the possible cause of the problem ?
Is there any information about the gcc compilers and the corresponding
assembler version that should be used ?
Any other things you recommend I should check?

Thanks,

Cesar

There are several warnings (one per file included) like this:

In file included from cm.h:1,
                 from main.cpp:20:
rvar.h:8:20: warning: no newline at end of file

Then I get tons of the following error messages:

/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15078: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15079: error: unknown opcode
".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15079: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15088: error: unknown opcode
".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15088: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15093: error: unknown opcode
".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15093: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15096: error: unknown opcode
".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15096: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15097: error: unknown opcode
".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccE94zkp.s", line 15097: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `main.o'


Cesar Heyaime
Telecommunications Research Group
Electrical Engineering Department
University of Texas at Arlingon


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]