From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 26 18:06:24 2013 Return-Path: Delivered-To: freebsd-ppc@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 3646DF57 for ; Tue, 26 Nov 2013 18:06:24 +0000 (UTC) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B80DF2172 for ; Tue, 26 Nov 2013 18:06:23 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id el20so4556512lab.37 for ; Tue, 26 Nov 2013 10:06:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=uvBjl6GDB3F/ZjHcRmUbvja8fJnq9fzNNuOMHWusx7k=; b=TXiQ6spLtDCV8vfy2IuiwuiDMe9gbkm2R4PTPRn9TCpF8AxE++LKeo+mSssrkGXLFK MdCCaGrRFaGxfccx/ocJy5MQE+voaFIwE+EFwqLdBx3X+T0iXAkgDpmHGeGa7KF0xnDO ZDJCrOaoDZBdkpBuzcq4cbRy/8bWmsMo9fYCrV3K+YWlErr+Q1K9sUlqzF/HTcqdBgCR DV97WaM7Qwqu+H0tOK4wpMclO2Bxl1qS2J91NvGfwtHqjPY2e+RHr7B6BccVy4LfYK7I ZMjpgkledClmnWaP3z6C0w7hDZpHWLaFBt3CbuP3/94ClKXsjEGUvn8BTGaAQ1U2G0F8 BReA== X-Gm-Message-State: ALoCoQlpE2/XLubZIlOHkvP1UD3e8HX3cMDWgPPSVaJUPabizT/XkfEkA2Hb0fzBZd7Sd3Txx839 X-Received: by 10.152.197.35 with SMTP id ir3mr97808lac.54.1385489176159; Tue, 26 Nov 2013 10:06:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.133.74 with HTTP; Tue, 26 Nov 2013 10:05:56 -0800 (PST) X-Originating-IP: [108.176.158.82] In-Reply-To: <201310111820.r9BIK00j086560@freefall.freebsd.org> References: <201310111817.r9BIH95q041564@mastodon.meroh.net> <201310111820.r9BIK00j086560@freefall.freebsd.org> From: Julio Merino Date: Tue, 26 Nov 2013 13:05:56 -0500 Message-ID: Subject: Re: powerpc/182908: Unable to build debug binaries with clang on powerpc64 To: FreeBSD-gnats-submit@freebsd.org, freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list 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:06:24 -0000 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