From owner-freebsd-questions@FreeBSD.ORG Tue Nov 20 08:11:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 552F016A420 for ; Tue, 20 Nov 2007 08:11:03 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3F57313C459 for ; Tue, 20 Nov 2007 08:11:03 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id lAK8AkUm041415; Tue, 20 Nov 2007 00:10:46 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id lAK8AkvQ041412; Tue, 20 Nov 2007 00:10:46 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Tue, 20 Nov 2007 00:10:46 -0800 Message-ID: <1195546246.4742968655406@webmail.rawbw.com> Date: Tue, 20 Nov 2007 00:10:46 -0800 From: Yuri To: Yuri Pankov References: <1195529076.47425374ade31@webmail.rawbw.com> <200711200843.36139.yuri.pankov@gmail.com> <1195540240.47427f104a1c3@webmail.rawbw.com> <200711200943.52727.yuri.pankov@gmail.com> In-Reply-To: <200711200943.52727.yuri.pankov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 Cc: yuri@tsoft.com, freebsd-questions@freebsd.org Subject: Re: FreeBSD-7.0 fails to compile after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 08:11:03 -0000 Quoting Yuri Pankov : > 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