Date: Thu, 24 Nov 2016 23:28:22 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: Michael Zhilin <mizhka@gmail.com>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: MIPS code size strangeness Message-ID: <58371526.4050908@grosbein.net> In-Reply-To: <CAJ-VmokX_ThysU0vRxKWeAQL4JLFHh5vH6rDbtRitCpPCm=_TQ@mail.gmail.com> References: <5831E800.60003@grosbein.net> <CAJ-VmokUfc2ABY1O0B7RqzfCmU_99VwnCmmHfhcRhM5NcH4Ubg@mail.gmail.com> <5832FF33.9010307@grosbein.net> <CAF19XB%2BwS%2BeCrv1mtmXLS1b7SJNZbQUD_2PFZXkhyvX-4wfeLQ@mail.gmail.com> <58330AB6.60306@grosbein.net> <CAF19XBLaZ=t_HPm079vsXvT5vBLunPib94d6=hNkzRd2xz5EPg@mail.gmail.com> <58332491.3000706@grosbein.net> <CAJ-Vmo=Zp2HFLcd5293G-9odo-8r=qa1j=FsJoD-jxMiMJXKAQ@mail.gmail.com> <58332940.8030606@grosbein.net> <CAJ-VmokTECO2kfRKsBiESCCygfM8qh_NzL4pzik8H7KL6pw6HQ@mail.gmail.com> <58346974.2020907@grosbein.net> <CAJ-VmokX_ThysU0vRxKWeAQL4JLFHh5vH6rDbtRitCpPCm=_TQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24.11.2016 05:11, Adrian Chadd wrote: > It's the mips-xtoolchain or xtoolchain-mips-gcc or something Thanks! I've changed the port devel/powerpc64-gcc (master port for devel/mips-gcc) slightly to build gcc-6.2.0 instead of gcc-5.3.0 and it builds and installs just fine using command make FREEBSD_EXTENSION=yes install Then, I've installed devel/mips-xtoolchain-gcc and run buildworld using CROSS_TOOLCHAIN=mips-gcc. It fails: --- cancelpoints_sem_new.o --- {standard input}: Assembler messages: {standard input}:1347: Error: opcode not supported on this processor: mips1 (mips1) `ll $5,4($4)' {standard input}:1350: Error: opcode not supported on this processor: mips1 (mips1) `sc $5,4($4)' {standard input}:1360: Error: opcode not supported on this processor: mips1 (mips1) `sync' {standard input}:1456: Error: opcode not supported on this processor: mips1 (mips1) `ll $4,0($17)' {standard input}:1459: Error: opcode not supported on this processor: mips1 (mips1) `sc $4,0($17)' {standard input}:1469: Error: opcode not supported on this processor: mips1 (mips1) `sync' {standard input}:1697: Error: opcode not supported on this processor: mips1 (mips1) `sync' {standard input}:1702: Error: opcode not supported on this processor: mips1 (mips1) `ll $5,4($4)' {standard input}:1705: Error: opcode not supported on this processor: mips1 (mips1) `sc $5,4($4)' *** [cancelpoints_sem_new.o] Error code 1 I try to build code for TP-Link WDR3600. I'm not familiar with MIPS assembler. Is there a way to alter gcc6 code generator to avoid this error? Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58371526.4050908>