summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2015-02-06 02:35:29 +0000
committerjhibbits <jhibbits@FreeBSD.org>2015-02-06 02:35:29 +0000
commit432ea6dda0c9a652cb29b6445bd247696b745b07 (patch)
treec304771f6be8935c0815b16d5379652c973b01fe /lib/csu
parentdb1e77b44af714134d737b856c01debe697b4fcf (diff)
downloadFreeBSD-src-432ea6dda0c9a652cb29b6445bd247696b745b07.zip
FreeBSD-src-432ea6dda0c9a652cb29b6445bd247696b745b07.tar.gz
Add a comment explaining why gcc is needed.
X-MFC-With: 278231 MFC after: 2 weeks
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/powerpc64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/csu/powerpc64/Makefile b/lib/csu/powerpc64/Makefile
index dd6e9fb..1c93355 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
OpenPOWER on IntegriCloud