From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 00:20:42 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 280502E0 for ; Tue, 15 Jan 2013 00:20:42 +0000 (UTC) (envelope-from prvs=172763643c=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id A418D75D for ; Tue, 15 Jan 2013 00:20:41 +0000 (UTC) Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50001710927.msg for ; Tue, 15 Jan 2013 00:20:38 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Tue, 15 Jan 2013 00:20:38 +0000 (not processed: message from valid local sender) X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=172763643c=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-current@freebsd.org Message-ID: <38C9A294A26F4B3CACC0191DEE722B21@multiplay.co.uk> From: "Steven Hartland" To: "George Mitchell" , References: <50F49B50.3080507@m5p.com> Subject: Re: ctfconvert again Date: Tue, 15 Jan 2013 00:21:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 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 00:20:42 -0000 ----- 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 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.