From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 01:08:59 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 0870C204 for ; Tue, 15 Jan 2013 01:08:59 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (ip-2-1-0-2.r03.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) by mx1.freebsd.org (Postfix) with ESMTP id 9C664950 for ; Tue, 15 Jan 2013 01:08:58 +0000 (UTC) Received: from wonderland.m5p.com (localhost [IPv6:::1]) by mailhost.m5p.com (8.14.5/8.14.5) with ESMTP id r0F18qa2030656; Mon, 14 Jan 2013 20:08:57 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <50F4AC24.7060401@m5p.com> Date: Mon, 14 Jan 2013 20:08:52 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120908 Thunderbird/15.0 MIME-Version: 1.0 To: Steven Hartland Subject: Re: ctfconvert again References: <50F49B50.3080507@m5p.com> <38C9A294A26F4B3CACC0191DEE722B21@multiplay.co.uk> In-Reply-To: <38C9A294A26F4B3CACC0191DEE722B21@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 10.100.0.3 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:::1]); Mon, 14 Jan 2013 20:08:58 -0500 (EST) 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 01:08:59 -0000 On 01/14/13 19:21, Steven Hartland wrote: > > ----- Original Message ----- From: "George Mitchell" > > To: > Sent: Monday, January 14, 2013 11:57 PM > Subject: ctfconvert again > > >> 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 > > I believe the location of ctfconvert which is used is broken so unless > your system has a version of ctfconvert which includes the attr fix > you will always get this :( > > The reason I believe this is:- > make buildenv > Entering world for amd64:amd64 > # which ctfconvert > /usr/bin/ctfconvert > # which cc > /usr/obj/usr/home/smh/freebsd/base/head/tmp/usr/bin/cc > > So where I believe ctfconvert should be being picked up from the > toolchain its not. > > I've had a quick dig in the Makefile's but I don't know them well at > all and so couldn't find an easy fix :( > > The workaround I'm using is: > make -DNO_CTF buildkernel Works like a charm; thanks! -- George Mitchell > > If someone who better knows the make system could suggest a patch > so that ctfconvert (and potentially other tools) are build and > detected in the toolchain that would be most appreciated. > > Regards > Steve > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and > the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, printing > or otherwise disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission > please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk.