From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 07:53:57 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A6BE7A9 for ; Tue, 15 Jan 2013 07:53:57 +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 048A9222 for ; Tue, 15 Jan 2013 07:53:57 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:d8d8:1399:7768:60b9] (unknown [IPv6:2001:7b8:3a7:0:d8d8:1399:7768:60b9]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 590635C37; Tue, 15 Jan 2013 08:53:56 +0100 (CET) Message-ID: <50F50B14.5090102@FreeBSD.org> Date: Tue, 15 Jan 2013 08:53:56 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20121128 Thunderbird/18.0 MIME-Version: 1.0 To: George Mitchell Subject: Re: ctfconvert again References: <50F49B50.3080507@m5p.com> In-Reply-To: <50F49B50.3080507@m5p.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 15 Jan 2013 07:53:57 -0000 On 2013-01-15 00:57, George Mitchell wrote: > So I updated my FreeBSD machine to 9.1-RELEASE in the hope of getting > past the ctfconvert problem that causes a build of 10-CURRENT to say: > > ERROR: ctfconvert: failed to initialize DWARF: Unimplemented code at > [dwarf_init_attr(400)] > > while compiling every kernel source file. Then I checked out head as > of 245422 into a different partition and tried "make buildworld" (ran > okay) and "make buildkernel" (failed with the same error as before). This is because clang outputs dwarf attributes which libdwarf did not understand before r239872. However, that fix to libdwarf did not make it into 9.1-RELEASE, unfortunately. To fix it locally, you can apply r239872 to your local source tree, and then rebuild and reinstall libdwarf. The proper solution would be to make ctfconvert a bootstrap tool for the kernel build, but it is more complicated...