Build failes cause of padlock_cipher.c:90 / commit: bbd1562a4992

From: Stefan Hagen <freebsd-current_at_textmail.me>
Date: Wed, 31 Jan 2018 19:09:48 +0100
Hello,

The kernel build is currently breaking for me:

Error:
  /usr/src/sys/crypto/via/padlock_cipher.c:90:14: error: invalid instruction mnemonic '.byte'
                  "popf                           \n\t"

  <inline asm>:3:2: note: instantiated into assembly here
          rep
          ^~~
  1 error generated.
  *** [padlock_cipher.o] Error code 1

  make[4]: stopped in /usr/src/sys/modules/padlock
  1 error

  make[4]: stopped in /usr/src/sys/modules/padlock
  *** [all_subdir_padlock] Error code 2

After reverting the change introduced with bbd1562a4992, it works again.
I'm building GENERIC-NODEBUG on skylake.

make.conf:
  MALLOC_PRODUCTION=yes
  WITHOUT_DEBUG=yes
  MK_PROFILE=no
  CPUTYPE?=skylake

Best Regards,
Stefan
Received on Wed Jan 31 2018 - 17:18:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC