Build error: 'emmintrin.h' file not found

From: Florian Limberger <flo_at_snakeoilproductions.net>
Date: Wed, 24 Jan 2018 17:34:33 +0100
Hi,

since a few days I can't build 12-CURRENT anymore, due to the 'emmintrin.h'
header missing.
I hope this is all relevant information:

uname -a:

FreeBSD $HOSTNAME 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327931: Sat Jan
13 23:47:34 CET 2018
root_at_$HOSTNAME:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
amd64

Build log (make buildworld, using meta mode):

--------------------------------------------------------------
>>> stage 3: cross tools
--------------------------------------------------------------
cd /usr/src; INSTALL="sh /usr/src/tools/install.sh"
TOOLS_PREFIX=/usr/obj/usr/src/amd64.amd64/tmp
PATH=/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/$
sr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/usr/obj/usr/src/amd64.amd64/tmp  MAKEFLAGS="-m
/usr/src/tools/build/mk  -m /usr/src/share/mk" make  -f Makefile.inc1  DE$
TDIR=  OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools'
OBJROOT='${OBJTOP}/'  MAKEOBJDIRPREFIX=  BOOTSTRAPPING=1200055
BWPHASE=cross-tools  SSP_CFLAGS=  MK_HTML=no NO_LINT=yes MK_MAN=no
-DNO_PIC MK$
PROFILE=no -DNO_SHARED  -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no
MK_CLANG_EXTRAS=no MK_CLANG_FULL=no  MK_LLDB=no MK_TESTS=no  MK_LLD=yes
MK_INCLUDES=yes  TARGET=amd64 TARGET_ARCH=amd64  MK_GDB=no MK_LLD_I$
_LD=yes MK_TESTS=no cross-tools
===> lib/clang (obj,all,install)
===> lib/clang/libllvm (all)
===> lib/clang/libclang (all)
Building
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang/Basic/SourceManager.o
/usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1175:10:
fatal error: 'emmintrin.h' file not found
#include <emmintrin.h>
         ^~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib/clang/libclang
.ERROR_TARGET='Basic/SourceManager.o'
.ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang/Basic_SourceManager.o.meta'
.MAKE.LEVEL='4'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='c++  -O2 -pipe
-I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang
-I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm
-I/usr/src/contrib/llvm/tools/clang/lib/Basic -I/$
sr/src/contrib/llvm/tools/clang/lib/Driver
-I/usr/src/contrib/llvm/tools/clang/include -I/usr/src/lib/clang/include
-I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL
-D__STDC_LIMIT_MACROS -D__STDC$
CONSTANT_MACROS
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\"
-DDEFAULT_SYSROOT=\"/usr/obj/usr/src/amd64.amd64/tmp\"
-ffunction-sections -f$
ata-sections -Qunused-arguments
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include  -std=c++11
-fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c
/usr/src/contrib/llvm/tools/clang/lib/$
asic/SourceManager.cpp -o Basic/SourceManager.o;'
.CURDIR='/usr/src/lib/clang/libclang'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang'
.TARGETS='all'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20171028'
PATH='/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk
/etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk
/usr/src/share/mk/src.sys.obj.mk /usr/src/sha
re/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk
/etc/src.conf /usr/src/lib/clang/libclang/Makefile
/usr/src/share/mk/src.opts.mk /usr/src/sh
are/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk
/usr/src/share/mk/bsd.linker.mk /usr/src/lib/clang/clang.pre.mk
/usr/src/lib/clang/llvm.pre.m
k /usr/src/lib/clang/clang.build.mk /usr/src/lib/clang/llvm.build.mk
/usr/src/tools/build/mk/bsd.lib.mk /usr/src/share/mk/bsd.lib.mk
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/
share/mk/src.init.mk /usr/src/lib/clang/libclang/../Makefile.inc
/usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk
/usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk /usr/src/s
hare/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk
/usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk
/usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk
/usr/src/share/mk/bsd.o
bj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk
/usr/src/tools/build/mk/Makefile.boot'
.PATH='. /usr/src/lib/clang/libclang /usr/src/contrib/llvm/tools/clang/lib'
*** Error code 1

Stop.
make[3]: stopped in /usr/src/lib/clang
.ERROR_TARGET='all_subdir_lib/clang/libclang'
.ERROR_META_FILE=''
.MAKE.LEVEL='3'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='.PHONY'
.CURDIR='/usr/src/lib/clang'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang'
.TARGETS='all'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20171028'
PATH='/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk
/etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk
/usr/src/share/mk/src.sys.obj.mk /usr/src/sha
re/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk
/etc/src.conf /usr/src/lib/clang/Makefile /usr/src/share/mk/src.opts.mk
/usr/src/share/mk/bs
d.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk
/usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk
/usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src
/share/mk/local.init.mk /usr/src/share/mk/src.init.mk
/usr/src/lib/clang/../Makefile.inc'
.PATH='. /usr/src/lib/clang'
*** Error code 1

Stop.
make[2]: stopped in /usr/src
.ERROR_TARGET='cross-tools'
.ERROR_META_FILE=''
.MAKE.LEVEL='2'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='.PHONY'
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools'
.TARGETS='cross-tools'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20171028'
PATH='/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk
/etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk
/usr/src/share/mk/src.sys.obj.mk /usr/src/sha
re/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk
/etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk
/usr/src/share/mk/bsd
.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.linker.mk
/usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk
/usr/src/Makefile.libcompat /usr/src/share/mk/bsd.subdir.mk /usr/src/share/
mk/bsd.init.mk /usr/src/share/mk/local.init.mk
/usr/src/share/mk/src.init.mk'
.PATH='. /usr/src'
*** Error code 1

Stop.
make[1]: stopped in /usr/src
.ERROR_TARGET='_cross-tools'
.ERROR_META_FILE=''
.MAKE.LEVEL='1'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='.PHONY'
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/amd64.amd64'
.TARGETS='buildworld'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20171028'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src/amd64.amd64'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk
/etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk
/usr/src/share/mk/src.sys.obj.mk /usr/src/sha
re/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk
/etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk
/usr/src/share/mk/bsd
.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.linker.mk
/usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk
/usr/src/Makefile.libcompat /usr/src/share/mk/bsd.subdir.mk /usr/src/share/
mk/bsd.init.mk /usr/src/share/mk/local.init.mk
/usr/src/share/mk/src.init.mk'
.PATH='. /usr/src'
*** Error code 1

Stop.
make: stopped in /usr/src
.ERROR_TARGET='buildworld'
.ERROR_META_FILE=''
.MAKE.LEVEL='0'
MAKEFILE=''
.MAKE.MODE='normal'
_ERROR_CMD='.PHONY'
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/amd64.amd64'
.TARGETS='buildworld'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20171028'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src/amd64.amd64'

/etc/src.conf:

WITHOUT_PROFILE=YES
WITHOUT_DEBUG_FILES=YES
WITHOUT_TESTS=YES

/etc/src-env.conf:

WITH_META_MODE=YES


Regards


flo
Received on Wed Jan 24 2018 - 15:39:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC