Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 00:10:46 -0800
From:      Yuri <yuri@rawbw.com>
To:        Yuri Pankov <yuri.pankov@gmail.com>
Cc:        yuri@tsoft.com, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-7.0 fails to compile after upgrade
Message-ID:  <1195546246.4742968655406@webmail.rawbw.com>
In-Reply-To: <200711200943.52727.yuri.pankov@gmail.com>
References:  <1195529076.47425374ade31@webmail.rawbw.com> <200711200843.36139.yuri.pankov@gmail.com> <1195540240.47427f104a1c3@webmail.rawbw.com> <200711200943.52727.yuri.pankov@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Yuri Pankov <yuri.pankov@gmail.com>:


> Yes, that's what I'm talking about, you don't have any optimizations 
> (-Ox) in flags to cc and that's why it fails. Make sure that you don't 
> have CFLAGS set to '' in your environment or elsewhere (cd /usr/src ; 
> make -V CFLAGS  will show your current settings).

Interesting.
Still not clear why would this error be caused bythe lack of -Ox option.
6.3 was compiling successfully with the same CFLAGS.
I had some -I in CFLAGS. And didn't realize that system build picks up
optimization options from there instead of appending them to existing CFLAGS.


Yuri



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