Date: Sun, 29 Mar 2015 14:44:58 -0700 From: Rui Paulo <rpaulo@me.com> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Dimitry Andric <dim@freebsd.org> Subject: Re: Fails to build sys/i386/boot2 with gcc 4.9 Message-ID: <FB0C25A4-273F-4F5A-AEAB-D2B71A1B4B20@me.com> In-Reply-To: <CAG=rPVf5AwjjjLL-xkv%2BbAaX4CHaoB5iwF9nD59GuVc3qGo64g@mail.gmail.com> References: <CAG=rPVcXPMqifAJvg_-XNWrOUzDLya1UMWW5KMymymyayM25=w@mail.gmail.com> <20683705-0EBA-4B8F-A0CE-9C06B8003BBE@FreeBSD.org> <20150329082734.GA13058@vlakno.cz> <B6DB2849-2985-4658-AD13-E9E99E8BE731@bsdimp.com> <CAG=rPVf5AwjjjLL-xkv%2BbAaX4CHaoB5iwF9nD59GuVc3qGo64g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 29, 2015, at 13:29, Craig Rodrigues <rodrigc@FreeBSD.org> wrote: >=20 > Just out of curiousity, what is it about newer compilers that cause > the size of boot2 to increase so much? Code generation is different, especially with regards to optimisations. = Longer code might be faster because the compiler decided to inline a few = functions. Unfortunately, I never saw any difference between -Os and = -O2 in all of my tests (boot2 and other code). -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FB0C25A4-273F-4F5A-AEAB-D2B71A1B4B20>