Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2016 10:23:11 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
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]
Message-ID:  <1FDE13A7-93C2-48E9-B1D0-84EDFAEE419D@dsl-only.net>
In-Reply-To: <956E5C77-9B86-46D3-8935-7B4BF3203236@dsl-only.net>
References:  <bug-26761-7604-YTM0iUoPnV@http.llvm.org/bugs/> <956E5C77-9B86-46D3-8935-7B4BF3203236@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[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: <markmi at dsl-only.net>
>=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 <markmi at dsl-only.net> =
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: <markmi at dsl-only.net>

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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1FDE13A7-93C2-48E9-B1D0-84EDFAEE419D>