Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2015 02:35:29 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278305 - head/lib/csu/powerpc64
Message-ID:  <201502060235.t162ZTqB008453@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502060235.t162ZTqB008453>