From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 10:04:52 2012 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 39177106566B for ; Mon, 2 Jan 2012 10:04:52 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 020978FC12 for ; Mon, 2 Jan 2012 10:04:51 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-238-95.pitbpa.east.verizon.net [96.236.238.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id AA14286ADA; Mon, 2 Jan 2012 05:04:49 -0500 (EST) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id E924F5DB0; Mon, 2 Jan 2012 05:04:48 -0500 (EST) Date: Mon, 2 Jan 2012 05:04:30 -0500 From: Janos Dohanics To: Marco Steinbach Message-Id: <20120102050430.f2074796.web@3dresearch.com> In-Reply-To: <4F014C4D.80001@executive-computing.de> References: <20111231135633.02c92213.web@3dresearch.com> <4F014C4D.80001@executive-computing.de> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: buildworld error 8.2-STABLE amd64 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: Mon, 02 Jan 2012 10:04:52 -0000 On Mon, 02 Jan 2012 07:18:53 +0100 Marco Steinbach wrote: > Janos Dohanics wrote on 31.12.2011 19:56: > > Buildworld stopped with this error (with updated source): > > > > [...] > > cc "-O3" -DNEED_SOLARIS_BOOLEAN > [...] > > > > I have posted the build log at > > http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld > > > > Would you please advise? > > Quoting /usr/share/examples/etc/make.conf: > > # CFLAGS controls the compiler settings used when compiling C code. > # 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 > # -fno-strict-aliasing" before submitting bug reports without patches > # to the developers. > > The error you're seeing is a result from using O3 for building the > source in question -- At least my 8.2-STABLE ran into the same > problem, once I used O3, instead of the default '-O2 -pipe'. > > MfG CoCo Thank you, there was indeed the line CFLAGS="-O3" in make.conf, after I have commented it out, I could build world. I'm wondering how was my make.conf changed though; I'm sure I did not add CFLAGS="-O3" - is it possible that one of the ports have added this? -- Janos Dohanics