Port-cobalt archive

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

Re: NetBSD 4.0 "opcode not supported on this processor:mips1"...



You need to figure out where mips1 comes from. It seems like compiler
and assembler disagree on the cpu type. File generated by compiler
contains mips3 level instructions and assembler thinks it is doing mips1.

Regards,
Alex


Mike Hebel wrote:
> On Oct 1, 2009, at 7:56 AM 10/1/09, ..I'd rather be coding ASM! wrote:
> 
>> Tried changing your CFLAGS to say: -arch=mips2  at worst, or - 
>> arch=mips3 ?
>>
>> Looks like it's got mips1 hardwired in and something for mips2 is  
>> comming up. Or try CFLAGS="-arch=mips1" and see if it gets that?  
>> Sounds fishy.
>>
>> The r5xxx in the mips cobalt's should be mips3 capable. Perhaps gcc's
>> only compiled with mips1 numonics?
>>
>> Have a play. See how you go.
> 
> No luck.  I set the CFLAGS variable before doing a 'make  
> clean;configure;make" with the same results.
> 
> nothing# set
> CFLAGS  -g -O2 -arch=mips2
> argv    ()
> cdpath  (/usr/src/sys /usr/src/bin /usr/src/sbin /usr/src/usr.bin / 
> usr/src/usr.sbin /usr/src/lib /usr/src/libexec /usr/src/share /usr/ 
> src/local /usr/src/games /usr/src/gnu/usr.bin /usr/src/gnu/usr.sbin / 
> usr/src/gnu/libexec /usr/src/gnu/lib /usr/src/gnu/games)
> cwd     /root/bind-9.6.1-P1
> history 1000
> home    /root
> old     /root
> path    (/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin / 
> usr/X11R6/bin /usr/local/sbin /usr/local/bin)
> prompt  nothing#
> prompt2 ?
> shell   /bin/csh
> status  0
> term    xterm-color
> user    nimitz
> nothing#
> 
> --
> Mike
> 
> 
> Azarath, Metrion, Zinthos!
> 
> 
> 
> 




Home | Main Index | Thread Index | Old Index