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]

Mark Millard markmi at dsl-only.net
Tue Aug 30 17:29:55 UTC 2016


[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=powerpc and powerpc64 (gcc/g++ mismatch)
> Date: August 30, 2016 at 9:13:15 AM PDT
> To: <markmi at dsl-only.net>
> 
> 
> Comment # 9 on bug 26761 from Hal Finkel
> Patch posted for review: https://reviews.llvm.org/D24038
> 
> You are receiving this mail because:
> 	• You reported the bug.

===
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.


===
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=powerpc 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 
What	Removed	Added
CC	 	hfinkel at anl.gov
Component	LLVM Codegen	Common Code Generator Code            
Version	3.8	trunk
Assignee	unassignedclangbugs at nondot.org	unassignedbugs at nondot.org
Product	clang	libraries

You are receiving this mail because:
	• You reported the bug.




More information about the freebsd-toolchain mailing list