Re: buildkernel fails

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 16 May 2012 23:41:05 +0200
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.
Received on Wed May 16 2012 - 19:41:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC