Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2017 13:23:51 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Michael Jung <mikej@mikej.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: fatal error: 'wmmintrin.h' file not found
Message-ID:  <5813811C-24F9-4C88-9A25-FCC4EADEC7CD@FreeBSD.org>
In-Reply-To: <a955f60887e9f71fd102131416d15337@mikej.com>
References:  <a955f60887e9f71fd102131416d15337@mikej.com>

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

--Apple-Mail=_D4C4208F-1EC6-4446-9C34-9E43FD0DBC30
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 27 Oct 2017, at 17:09, Michael Jung <mikej@mikej.com> wrote:
>=20
> I have started having problem building current more recent versions of =
current.
>=20
> I am currently running
>=20
> FreeBSD bsd11 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320869: Mon Jul 10 =
13:57:55 UTC 2017     =
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
> 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
>=20
>=20
> [root@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)
>=20
> /etc/make.conf and /etc/src.conf are empty.
>=20
> I have
>=20
> cd /obj
> rm -rf
>=20
> and made sure no remaining files or directories remain.
>=20
> make buildwould -s
>=20
>=20
> continues to fail as shown below.
>=20
>=20
>=20
> cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/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=3Dkernel -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__=3D__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=3Diso9899: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


--Apple-Mail=_D4C4208F-1EC6-4446-9C34-9E43FD0DBC30
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWfRoxwAKCRCwXqMKLiCW
o5kuAKD7dQdzkcC+j0r/2xPjCVOPgECLBwCgkI5gSTSU0GWMrBEy3Ru4bkDmyMg=
=w7xf
-----END PGP SIGNATURE-----

--Apple-Mail=_D4C4208F-1EC6-4446-9C34-9E43FD0DBC30--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5813811C-24F9-4C88-9A25-FCC4EADEC7CD>