svn commit: r278305 - head/lib/csu/powerpc64

Justin Hibbits jhibbits at FreeBSD.org
Fri Feb 6 02:35:30 UTC 2015


Author: jhibbits
Date: Fri Feb  6 02:35:29 2015
New Revision: 278305
URL: https://svnweb.freebsd.org/changeset/base/278305

Log:
  Add a comment explaining why gcc is needed.
  
  X-MFC-With:	278231
  MFC after:	2 weeks

Modified:
  head/lib/csu/powerpc64/Makefile

Modified: head/lib/csu/powerpc64/Makefile
==============================================================================
--- head/lib/csu/powerpc64/Makefile	Fri Feb  6 01:42:17 2015	(r278304)
+++ head/lib/csu/powerpc64/Makefile	Fri Feb  6 02:35:29 2015	(r278305)
@@ -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
 


More information about the svn-src-head mailing list