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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to