missing header files: wmmintrin.h, emmintrin.h

From: Maku Bex <zagazaw2004_at_gmail.com>
Date: Thu, 31 Oct 2024 02:45:29 UTC
Hello, 

 

 

I'm attempting to build kernel [make kernel KERNCONF=GENERIC-NODEBUG] on
revision d0f9b0bd19bf5dc4031164fd26c5bbc4bab1cc74 and I keep getting the
following hard stop:

 

 

/usr/src/sys/crypto/aesni/aesni_ghash.c:73:10: error: 'wmmintrin.h' file not
found with <angled> include; use "quotes" instead

   73 | #include <wmmintrin.h>

      |          ^~~~~~~~~~~~~

      |          "wmmintrin.h"

In file included from /usr/src/sys/crypto/aesni/aesni_ghash.c:73:

/usr/src/sys/crypto/aesni/wmmintrin.h:17:10: fatal error: 'emmintrin.h' file
not found

   17 | #include <emmintrin.h>

      |          ^~~~~~~~~~~~~

2 errors generated.

*** Error code 1

 

 

The header files allegedly missing are located here:

 

/usr/src/contrib/llvm-project/clang/lib/Headers/wmmintrin.h

/usr/src/sys/crypto/aesni/wmmintrin.h

/usr/local/llvm19/lib/clang/19/include/wmmintrin.h

 

/usr/src/contrib/llvm-project/clang/lib/Headers/emmintrin.h

/usr/local/llvm19/lib/clang/19/include/emmintrin.h

 

Happy Hacking,

 

-----BEGIN PGP PUBLIC KEY BLOCK-----

 

mJMEZlPMfxMFK4EEACMEIwQA/hAHZ4KNJLw5eRl6DAOyzkuHQ7PaK2hTYLVIPoxC

sCe8lB/hzET5KxMW9GXgFgPaSP7Es+ul6ajyq8pr9DeGnXUAFymi7GoT1kLIqgrn

X+rDAwMk9JNEElTmVNvgKWv/G+pSg2rAQ8sIw6smgckA0CaX1JdcNavrHDgKMO4u

Duo44Te0BkpPTUlTTYjbBBMTCgBBFiEENyUvu5bQVBXM019e8anbed+sQ8YFAmZT

zH8CGwMFCQHnaREFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQ8anbed+s

Q8Y5BgIHcX19jz0KP89uTmqvLGZcKsITDJKweAnccCZRS8hvXT8JBwR1LyxsBBKF

++eN2JJasZLo+s6sy7pDMN+9z4Gkdy0CCOj+arfLdvajfzdK4QeKpINfpa2SkQD1

CP98lvfI/luIbetUVW+qNDkzT1jZphYuzgsCaofTGCIQpFk19q22ZcZquJcEZlPM

fxIFK4EEACMEIwQANy4VvpnTHneZipCPwzVJnMN82coCudRAiL2i2m3GPA06lRtU

njcn9r9Sm26A0sajwc3kQw/ekWrHXpXV0aL076cAUW9GKYDljIHVlr76wgHbLt6q

BX5VkA6xS0cq3skbMEI0QpIqIK81Yf0z8wfyF5uqAgNPUpY4nHMV9S856JB2VDQD

AQoJiMEEGBMKACYWIQQ3JS+7ltBUFczTX17xqdt536xDxgUCZlPMfwIbDAUJAedp

EQAKCRDxqdt536xDxjIuAgjacZCttPWpKGfMbnNWePz6t9rcMUb496tSWfKRActr

Rco8lSaDNTVohT/6hLZ5wUX5NFUqTb+kOXJcUGHGbnw2KQIJAQu1m9zEP5XdWmFi

SvGg1NHW2kzqAvFsG37flbwrGRu5fmTnS/LZ/oPzOCuwU6F+o1q0E7gLwFwnzD93

riKeabdd

=iCV+

-----END PGP PUBLIC KEY BLOCK-----