From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Sat, 10 Jan 2015 08:33:50 +0200 From: lucio@proxima.alt.za MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] Failure building Inferno Topicbox-Message-UUID: 39c8600c-ead9-11e9-9d60-3106f5b1d025 The eventual objective is to have the MIPS(EL) toolchain in place on my Yeeloong notebook, but it's quite promising that building Inferno can progress as far as it did with minimal adjustments (Linux/spim). The GCC compiler, however, complains: asm-spim.S: Assembler messages: asm-spim.S:50: Error: opcode not supported on this processor: mips1 (mips1) `ll $2,0($4)' asm-spim.S:52: Error: opcode not supported on this processor: mips1 (mips1) `sc $9,0($4)' mk: gcc -c asm-spim.S : exit status=exit(1) I had to drop the -mips32 command line flag to gcc because iyacc failed on an invalid instruction. I compared mk (which worked, of course) and iyacc and the architectures were MIPS-I and MIPS32 respectively. Then everything up to the assembly above worked fine. I added -march=native and -mtune=native (which the compiler translates to -march=loongson2f and -mtune=loongson2f) and the inferno installation completed successfully. There may be one or two warnings worth fixing, but first I want to do some testing. Lucio.