mips gcc compile error : unrecognized opcode errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am trying to cross compile a user mode application for mips and I am getting these error
messages when trying to do that:

/tmp/ccgvdHuk.s: Assembler messages:
/tmp/ccgvdHuk.s:1270: Error: unrecognized opcode `btl $4,0($2)'
/tmp/ccgvdHuk.s:1270: Error: unrecognized opcode `setcb $25'
/tmp/ccgvdHuk.s:3124: Error: unrecognized opcode `btl $4,0($2)'
/tmp/ccgvdHuk.s:3124: Error: unrecognized opcode `setcb $25'
/tmp/ccgvdHuk.s:3769: Error: unrecognized opcode `btl $4,0($2)'
/tmp/ccgvdHuk.s:3769: Error: unrecognized opcode `setcb $25'

These occur on a specific file always, other c files seem to compile just fine. I tried using
'sdelinuxeb-5.03.06-1' AND 'sdelinux-5.01-4eb' and both bail out in gcc with the same messages at
the same location.
My CFLAGS look like this:
CFLAGS += $(shell $(CC)-print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp") -I
/work/GLIBC/usr/include/ -I /work/linux-2.4.25/include/ -Wa,-mips3 -mcpu=r4600 -mips2 -Wa,-32
-Wa,-march=r4600 -Wa,--trap

I was able to successfully cross compile the kernel and busybox using the same cross
toolchain(although i needed to use 5.03 for busybox). I am running these on a redhat 7.3 box (alse
tried on 9.0), although I doubt if that really matters and its just the sdelinux version that
matters. My GLIBC for cross compile is from glibc-devel-2.2.5-42.1.mips.rpm.

Any pointers on the one (or many) thing(s) I could be doing wrong to get these error messages ? Is
there a 'comprehensive' one stop location where i can download binaries/source for doing mipseb
cross compile activities (i.e glibc + gcc+ binutils+ ...) and work.

All help would be appreciated:)

regards,
Shantanu.



__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux