From owner-freebsd-current@FreeBSD.ORG Tue Jul 29 13:33:35 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 B781137B401; Tue, 29 Jul 2003 13:33:35 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 213C143F93; Tue, 29 Jul 2003 13:33:32 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h6TKWp0U077496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Jul 2003 23:32:51 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h6TKWo3V077490; Tue, 29 Jul 2003 23:32:50 +0300 (EEST) (envelope-from ru) Date: Tue, 29 Jul 2003 23:32:50 +0300 From: Ruslan Ermilov To: Bruce Evans Message-ID: <20030729203250.GE66399@sunbay.com> References: <20030729103054.GA33488@BSDWins.Com> <20030729120105.GB20737@sunbay.com> <20030729123740.GA6239@BSDWins.Com> <20030729125738.GA27879@sunbay.com> <20030729134154.GA7048@BSDWins.Com> <20030729143848.GA37496@sunbay.com> <20030730060749.G978@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="so9zsI5B81VjUb/o" Content-Disposition: inline In-Reply-To: <20030730060749.G978@gamplex.bde.org> User-Agent: Mutt/1.5.4i cc: current@freebsd.org cc: Peter Wemm cc: John De Boskey Subject: Re: -current 'make release' status? [SOLVED] 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: Tue, 29 Jul 2003 20:33:36 -0000 --so9zsI5B81VjUb/o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 30, 2003 at 06:14:17AM +1000, Bruce Evans wrote: > On Tue, 29 Jul 2003, Ruslan Ermilov wrote: >=20 > > ... > > Forget what I've said about NO_WERROR, it (unfortunately) only > > applies to the userland. > > > > Still, running "make rerelease KERNEL_FLAGS=3DWERROR=3D" gets the > > release done. > > > > I wondered why I get it, and similarly my nigthly "buildkernel" > > completed without errors. This turned out to be due to the > > -O vs. -Os differences. For example, compiling vfs_subr.o > > from the GENERIC kernel results in these same warnings when > > compiled with COPTFLAGS=3D"-Os -pipe". Peter, should we switch > > -Werror back off in kern.pre.mk? >=20 > Use -fno-strict-aliasing if you use -Os. Otherwise, -Os is stricter > than -O. >=20 > On second thoughts, -Os implies -f-strict-aliasing because -Os may > need strict aliasing for the same reasons as -O2. We've seen -O2 > in combination with broken aliasing in libm cause fatal errors. > Better find part of -O2 that needs strict aliasing and turn it off > too. >=20 Hm, I always thought that -O2 and -Os are just useful aliases that in effect only turn a few dozens of -f optimization flags, and that switching some of them off later is allowed. I.e., "-Os -fno-strict-aliasing" should work. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --so9zsI5B81VjUb/o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/JtnyUkv4P6juNwoRAiqSAJ0YiESboiU7MUzSRGQezgsrOV3fFwCdEK0Z 6hq82naRrPgwWzPagjrQAGE= =mXA3 -----END PGP SIGNATURE----- --so9zsI5B81VjUb/o--