Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2016 10:16:20 -0800
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        Michael Zhilin <mizhka@gmail.com>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: MIPS code size strangeness
Message-ID:  <CAJ-VmokTECO2kfRKsBiESCCygfM8qh_NzL4pzik8H7KL6pw6HQ@mail.gmail.com>
In-Reply-To: <58332940.8030606@grosbein.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

yes - freebsd-wifi-build defaults to using external gcc now. Try that
as a build and see.


-adrian


On 21 November 2016 at 09:05, Eugene Grosbein <eugen@grosbein.net> wrote:
> On 21.11.2016 23:47, Adrian Chadd wrote:
>> Hiya,
>>
>> Well, let's dig into it a bit more. See what the latest gcc (5, or 6)
>> will do when building a freebsd mips userland. It may also be
>> something stupid - eg we can mark some code to stop inlining.
>
> Is it possible to obtain gcc6 MIPS cross-compiler for FreeBSD11/amd64 (my build system)
> and make our buildworld/buildkernel use it instead of stock gcc 4.2?
>
>> MIPS binaries are going to be bigger than CISC binaries - but it
>> shouldn't be /that/ much bigger. If there's cut/paste code that we can
>> uninline, libraryify, etc to save space then we should.
>
> The C-code in question is not big and has not "copy-paste" parts.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokTECO2kfRKsBiESCCygfM8qh_NzL4pzik8H7KL6pw6HQ>