From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 15:00:56 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AE6D16A420 for ; Tue, 30 Oct 2007 15:00:56 +0000 (UTC) (envelope-from yaraghchi@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.176]) by mx1.freebsd.org (Postfix) with ESMTP id CA96C13C4A5 for ; Tue, 30 Oct 2007 15:00:55 +0000 (UTC) (envelope-from yaraghchi@gmail.com) Received: by el-out-1112.google.com with SMTP id s27so531312ele for ; Tue, 30 Oct 2007 08:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=iOxXZuC7DWKvDGDrlyIGW0rWnKOlCh89kwGW8PzUVcY=; b=uAN3Jvb6khJJXalKuq4dv4UiEhLccRk0MnnZJ24wjIIMm06dv7rwHRAUoAd6hhIYnVnDdWDNF2Mgk0P2TLI4FNF/4V50vfKUlzl+WewcW5nRe9jePy5ooa6JB83RdsM5K/qmKqAptzeUOiv5cOlaE2gczEhok+jXmc1EbJ9zTK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=G4rp9JbUebyI7LFkrqtj7OwblbZ2/YyCtAT68Ljk7qqyzz5Kmda9xTtH6tT5blxgiXK+SF2MZYV7gmkVs1ooWtAYod5wBNyQp7COpIoWiPOl7OopWQHDLRQwNP0ccDlQBtqDLkPzjZL2nnUCIbgQ78k7wk34iADqB9JyLUs++3k= Received: by 10.142.222.21 with SMTP id u21mr1667394wfg.1193754739375; Tue, 30 Oct 2007 07:32:19 -0700 (PDT) Received: by 10.143.158.18 with HTTP; Tue, 30 Oct 2007 07:32:19 -0700 (PDT) Message-ID: <25f52a3d0710300732x425f0c45vde1a29361096c018@mail.gmail.com> Date: Tue, 30 Oct 2007 15:32:19 +0100 From: "Stephan F. Yaraghchi" Sender: yaraghchi@gmail.com To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 58699b0c22100465 X-Mailman-Approved-At: Wed, 31 Oct 2007 03:58:56 +0000 Subject: loader breaks with -O2 optimizations X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Oct 2007 15:00:56 -0000 After making world on a freshly installed 7.0-BETA1 the system does not boot anymore due to a broken loader: FreeBSD/i386 bootstrap loader, Revision 1.1 (root@bigblue, Tue Oct 30 11:26:32 CET 2007) Can't work out which disk we are booting from. Guessed BIOS device 0xffffffff not found by probes defaulting to disk0: panic: free: guard1 fail@ 0x6ded4 from /usr/src/sys/boot/i386/loader/../../common/module.c:959 --> Press a key on the console to reboot <-- I found out that the following line in my make.conf causes the problem: CFLAGS= -O2 -funroll-loops -pipe After changing down to -O1 and making /usr/src/sys/boot again the systems behaves properly at boot. Is this behavior intended? -- Stephan. www.deine-stimme-gegen-armut.de