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