From owner-freebsd-stable@FreeBSD.ORG Fri Jan 7 15:57:09 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D33C16A4CF for ; Fri, 7 Jan 2005 15:57:09 +0000 (GMT) Received: from smtp807.mail.sc5.yahoo.com (smtp807.mail.sc5.yahoo.com [66.163.168.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A2DD43D39 for ; Fri, 7 Jan 2005 15:57:09 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.192.255 with login) by smtp807.mail.sc5.yahoo.com with SMTP; 7 Jan 2005 15:57:08 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 61DB36305; Thu, 6 Jan 2005 12:35:30 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 51898-08; Thu, 6 Jan 2005 12:35:19 -0600 (CST) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 414FE62FE; Thu, 6 Jan 2005 12:35:19 -0600 (CST) Received: from 69.53.57.66 (SquirrelMail authenticated user noackjr); by www.noacks.org with HTTP; Thu, 6 Jan 2005 12:35:19 -0600 (CST) Message-ID: <61576.69.53.57.66.1105036519.squirrel@69.53.57.66> In-Reply-To: <41DD70FF.2020705@chillt.de> References: <41DC5554.1020702@chillt.de> <3aaaa3a050106080075c6d4a@mail.gmail.com> <41DD70FF.2020705@chillt.de> Date: Thu, 6 Jan 2005 12:35:19 -0600 (CST) From: "Jon Noack" To: "Bartosz Fabianowski" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at noacks.org cc: Chris cc: stable@freebsd.org cc: obrien@freebsd.org Subject: Re: Instant reboots with CPUTYPE=pentium-m X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 15:57:09 -0000 Bartosz Fabianowski wrote: >> I use the athlon-xp switch on 3 boxes with no problems all of them >> running 5.3 > > What CFLAGS are you using? I have CFLAGS=-O -pipe in my make.conf. Maybe > you have optimization turned off and that's making a difference? I reported the problem with the athlon-xp. My /etc/make.conf looks like the following (when I wish to kill the loader and experience instant reboots, that is ;-): CPUTYPE?= athlon-xp CFLAGS= -O -pipe COPTFLAGS= -O -pipe Note that I only see the problem when building the loader as part of a buildworld. Compiling just the boot stuff in /usr/src/sys/boot/ (i.e., without a bootstrapped gcc) results in a loader that works fine. Thus, I think defining CPUTYPE results in a gcc that produces a bad loader. Jon