From owner-freebsd-current@FreeBSD.ORG Thu Oct 23 08:59:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 140A416A4B3 for ; Thu, 23 Oct 2003 08:59:12 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83B4A43FBF for ; Thu, 23 Oct 2003 08:59:11 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 6DA3A72DA3; Thu, 23 Oct 2003 08:59:11 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 6AFD872DA2; Thu, 23 Oct 2003 08:59:11 -0700 (PDT) Date: Thu, 23 Oct 2003 08:59:11 -0700 (PDT) From: Doug White To: "Vladimir B. Grebenschikov" In-Reply-To: <1066905716.829.3.camel@localhost> Message-ID: <20031023085608.G79600@carver.gumbysoft.com> References: <1066806474.959.18.camel@localhost> <20031022151112.M71676@carver.gumbysoft.com> <1066905716.829.3.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "current@freebsd.org" Subject: Re: warnings while kernel build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 15:59:12 -0000 On Thu, 23 Oct 2003, Vladimir B. Grebenschikov wrote: > I am trying to compile -CURRENT code on RELENG_4 machine, with native > RELENG_4 gcc: > > % gcc -v > Using builtin specs. > gcc version 2.95.4 20020320 [FreeBSD] > % which gcc > /usr/bin/gcc hrm.... > > > /ext/current/src# make -j8 buildkernel > > > ... > > > /ext/current/src/sys/kern/kern_descrip.c:1914: warning: inlining failed > > > in call to `_fgetvp' > > > > > makeoptions CONF_CFLAGS="-O3 -mcpu=pentiumpro" > > > > This is an unsupported option. Do not compile the kernel with any > > optimization beyond -O. This might be the other reason why you are > > getting these inlining warnings. > > Ok, But it works for me from 5.0 branching (or about). Optimization levels beyond -O are known to generate incorrect code. You will end up with an unbootable or, worse, an incorrect kernel as a result. If you are having compile problems with anything but -O, revert to -O. If you are still having problems, wthen we'll talk. Youre _are_ following the instructions in /usr/src/UPDATING on how to upgrade from -STABLE to -CURRENT, right? -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org