Discussion:
fatal error: 'wmmintrin.h' file not found
(too old to reply)
Michael Jung
2017-10-27 15:09:42 UTC
Permalink
I have started having problem building current more recent versions of
current.

I am currently running

FreeBSD bsd11 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320869: Mon Jul 10
13:57:55 UTC 2017
***@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

I have tried nuking /usr/src and doing a fresh svn checkout of the
current running version
to see if I could rebuild even my current version r320869


[***@bsd11 /usr/src]# svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 320869
Node Kind: directory
Schedule: normal
Last Changed Author: bde
Last Changed Rev: 320869
Last Changed Date: 2017-07-10 05:00:35 -0400 (Mon, 10 Jul 2017)

/etc/make.conf and /etc/src.conf are empty.

I have

cd /obj
rm -rf

and made sure no remaining files or directories remain.

make buildwould -s


continues to fail as shown below.



cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp
-B/usr/obj/usr/src/tmp/usr/bin -c -O3 -pipe -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common
-g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value
-Wno-error-address-of-packed-member -Wno-error-cast-qual -mno-aes
-mno-avx -std=iso9899:1999 -Werror -mmmx -msse -msse4 -maes -mpclmul
/usr/src/sys/crypto/aesni/aesni_ghash.c
/usr/src/sys/crypto/aesni/aesni_ghash.c:75:10: fatal error:
'wmmintrin.h' file not found
#include <wmmintrin.h>
^~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/sys/modules/aesni
*** Error code 1

Stop.
make[3]: stopped in /usr/src/sys/modules
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src


Pointers?

Thank you.
Dimitry Andric
2017-10-28 11:23:51 UTC
Permalink
I have started having problem building current more recent versions of current.
I am currently running
I have tried nuking /usr/src and doing a fresh svn checkout of the current running version
to see if I could rebuild even my current version r320869
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 320869
Node Kind: directory
Schedule: normal
Last Changed Author: bde
Last Changed Rev: 320869
Last Changed Date: 2017-07-10 05:00:35 -0400 (Mon, 10 Jul 2017)
/etc/make.conf and /etc/src.conf are empty.
I have
cd /obj
rm -rf
and made sure no remaining files or directories remain.
make buildwould -s
continues to fail as shown below.
cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O3 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -Wno-error-cast-qual -mno-aes -mno-avx -std=iso9899:1999 -Werror -mmmx -msse -msse4 -maes -mpclmul /usr/src/sys/crypto/aesni/aesni_ghash.c
/usr/src/sys/crypto/aesni/aesni_ghash.c:75:10: fatal error: 'wmmintrin.h' file not found
#include <wmmintrin.h>
^~~~~~~~~~~~~
1 error generated.
*** Error code 1
Most likely, you didn't run buildworld before buildkernel. After
buildworld, wmmintrin.h should be found here:

/usr/obj/usr/src/tmp/usr/lib/clang/5.0.0/include/wmmintrin.h

-Dimitry

Loading...