From owner-freebsd-current@FreeBSD.ORG Wed May 16 21:41:11 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A41BA1065673 for ; Wed, 16 May 2012 21:41:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from springbank.echomania.com (andric.com [IPv6:2001:888:2003:1001:230:48ff:fe51:76b6]) by mx1.freebsd.org (Postfix) with ESMTP id 3D6B28FC15 for ; Wed, 16 May 2012 21:41:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at springbank.echomania.com Received: from [192.168.1.6] (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by springbank.echomania.com (Postfix) with ESMTPSA id 90179A7071; Wed, 16 May 2012 23:40:53 +0200 (CEST) Message-ID: <4FB41EF1.2010900@FreeBSD.org> Date: Wed, 16 May 2012 23:41:05 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120425 Thunderbird/13.0 MIME-Version: 1.0 To: Joel Dahl References: <20120516211826.GI6475@goofy01.vnodelab.local> In-Reply-To: <20120516211826.GI6475@goofy01.vnodelab.local> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 16 May 2012 21:41:11 -0000 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.