Date: Thu, 17 May 2012 10:55:29 +0200 From: Joel Dahl <joel@vnode.se> To: Dimitry Andric <dim@FreeBSD.org> Cc: current@freebsd.org Subject: Re: buildkernel fails Message-ID: <20120517085529.GJ6475@goofy01.vnodelab.local> In-Reply-To: <4FB41EF1.2010900@FreeBSD.org> References: <20120516211826.GI6475@goofy01.vnodelab.local> <4FB41EF1.2010900@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120517085529.GJ6475>