Date: Wed, 02 Dec 2020 09:20:00 +0900 From: KIRIYAMA Kazuhiko <kiri@truefc.org> To: FreeBSD Ports <freebsd-ports@freebsd.org> Cc: kiri@truefc.org Subject: devel/llvm11 failed to build Message-ID: <202012020020.0B20K0gv012754@kx.truefc.org>
next in thread | raw e-mail | index | archive | help
Hi, all I've changed Makefile so as to include *mmintrin.h as follows: --- /home/kiri/work/ports/head/devel/llvm11/Makefile 2020-11-09 12:30:07.000000000 +0900 +++ llvm11/Makefile 2020-11-29 17:12:58.544495000 +0900 @@ -59,8 +59,8 @@ # Disable assertions. They should be disabled by cmake, but USES=cmake # overrides -DCMAKE_*_FLAGS_RELEASE. -CFLAGS+= -DNDEBUG -CXXFLAGS+= -DNDEBUG +CFLAGS+= -DNDEBUG -DNO_WARN_X86_INTRINSICS -I${WRKSRC}/tools/clang/lib/Headers/ppc_wrappers +CXXFLAGS+= -DNDEBUG -DNO_WARN_X86_INTRINSICS -I${WRKSRC}/tools/clang/lib/Headers/ppc_wrappers OPTIONS_DEFINE= BE_AMDGPU CLANG DOCS EXTRAS LIT LLD LLD_LINK LLDB PYCLANG OPTIONS_DEFINE_aarch64= OPENMP and `make install' devel/llvm11, but failed to build: [2498/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/WindowsManifest -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/lib/WindowsManifest -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostic! s-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o -MF lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o.d -o lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/lib/WindowsManifest/WindowsManifestMerger.cpp [2499/5615] : && /usr/local/bin/cmake -E rm -f lib/libLLVMWindowsManifest.a && /usr/local/bin/ar qc lib/libLLVMWindowsManifest.a lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o && /usr/local/bin/ranlib lib/libLLVMWindowsManifest.a && : [2500/5615] /usr/bin/cc -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/count -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/count -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-ali! asing -MD -MT utils/count/CMakeFiles/count.dir/count.c.o -MF utils/count/CMakeFiles/count.dir/count.c.o.d -o utils/count/CMakeFiles/count.dir/count.c.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/count/count.c [2501/5615] : && /usr/bin/cc -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -Wl,--color-diagnostics -Wl,-allow-shlib-undefined -Wl,-z,origin -Wl,-O3 -Wl,--gc-sections utils/count/CMakeFiles/count.dir/count.c.o -o bin/count -L/usr/local/lib -Wl,-rpath,"\$ORIGIN/../lib:/usr/local/lib" -lpth! read && : [2502/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/PerfectShuffle -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/PerfectShuffle -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnost! ics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o -MF utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o.d -o utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/PerfectShuffle/PerfectShuffle.cpp [2503/5615] : && /usr/bin/c++ -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/port! s/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fstack-protector-strong -Wl,--color-diagnostics -Wl,-allow-shlib-undefined -Wl,-z,origin -Wl,-O3 -Wl,--gc-sections utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o -o bin/llvm-PerfectShuffle -L/usr/local/lib -Wl,-rpath,"\$ORIGIN/../lib:/usr/local/lib" -lpthread && : [2504/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/not -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/not -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-s! ections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT utils/not/CMakeFiles/not.dir/not.cpp.o -MF utils/not/CMakeFiles/not.dir/not.cpp.o.d -o utils/not/CMakeFiles/not.dir/not.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/not/not.cpp [2505/5615] : && /usr/bin/c++ -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/port! s/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fstack-protector-strong -Wl,--color-diagnostics -Wl,-allow-shlib-undefined -Wl,-z,origin -Wl,-O3 -Wl,--gc-sections utils/not/CMakeFiles/not.dir/not.cpp.o -o bin/not -L/usr/local/lib -Wl,-rpath,"\$ORIGIN/../lib:/usr/local/lib" -lpthread lib/libLLVMSupport.a -lz -lrt -lexecinfo -ltinfo -lpthread -lm lib/libLLVMDemangle.a && : [2506/5615] cd /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/.build/projects/openmp/runtime/src && /usr/local/bin/perl /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/tools/message-converter.pl --os=lin --prefix=kmp_i18n --enum=kmp_i18n_id.inc /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/i18n/en_US.txt [2507/5615] cd /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/.build/projects/openmp/runtime/src && /usr/local/bin/perl /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/tools/message-converter.pl --os=lin --prefix=kmp_i18n --default=kmp_i18n_default.inc /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/i18n/en_US.txt [2508/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Domp_EXPORTS -Iprojects/openmp/runtime/src -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/i18n -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/include -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/thirdparty/ittnotify -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local! /include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -std=gnu++14 -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -D _GNU_SOURCE -D _REENTRANT -std=c++14 -fno-exceptions -fno-rtti -Wno-covered-switch-default -Wno-strict-aliasing -Wno-s! witch -Wno-uninitialized -MD -MT projects/openmp/runtime/src/C! MakeFiles/omp.dir/kmp_alloc.cpp.o -MF projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o.d -o projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/kmp_alloc.cpp FAILED: projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Domp_EXPORTS -Iprojects/openmp/runtime/src -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/i18n -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/include -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/thirdparty/ittnotify -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fP! IC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -std=gnu++14 -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -D _GNU_SOURCE -D _REENTRANT -std=c++14 -fno-exceptions -fno-rtti -Wno-covered-switch-default -Wno-strict-aliasing -Wno-switch -Wno-u! ninitialized -MD -MT projects/openmp/runtime/src/CMakeFiles/om! p.dir/kmp_alloc.cpp.o -MF projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o.d -o projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/kmp_alloc.cpp In file included from /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/kmp_alloc.cpp:13: In file included from /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/kmp.h:110: /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers/xmmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error." #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error." ^ /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers/xmmintrin.h:1841:15: fatal error: 'xmmintrin.h' file not found #include_next <xmmintrin.h> ^~~~~~~~~~~~~ 2 errors generated. [2509/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/yaml-bench -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/yaml-bench -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-colo! r -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o -MF utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o.d -o utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/yaml-bench/YAMLBench.cpp [2510/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/FileCheck -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/FileCheck -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color ! -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o -MF utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o.d -o utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/FileCheck/FileCheck.cpp [2511/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Passes -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/lib/Passes -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction! -sections -fdata-sections -O2 -pipe -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o -MF lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o.d -o lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/lib/Passes/PassBuilder.cpp ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /var/ports/jdtpkxb/devel/llvm11 So I changed xmmintrin.h to include it's self: --- tools/clang/lib/Headers/ppc_wrappers/xmmintrin.h.org 2020-12-02 06:57:24.903927000 +0900 +++ tools/clang/lib/Headers/ppc_wrappers/xmmintrin.h 2020-12-02 06:58:28.959987000 +0900 @@ -1838,7 +1838,7 @@ //# include <emmintrin.h> #else -#include_next <xmmintrin.h> +#include_next "xmmintrin.h" #endif /* defined(__linux__) && defined(__ppc64__) */ #endif /* _XMMINTRIN_H_INCLUDED */ But stop with same error: FAILED: projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Domp_EXPORTS -Iprojects/openmp/runtime/src -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/i18n -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/include -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/thirdparty/ittnotify -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/He! aders/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -std=gnu++14 -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -D _GNU_SOURCE -D _REENTRANT -std! =c++14 -fno-exceptions -fno-rtti -Wno-covered-switch-default -Wno-strict-aliasing -Wno-switch -Wno-uninitialized -MD -MT projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -MF projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o.d -o projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/kmp_alloc.cpp In file included from /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/kmp_alloc.cpp:13: In file included from /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/projects/openmp/runtime/src/kmp.h:110: /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers/xmmintrin.h:1841:15: fatal error: 'xmmintrin.h' file not found #include_next "xmmintrin.h" ^~~~~~~~~~~~~ 1 error generated. [2509/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/yaml-bench -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/yaml-bench -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-v! irtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o -MF utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o.d -o utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/yaml-bench/YAMLBench.cpp [2510/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/FileCheck -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/FileCheck -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-vir! tual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o -MF utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o.d -o utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/utils/FileCheck/FileCheck.cpp [2511/5615] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Passes -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/lib/Passes -Iinclude -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/include -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor ! -Wstring-connversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -DNO_WARN_X86_INTRINSICS -I/var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/tools/clang/lib/Headers/ppc_wrappers -isystem /usr/local/include -fno-exceptions -std=c++14 -MD -MT lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o -MF lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o.d -o lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o -c /var/ports/work/var/ports/jdtpkxb/devel/llvm11/work/llvm-11.0.0.src/lib/Passes/PassBuilder.cpp ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /var/ports/jdtpkxb/devel/llvm11 May circumstances are as follows: root@jdtpkxb:~ # uname -a FreeBSD jdtpkxb 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r367712M: Tue Nov 17 01:35:26 JST 2020 root@msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 root@jdtpkxb:~ # svnlite info /usr/ports Path: /usr/ports Working Copy Root Path: /usr/ports URL: http://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: http://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 555444 Node Kind: directory Schedule: normal Last Changed Author: lwhsu Last Changed Rev: 555444 Last Changed Date: 2020-11-16 11:44:38 +0900 (Mon, 16 Nov 2020) root@jdtpkxb:~ # What should I do ? Regards --- Kazuhiko Kiriyama <kiri@truefc.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012020020.0B20K0gv012754>