From owner-freebsd-current@FreeBSD.ORG Thu May 24 19:21:39 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 8629A1065670 for ; Thu, 24 May 2012 19:21:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 44CCE8FC27 for ; Thu, 24 May 2012 19:21:39 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:80d1:15d3:2702:3ab0] (unknown [IPv6:2001:7b8:3a7:0:80d1:15d3:2702:3ab0]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 492355C59; Thu, 24 May 2012 21:21:31 +0200 (CEST) Message-ID: <4FBE8A4D.9000607@FreeBSD.org> Date: Thu, 24 May 2012 21:21:49 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120522 Thunderbird/13.0 MIME-Version: 1.0 To: Sevan / Venture37 References: <4FBE6C22.6080109@gmail.com> In-Reply-To: <4FBE6C22.6080109@gmail.com> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: 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 19:21:39 -0000 On 2012-05-24 19:13, Sevan / Venture37 wrote: > 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 I've seen these too, and it seems clang produces debug info which ctfconvert can't handle, for some reason. However, in my case, the kernel build doesn't abort at all, it continues and all the object files seem to work just fine. I don't know much much about the dtrace/ctfconvert stuff though, so I will have to ask somebody else to step up to investigate, and hopefully fix it. :) ... > 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 Ah, I think that it works for me, because I don't define STRIP to empty. Just as an experiment, can you try commenting that setting, and do a clean build of your kernel?