From owner-freebsd-toolchain@FreeBSD.ORG Thu Feb 20 17:26:16 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EEDE587; Thu, 20 Feb 2014 17:26:16 +0000 (UTC) Received: from vlakno.cz (mail.vlakno.cz [95.129.96.251]) by mx1.freebsd.org (Postfix) with ESMTP id D7CCB1963; Thu, 20 Feb 2014 17:26:15 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id 7B0531CC5562; Thu, 20 Feb 2014 18:26:08 +0100 (CET) Date: Thu, 20 Feb 2014 18:26:08 +0100 From: Roman Divacky To: "Justin T. Gibbs" Subject: Re: ctfconvert broken for C++ objects? Message-ID: <20140220172608.GA85526@freebsd.org> References: <216B816A-8ADA-438F-B834-8C386C5BC460@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <216B816A-8ADA-438F-B834-8C386C5BC460@FreeBSD.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 17:26:16 -0000 The dwarf backend for ctfconvert was completely reimplemented a few weeks ago. It's now based on elftoolchain libdwarf. Test on current. On Wed, Feb 19, 2014 at 05:16:35PM -0700, Justin T. Gibbs wrote: > I noticed that ctfmerge was warning about missing CTF data when compiling ?PROG_CXX? programs. I tracked this down to missing ctfconvert calls when compiling C++ objects. Unfortunately, ctfconvert segfaults in libdwarf on all of the C++ code I tried. Attached is a quick hack to avoid the segfault, but I?m hoping someone here with more dwarf experience can point me in the right direction for a real fix. Is this a known issue? > > I?m testing this on a FreeBSD stable/9 from ~November of last year. > > Thanks, > Justin > > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org"