From 432ea6dda0c9a652cb29b6445bd247696b745b07 Mon Sep 17 00:00:00 2001
From: jhibbits <jhibbits@FreeBSD.org>
Date: Fri, 6 Feb 2015 02:35:29 +0000
Subject: [PATCH] Add a comment explaining why gcc is needed.

X-MFC-With:	278231
MFC after:	2 weeks
---
 lib/csu/powerpc64/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/csu/powerpc64/Makefile b/lib/csu/powerpc64/Makefile
index dd6e9fb2b501..1c93355b7c48 100644
--- a/lib/csu/powerpc64/Makefile
+++ b/lib/csu/powerpc64/Makefile
@@ -9,6 +9,10 @@ CFLAGS+=	-I${.CURDIR}/../common \
 		-I${.CURDIR}/../../libc/include \
 		-mlongcall
 
+# XXX: See the log for r232932 as to why the above -mlongcall is needed.  Since
+# clang doesn't support -mlongcall, and testing shows a clang linked with a
+# clang-built csu segfaults, this must currently be compiled with gcc.  Once
+# clang supports -mlongcall, or we get a fixed ld, this can be revisited.
 CC:=		gcc
 COMPILER_TYPE:=	gcc