From owner-freebsd-current@FreeBSD.ORG Thu May 24 17:13:18 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17F1C106566B for ; Thu, 24 May 2012 17:13:18 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 95DBB8FC16 for ; Thu, 24 May 2012 17:13:17 +0000 (UTC) Received: by eabm6 with SMTP id m6so3798eab.13 for ; Thu, 24 May 2012 10:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Jl9mxFXqf/vjGYlLTvU+UZ9TF6Ee2BDlkR+pkOqFDvI=; b=pPWOAeEf/aR06SvTQ7Wcwda6Riarwbq7J63Ipukp18wMxQZ1C0e0t8i/nE5if3V3fl 1KjKYvbxnZSuvl9apNkqseatreWKWs7HCCyfu/38OtYpaNvJWZ+zCgua5pzvAQKKOSbw g7rGCUu71hwEppabcWIZIdvy4WzFhWpopHmU/z2TnPw7YV1hM9keOqXQDsYhReZRaXap dCIEHLcDoTowstPKfUyeqb7m4SbVa5kzrqM7Opo45TJvj1OLUkTL1fXJvRIWyoNZSmZD 5ph0UKQ7KBpstCM520/mmg1176wL7MBDwutJTLhMnH+GPJ98GAxGD0yZGE5+/1deSmtF Ds1w== Received: by 10.14.101.72 with SMTP id a48mr39794eeg.120.1337879590551; Thu, 24 May 2012 10:13:10 -0700 (PDT) Received: from Sevans-Mac-mini.local (n3.venture37.net. [91.103.132.218]) by mx.google.com with ESMTPS id c51sm3046402eei.12.2012.05.24.10.13.09 (version=SSLv3 cipher=OTHER); Thu, 24 May 2012 10:13:09 -0700 (PDT) Message-ID: <4FBE6C22.6080109@gmail.com> Date: Thu, 24 May 2012 18:13:06 +0100 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel builds failing with lots of "failed to retrieve array bounds" errors 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, 24 May 2012 17:13:18 -0000 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