Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2018 17:35:31 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r335292 - stable/11/sys/modules
Message-ID:  <201806171735.w5HHZVZP027682@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sun Jun 17 17:35:30 2018
New Revision: 335292
URL: https://svnweb.freebsd.org/changeset/base/335292

Log:
  MFC r334947:
  
  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>

Modified:
  stable/11/sys/modules/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/modules/Makefile
==============================================================================
--- stable/11/sys/modules/Makefile	Sun Jun 17 17:32:32 2018	(r335291)
+++ stable/11/sys/modules/Makefile	Sun Jun 17 17:35:30 2018	(r335292)
@@ -632,7 +632,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?201806171735.w5HHZVZP027682>