[Differential] [Request, 16 lines] D2285: gcc 4.9.1 compilation fixes for aesni

rodrigc (Craig Rodrigues) phabric-noreply at FreeBSD.org
Sun Apr 12 21:42:58 UTC 2015


rodrigc created this revision.
rodrigc added a reviewer: jmg.
rodrigc added a subscriber: freebsd-toolchain.

REVISION SUMMARY
  In the version of gcc in the FreeBSD tree, this modification was made to
  the compiler:
  https://svnweb.freebsd.org/base?view=revision&revision=r242182
  
   #if __STDC_HOSTED__
   #include <mm_malloc.h>
   #endif
  
  A similar change was done to clang in the FreeBSD tree:
  https://svnweb.freebsd.org/base?view=revision&revision=r218893
  
  However, for external gcc toolchains, this patch is not in the compiler's header
  file.
  
  This patch to FreeBSD's aesni code allows compilation with an external
  gcc toolchain

REVISION DETAIL
  https://reviews.freebsd.org/D2285

AFFECTED FILES
  sys/crypto/aesni/aesencdec.h
  sys/crypto/aesni/aesni_ghash.c
  sys/crypto/aesni/aesni_wrap.c

To: rodrigc, jmg
Cc: freebsd-toolchain


More information about the freebsd-toolchain mailing list