From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 07:58:30 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EFD64993; Tue, 15 Jan 2013 07:58:30 +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 ADE7325D; Tue, 15 Jan 2013 07:58:30 +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 135395C44; Tue, 15 Jan 2013 08:58:30 +0100 (CET) Message-ID: <50F50C25.5090308@FreeBSD.org> Date: Tue, 15 Jan 2013 08:58:29 +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: Pedro Giffuni Subject: Re: ctfconvert again References: <50F4D2AF.2020700@FreeBSD.org> In-Reply-To: <50F4D2AF.2020700@FreeBSD.org> 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:58:31 -0000 On 2013-01-15 04:53, Pedro Giffuni 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). >> >> Do I have to build an early version of head before I can build the >> current version of head? -- George Mitchell >> > FWIW; > > While looking at NetBSD's Dtrace enhancements I found that > this is caused[1] by a known bug in gcc. It was fixed in our base gcc > recently and MFC'd. > > Last time I looked, upstream gcc hasn't fixed it, and I am trying > to get the illumos guys to review the NetBSD workaround before > we adopt it. No, this is most likely not a gcc issue. I am fairly certain it is fixed by commit r239872 to libdwarf, but as I noted in another reply, this fix did not make it into 9.1-RELEASE.