Date: Fri, 30 Jul 2004 15:21:19 +0000 From: Alexander Kabaev <kan@freebsd.org> To: Scott Long <scottl@samsco.org> Cc: FreeBSD Current List <current@freebsd.org> Subject: Re: HEADS UP! boot2 problems Message-ID: <20040730152119.GA43119@freefall.freebsd.org> In-Reply-To: <4109B4EF.605@samsco.org> References: <4109B4EF.605@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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                         
 
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040730152119.GA43119>
