fatal error: 'immintrin.h' file not found

From: Stefan Hagen <sh+freebsd-current_at_codevoid.de>
Date: Sun, 22 Jul 2018 21:59:00 +0200
Hello,

I think I broke something and I can't figure out what it is. Since a few 
weeks, I'm not able to build current anymore.

make buildkernel, buildworld, toolchain - all abort with the following 
error:

--- lz_encoder.o ---
In file included from /usr/src/contrib/xz/src/liblzma/lz/lz_encoder.c:23:
/usr/src/contrib/xz/src/liblzma/common/memcmplen.h:19:11: fatal error: 'immintrin.h' file not found
#       include <immintrin.h>
                ^~~~~~~~~~~~~
1 error generated.

Find shows me, that immintrin.h can be found in the following locations:

$ find / -name "immintrin.h"
/usr/lib/clang/4.0.0/include/immintrin.h
/usr/lib/clang/3.8.0/include/immintrin.h
/usr/lib/clang/5.0.0/include/immintrin.h
/usr/lib/clang/6.0.0/include/immintrin.h
/usr/lib/clang/5.0.1/include/immintrin.h
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/clang/6.0.1/include/immintrin.h
/usr/obj/usr/src/tmp/usr/lib/clang/5.0.0/include/immintrin.h
/usr/src/contrib/llvm/tools/clang/lib/Headers/immintrin.h
/usr/local/llvm60/lib/clang/6.0.1/include/immintrin.h
/compat/linux/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/immintrin.h

I'm usually compiling with meta-mode and ccache. I've turned off both
and still encounter the same error.

How can I figure out what is missing here?

Best Regards,
Stefan

-- 
Stefan Hagen
Mail: sh_at_codevoid.de | encryption key in header.
gopher://codevoid.de | https://codevoid.de
Received on Sun Jul 22 2018 - 17:59:09 UTC

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