From owner-freebsd-questions@FreeBSD.ORG Wed Apr 12 10:43:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8823216A401 for ; Wed, 12 Apr 2006 10:43:18 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE5C143D46 for ; Wed, 12 Apr 2006 10:43:17 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k3CAggNb006661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 12 Apr 2006 13:42:45 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k3CAhYRS053767; Wed, 12 Apr 2006 13:43:34 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k3CAhX14053766; Wed, 12 Apr 2006 13:43:33 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 12 Apr 2006 13:43:33 +0300 From: Giorgos Keramidas To: Jim Stapleton Message-ID: <20060412104333.GA34707@gothmog.pc> References: <80f4f2b20604111026i93e19e2jd3360b712db888ae@mail.gmail.com> <20060411193805.P88998@erika.hostname.nu> <80f4f2b20604111050s69ab2a35t8bfc90d4a0876baa@mail.gmail.com> <20060411181025.GA45274@gothmog.pc> <80f4f2b20604111127y6d95504br20cb723c9fc4c34a@mail.gmail.com> <80f4f2b20604111026i93e19e2jd3360b712db888ae@mail.gmail.com> <20060411193805.P88998@erika.hostname.nu> <80f4f2b20604111050s69ab2a35t8bfc90d4a0876baa@mail.gmail.com> <20060411181025.GA45274@gothmog.pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80f4f2b20604111127y6d95504br20cb723c9fc4c34a@mail.gmail.com> <20060411181025.GA45274@gothmog.pc> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.48, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.92, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: make buildword problem/documentation 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: Wed, 12 Apr 2006 10:43:18 -0000 On 2006-04-11 21:10, Giorgos Keramidas wrote: > On 2006-04-11 17:50, Jim Stapleton wrote: > > ahh, thanks everyone, I was looking through the document, and focused > > on finding "buildworld". > > > > Still, anyone know why those particular cflags would cause problems? > > Don't use arbitrary CFLAGS in `make.conf'. The build is already > complicated enough and careful steps have to be taken, without the > introduction of random flags. On 2006-04-11 18:27, Jim Stapleton wrote: > ok, thanks, I won't worry about it then. Cool. > I just like to have everything as optimised as possible. Guess it'll > have to wait here... There are cases when things break in one or another way if you enable optimizations for all the builds, in make.conf. The warning near the description of CFLAGS in `/usr/share/examples/etc/make.conf' is there exactly to avoid this sort of thing: # Note that optimization settings other than -O and -O2 are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" or -O2 before submitting bug # reports without patches to the developers. So, unless there is a measurable performance gain which doesn't also result in strange build- or runtime errors, I guess you don't need to worry about it too much :)