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] | |
Can you please read below and provide us with some insight on how we could modify our process to assemble on a 64bit platform?
From: Jithendra Madala [mailto:madala@mips.com]
We usually build our design in 32bit mode (using 32bit versions of
tools and gcc/3.3.6) even on a 64bit machine by default. Only if
required we build in 64bit mode using 64bit version of tools including
gcc (gcc64/3.3.2).
I see a lot of search results for people having similar issues on x86_64, if x86 is specified it looks like its trying it compile in some i32 assembly optimizations that don't work on x86_64.
madala@mipscs177: 57 uname -a
Linux mipscs177 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686
i686 i386 GNU/Linux
In those x86_64 cases the reasons were obvious: There were 32-bit 'inline asm' instructions embeddedI get assembler errors (see below) when I do a simple gcc build. It happens only on Intellistore machines. I tried atleast 6 machines and on all of them gave the same error message. When I run on Rackables or my desktop the compilation goes fine. I need immediate help on this.
gcc -DDEBUG -D_DEBUG -DXA_DEBUG=1 -DMTI_Model64 -DMIPS_SIM_TYPE_vcs
-Wall -Wno-unused -g2 -O0
-I/mips/proj/tools/vcs/vcs2006.06-SP1-4/include -I/usr/local/include
-Iinclude -I../Devices/include -I../EJTAP/include -I../MIPSInt/include
-I../Systems/Topaz1pSystem/include -c -o assert.o src/assert.c
/usr/tmp/ccEITBbp.s: Assembler messages:
/usr/tmp/ccEITBbp.s:45: Error: suffix or operands invalid for `push'
/usr/tmp/ccEITBbp.s:100: Error: suffix or operands invalid for `push'
/usr/tmp/ccEITBbp.s:150: Error: suffix or operands invalid for `push'
/usr/tmp/ccEITBbp.s:235: Error: suffix or operands invalid for `jmp'
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |