Re: loader breaks with -O2 optimizations

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Thu, 01 Nov 2007 10:20:30 +0100
Josh Carroll wrote:
>> Presumably you mean -O2 -funroll-loops, not -O2.  Or are you saying the
>> latter also breaks the loader?
> 
> Just -O2 broke it for me in RELENG_7, for the reason I said before
> (-O2 later in the gcc command line supersedes the -Os from the loader
> Makefile).

OK.  -funroll-loops is still bogus as a general setting, but I guess the 
real lesson is to stick with the defaults unless you want to fix the 
problem :)

Kris
Received on Thu Nov 01 2007 - 08:20:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC