Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2015 15:41:29 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r278678 - stable/10/sys/conf
Message-ID:  <201502131541.t1DFfTZ3038529@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Feb 13 15:41:28 2015
New Revision: 278678
URL: https://svnweb.freebsd.org/changeset/base/278678

Log:
  MFC r276645:
  
    Don't allow clang to use fpu instructions or registers in kernel modules.

Modified:
  stable/10/sys/conf/kmod.mk
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/conf/kmod.mk
==============================================================================
--- stable/10/sys/conf/kmod.mk	Fri Feb 13 15:32:31 2015	(r278677)
+++ stable/10/sys/conf/kmod.mk	Fri Feb 13 15:41:28 2015	(r278678)
@@ -126,8 +126,10 @@ CFLAGS+=	-fno-omit-frame-pointer -mno-om
 .endif
 
 # Temporary workaround for PR 196407, which contains the fascinating details.
+# Don't allow clang to use fpu instructions or registers in kernel modules.
 .if ${MACHINE_CPUARCH} == arm
 CFLAGS.clang+=	-mllvm -arm-use-movt=0
+CFLAGS.clang+=	-mfpu=none
 .endif
 
 .if ${MACHINE_CPUARCH} == powerpc



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