From owner-svn-src-all@FreeBSD.ORG Fri Feb 13 15:41:29 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65EDD2DF; Fri, 13 Feb 2015 15:41:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51571F9F; Fri, 13 Feb 2015 15:41:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1DFfTdt038530; Fri, 13 Feb 2015 15:41:29 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1DFfTZ3038529; Fri, 13 Feb 2015 15:41:29 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201502131541.t1DFfTZ3038529@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Fri, 13 Feb 2015 15:41:29 +0000 (UTC) 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 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 15:41:29 -0000 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