Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 19:09:48 +0100
From:      Stefan Hagen <freebsd-current@textmail.me>
To:        freebsd-current@freebsd.org
Subject:   Build failes cause of padlock_cipher.c:90 / commit: bbd1562a4992
Message-ID:  <20180131180948.GA72247@ptrace.hagen.corp>

next in thread | raw e-mail | index | archive | help

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



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