From owner-freebsd-current@FreeBSD.ORG Thu May 17 08:55:35 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DB77106566B; Thu, 17 May 2012 08:55:35 +0000 (UTC) (envelope-from joel@vnode.se) Received: from mail.vnode.se (mail.vnode.se [62.119.52.80]) by mx1.freebsd.org (Postfix) with ESMTP id 13E7F8FC12; Thu, 17 May 2012 08:55:35 +0000 (UTC) Received: from mail.vnode.se (localhost [127.0.0.1]) by mail.vnode.se (Postfix) with ESMTP id 1288CE3F07B; Thu, 17 May 2012 10:55:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at vnode.se Received: from mail.vnode.se ([127.0.0.1]) by mail.vnode.se (mail.vnode.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJsslbdQuYS4; Thu, 17 May 2012 10:55:30 +0200 (CEST) Received: from goofy01.vnodelab.local (jd.benders.se [212.247.52.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.vnode.se (Postfix) with ESMTPSA id C5DDEE3F079; Thu, 17 May 2012 10:55:30 +0200 (CEST) Date: Thu, 17 May 2012 10:55:29 +0200 From: Joel Dahl To: Dimitry Andric Message-ID: <20120517085529.GJ6475@goofy01.vnodelab.local> References: <20120516211826.GI6475@goofy01.vnodelab.local> <4FB41EF1.2010900@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FB41EF1.2010900@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@freebsd.org Subject: Re: buildkernel fails 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: Thu, 17 May 2012 08:55:35 -0000 On 16-05-2012 23:41, Dimitry Andric wrote: > On 2012-05-16 23:18, Joel Dahl wrote:> Hi, > > I did a buildworld+buildkernel on my workstation today and buildkernel fails with: > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > > -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option > > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > > -finline-limit=8000 --param inline-unit-growth=100 --param > > large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel > > -mno-red-zone -mno-mmx -mno-sse -msoft-float > > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > > /usr/src/sys/dev/et/if_et.c > > Bus error (core dumped) > > *** [isci.ko.debug] Error code 138 > > 1 error > > *** [all] Error code 2 > > 1 error > > *** [modules-all] Error code 2 > > ctfconvert -L VERSION -g if_et.o > > 1 error > > *** [buildkernel] Error code 2 > > 1 error > > *** [buildkernel] Error code 2 > > 1 error > > > > My src tree is at the latest rev. No /usr/obj. I'm currently running > > CURRENT from May, 5th. > > I think you may be hitting the libthr issue that was introduced in > r234947 (Thu May 3 09:17:31 2012 UTC) and fixed in r235068 (Sat May 5 > 23:51:24 2012 UTC). This caused some programs to randomly bomb out with > bus errors or other weirdness. > > Please try building and installing lib/libthr (from your updated source > tree) before running the rest of the world/kernel build. That fixed it. Thanks! -- Joel