From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 26 18:10:03 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0595A162 for ; Tue, 26 Nov 2013 18:10:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E939D21AB for ; Tue, 26 Nov 2013 18:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAQIA2MW019335 for ; Tue, 26 Nov 2013 18:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAQIA2AN019334; Tue, 26 Nov 2013 18:10:02 GMT (envelope-from gnats) Date: Tue, 26 Nov 2013 18:10:02 GMT Message-Id: <201311261810.rAQIA2AN019334@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org Cc: From: Julio Merino Subject: Re: powerpc/182908: Unable to build debug binaries with clang on powerpc64 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Julio Merino List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 18:10:03 -0000 The following reply was made to PR powerpc/182908; it has been noted by GNATS. From: Julio Merino To: FreeBSD-gnats-submit@freebsd.org, freebsd-ppc@freebsd.org Cc: Subject: Re: powerpc/182908: Unable to build debug binaries with clang on powerpc64 Date: Tue, 26 Nov 2013 13:05:56 -0500 I just realized that a very useful reply to this PR was sent directly only to me and nobody else... so copy/pasting the relevant text here. Omitting the author's name because, well, the email was private (and with some manual edits): ---- Regarding the .cfi problems on ppc64, you can either 1) Use 'clang -integrated-as' which tells clang to use its own integrated asm to assemble sources. 2) Use 'clang -fno-dwarf2-cfi-asm' to tell clang to not use .cfi directives. For some reason those are not implemented in ppc64 binutils. -integrated-as on PPC64 can assemble world/kernel. ---- On Fri, Oct 11, 2013 at 2:20 PM, wrote: > Thank you very much for your problem report. > It has the internal identification `powerpc/182908'. > The individual assigned to look at your > report is: freebsd-ppc. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=182908 > >>Category: powerpc >>Responsible: freebsd-ppc >>Synopsis: Unable to build debug binaries with clang on powerpc64 >>Arrival-Date: Fri Oct 11 18:20:00 UTC 2013 -- Julio Merino / @jmmv