Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2018 08:42:04 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334947 - head/sys/modules
Message-ID:  <201806110842.w5B8g4we013345@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Mon Jun 11 08:42:03 2018
New Revision: 334947
URL: https://svnweb.freebsd.org/changeset/base/334947

Log:
  Disable building aesni with base gcc
  
  Because base gcc does not support the required intrinsics, do not
  attempt to compile the aesni module with it.
  
  Noticed by:	Dan Allen <danallen46@gmail.com>
  MFC after:	3 days

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Mon Jun 11 08:11:35 2018	(r334946)
+++ head/sys/modules/Makefile	Mon Jun 11 08:42:03 2018	(r334947)
@@ -627,7 +627,9 @@ _aac=		aac
 _aacraid=	aacraid
 _acpi=		acpi
 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
+.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} > 40201
 _aesni=		aesni
+.endif
 .endif
 _amd_ecc_inject=amd_ecc_inject
 _amdsbwd=	amdsbwd



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