Fails to build sys/i386/boot2 with gcc 4.9

Rui Paulo rpaulo at me.com
Sun Mar 29 21:45:33 UTC 2015


On Mar 29, 2015, at 13:29, Craig Rodrigues <rodrigc at FreeBSD.org> wrote:
> 
> 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





More information about the freebsd-testing mailing list