Re: NetBSD 4.0 "opcode not supported on this processor:mips1"...
"..I'd rather be coding ASM!" <[email protected]> Fri, 2 Oct 2009 00:24:07 +0300 (EEST)
| Newsgroups | gmane.os.netbsd.ports.cobalt |
|---|---|
| Message-ID | <[email protected]> |
Could always run file across it. That ought tell you the level so you what is at which level. On Thu, 1 Oct 2009, Alex Pelts wrote: > 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! >> >> >> >> > > > -- -- Al Boyanich adb -w -P "world> " -k /dev/meta/galaxy/ksyms /dev/god/brain