On 22 Jul 2018, at 21:59, Stefan Hagen <sh+freebsd-current_at_codevoid.de> wrote: > > 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 What does "cc -v" show? If it is clang 6.0.1, you are missing the 6.0.1 intrinsics headers, located in /usr/lib/clang/6.0.1/include. As a quick hack, you can try copying the /usr/lib/clang/6.0.0 headers there, or attempt to run "make install" in /usr/src/lib/clang/headers. -Dimitry
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC