From owner-freebsd-toolchain@FreeBSD.ORG Fri Jun 10 15:58:37 2011 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDB5E1065676 for ; Fri, 10 Jun 2011 15:58:37 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [46.28.110.116]) by mx1.freebsd.org (Postfix) with ESMTP id 9241B8FC0C for ; Fri, 10 Jun 2011 15:58:37 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id BE1D57F387F; Fri, 10 Jun 2011 17:58:35 +0200 (CEST) Date: Fri, 10 Jun 2011 17:58:35 +0200 From: Roman Divacky To: Marcel Moolenaar Message-ID: <20110610155835.GA91825@freebsd.org> References: <20110610072512.GA35144@freebsd.org> <5A6AC098-FB0D-474A-B92D-190121CA400F@xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5A6AC098-FB0D-474A-B92D-190121CA400F@xcllnt.net> User-Agent: Mutt/1.4.2.3i Cc: toolchain@freebsd.org Subject: Re: llvm-ia64 is off the ground... X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 15:58:37 -0000 > Unfortunately, the FreeBSD build doesn't give me goodies like > llc or bugpoint so there may be value in adding that to the > FreeBSD build as optional or developer-only build targets... > > Thoughts anyone? I know of a better solution :) Just build llvm libraries as shared and use vanilla llvm opt/llc/etc that are linked dynamically. It should just work. > >> error: unable to interface with target machine > >> 1 error generated. > > > > You have to create and register IA64InstPrinter. Check MSP430/InstPrinter/* > > and and MSP430AsmPrinter.cpp:createMSP430MCInstPrinter(). > > Ah, ok... > > BTW: these little tips save me hours of debugging. Let me know how it went. I am eager to see progress on this :)