From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 15:21:34 2004 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 25E2016A4CE for ; Fri, 30 Jul 2004 15:21:34 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19A6443D2D; Fri, 30 Jul 2004 15:21:34 +0000 (GMT) (envelope-from kan@FreeBSD.org) Received: from freefall.freebsd.org (kan@localhost [127.0.0.1]) i6UFLLxm043244; Fri, 30 Jul 2004 15:21:21 GMT (envelope-from kan@freefall.freebsd.org) Received: (from kan@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6UFLJWG043243; Fri, 30 Jul 2004 15:21:19 GMT (envelope-from kan) Date: Fri, 30 Jul 2004 15:21:19 +0000 From: Alexander Kabaev To: Scott Long Message-ID: <20040730152119.GA43119@freefall.freebsd.org> References: <4109B4EF.605@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4109B4EF.605@samsco.org> User-Agent: Mutt/1.4.1i cc: FreeBSD Current List Subject: Re: HEADS UP! boot2 problems 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: Fri, 30 Jul 2004 15:21:34 -0000 On Thu, Jul 29, 2004 at 08:39:43PM -0600, Scott Long wrote: > All, > > The GCC 3.4 import seems to have broken the boot2 loader on at least > i386. This doesn't affect normal world and kernel builds and installs, > but does affect writing new bootblocks via the disklabel program. You > should refrain from doing this until it gets fixed. It's being looked > into right now. > > Scott Commit below made boot2 usable again. kan 2004-07-30 04:27:20 UTC FreeBSD src repository Modified files: sys/boot/i386/boot2 Makefile Log: Compile boot2 with -fno-unit-at-a-time. GCCs aggressive optimization breaks boot in spectacular ways otherwise. Revision Changes Path 1.56 +3 -1 src/sys/boot/i386/boot2/Makefile