Kernel builds failing with lots of "failed to retrieve array bounds" errors

From: Sevan / Venture37 <venture37_at_gmail.com>
Date: Thu, 24 May 2012 18:13:06 +0100
Hi
I'm unable to build the generic kernel, seeing lots of "failed to 
retrieve array bounds" errors (129 to be exact) starting with ERROR: 
scsi_all.c: die 43574: failed to retrieve array bounds & stoping at
cc -c -O2 -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  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h 
-fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone 
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fstack-protector -Werror  /usr/src/sys/dev/ata/ata-card.c
ctfconvert -L VERSION -g aic_pccard.o
ctfconvert -L VERSION -g ata-card.o
ctfconvert -L VERSION -g intel_dp.o
ERROR: intel_dp.c: die 24561: failed to retrieve array bounds
cc -c -O2 -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  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h 
-fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone 
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fstack-protector -Werror  /usr/src/sys/dev/cs/if_cs_pccard.c
1 error
*** [all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [modules-all] Error code 2
cc -c -O2 -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  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h 
-fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone 
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
-ffreestanding -fstack-protector -Werror  /usr/src/sys/dev/ed/if_ed_pccard.c
ctfconvert -L VERSION -g if_an_pccard.o
ctfconvert -L VERSION -g if_cs_pccard.o
ctfconvert -L VERSION -g if_ed_pccard.o
1 error
*** [buildkernel] Error code 2
1 error
*** [buildkernel] Error code 2
1 error

Userland was built & installed earlier this morning WITH_CLANG_IS_CC 
defined in src.conf, and the make.conf is as follows
STRIP=
CFLAGS+=-fno-omit-frame-pointer

#CFLAGS= -O2 -fno-strict-aliasing -pipe
#COPTFLAGS= -O -pipe
#CXXFLAGS+= -fconserve-space
#CPUTYPE?=core2

WITH_LCD_FILTERING="YES"
VIDEO_DRIVER="intel"
WITHOUT_NLS="YES"
RUBY_VER=1.9
WITH_LCD_FILTERING="YES"

# added by use.perl 2012-05-20 14:42:26
PERL_VERSION=5.12.4



Sevan / Venture37
Received on Thu May 24 2012 - 15:13:18 UTC

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