From owner-freebsd-ppc@freebsd.org Tue Aug 30 17:23:15 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF2E7BC9146 for ; Tue, 30 Aug 2016 17:23:15 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-26.reflexion.net [208.70.210.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D0D2273 for ; Tue, 30 Aug 2016 17:23:14 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26423 invoked from network); 30 Aug 2016 17:24:00 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 30 Aug 2016 17:24:00 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Tue, 30 Aug 2016 13:23:05 -0400 (EDT) Received: (qmail 17592 invoked from network); 30 Aug 2016 17:23:05 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 30 Aug 2016 17:23:05 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.104] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 66E6BB1E001; Tue, 30 Aug 2016 10:23:09 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: From llvm: Fwd: [Bug 26761] clang 3.8.0 messes up __builtin_dwarf_cfa (), at least for TARGET_ARCH=powerpc and powerpc64 (gcc/g++ mismatch) [patch under review] From: Mark Millard In-Reply-To: <956E5C77-9B86-46D3-8935-7B4BF3203236@dsl-only.net> Date: Tue, 30 Aug 2016 10:23:11 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1FDE13A7-93C2-48E9-B1D0-84EDFAEE419D@dsl-only.net> References: <956E5C77-9B86-46D3-8935-7B4BF3203236@dsl-only.net> To: FreeBSD PowerPC ML , FreeBSD Toolchain X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 17:23:15 -0000 [Top post of new status.] My original analysis of the bad powerpc and powerpc64 code generated by = clang 3.8.0 for __builtin_dwarf_cfa() has been confirmed and a patch is = out for review (likely targeting trunk). Begin forwarded message: > From: bugzilla-daemon at llvm.org > Subject: [Bug 26761] clang 3.8.0 messes up __builtin_dwarf_cfa (), at = least for TARGET_ARCH=3Dpowerpc and powerpc64 (gcc/g++ mismatch) > Date: August 30, 2016 at 9:13:15 AM PDT > To: >=20 >=20 > Comment # 9 on bug 26761 from Hal Finkel > Patch posted for review: https://reviews.llvm.org/D24038 >=20 > You are receiving this mail because: > =E2=80=A2 You reported the bug. =3D=3D=3D Mark Millard markmi at dsl-only.net On 2016-Aug-29, at 11:46 PM, Mark Millard = wrote: It looks like Hal Finkel looked at llvm bug 26761 enough to reclassify = it from llvm Codegen for clang 3.8 to "Common Code Generator Code" for = libraries on trunk. (Not a claim of a fix, just a reclassification.) = This is one of the bugs listed in "[Bug 25780] [META] Using Clang as the = FreeBSD/ppc system compiler" as known to be blocking the use of clang = for powerpc. With the recent addition of -mlongcall [llvm bug 19098 is now listed as = fixed on trunk], this may hint that some clang related work is = overlapping with what FreeBSD happens to need for powerpc64 and/or = powerpc. As no comments were added I'm not sure if it was looked at enough for my = original analysis of the code generated to have any independent = verification yet. Some of my original submittals got a cross check when = I submitted them and the comments reflect the process in such cases. = This one did not get such activity at the time or since. =3D=3D=3D Mark Millard markmi at dsl-only.net Begin forwarded message: From: bugzilla-daemon at llvm.org Subject: [Bug 26761] clang 3.8.0 messes up __builtin_dwarf_cfa (), at = least for TARGET_ARCH=3Dpowerpc and powerpc64 (gcc/g++ mismatch) Date: August 29, 2016 at 7:50:28 PM PDT To: Hal Finkel changed bug 26761=20 What Removed Added CC hfinkel at anl.gov Component LLVM Codegen Common Code Generator Code =20 Version 3.8 trunk Assignee unassignedclangbugs@nondot.org = unassignedbugs@nondot.org Product clang libraries You are receiving this mail because: =E2=80=A2 You reported the bug.