On 27 Oct 2017, at 17:09, Michael Jung <mi...@mikej.com> wrote: > > 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 > r...@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 > > > [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) > > /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
signature.asc
Description: Message signed with OpenPGP