Date: Mon, 28 May 2012 21:45:13 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Sevan / Venture37 <venture37@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Kernel builds failing with lots of "failed to retrieve array bounds" errors Message-ID: <4FC3D5C9.5090807@FreeBSD.org> In-Reply-To: <4FBE9EFA.5050906@gmail.com> References: <4FBE6C22.6080109@gmail.com> <4FBE8A4D.9000607@FreeBSD.org> <4FBE9EFA.5050906@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-05-24 22:50, Sevan / Venture37 wrote: > On 24/05/2012 20:21, Dimitry Andric wrote: >> 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. > > Updated to r235926 & kernel build completed successfully. Note, in r236149 I have pulled in a change from upstream clang, which should fix the root cause of the "failed to retrieve array bounds" messages. For flexible array members (e.g. arrays at the end of a struct with no specified size), clang didn't produce correct debug information. This confused ctfconvert, causing it to bail out.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC3D5C9.5090807>