Mismatch between clang 7 and clang 8 when using icecc
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: julienw, Unassigned)
Details
For a few weeks I have problems when using icecc in the Paris office.
Here is an example:
0:06.30 media/libaom/selfguided_avx2.o
0:06.30 /usr/lib/icecc/bin/clang -std=gnu99 -o selfguided_avx2.o -c -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/system_wrappers -include /home/julien/travail/git/mozilla-central/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/home/julien/travail/git/mozilla-central/media/libaom -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/media/libaom -I/home/julien/travail/git/mozilla-central/media/libaom/config/linux/x64 -I/home/julien/travail/git/mozilla-central/media/libaom/config -I/home/julien/travail/git/mozilla-central/third_party/aom -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/include -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/include/nspr -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/include/nss -fPIC -include /home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/mozilla-config.h -DMOZILLA_CLIENT -Qunused-arguments -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-aliasing -fno-math-errno -pthread -fPIC -pipe -g -O2 -fno-omit-frame-pointer -funwind-tables -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-sign-compare -Wno-unused-function -Wno-unreachable-code -Wno-unneeded-internal-declaration -MD -MP -MF .deps/selfguided_avx2.o.pp -fcolor-diagnostics -mavx2 /home/julien/travail/git/mozilla-central/third_party/aom/av1/common/x86/selfguided_avx2.c
0:06.58 In file included from /home/julien/travail/git/mozilla-central/third_party/aom/av1/common/x86/selfguided_avx2.c:12:
0:06.58 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:06.59 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:634:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.59 return (__m512i)__builtin_ia32_paddsb512((__v64qi)__A, (__v64qi)__B);
0:06.59 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.59 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:656:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.59 return (__m512i)__builtin_ia32_paddsw512((__v32hi)__A, (__v32hi)__B);
0:06.59 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.59 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:678:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.60 return (__m512i)__builtin_ia32_paddusb512((__v64qi) __A, (__v64qi) __B);
0:06.60 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.60 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:700:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.60 return (__m512i)__builtin_ia32_paddusw512((__v32hi) __A, (__v32hi) __B);
0:06.60 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.61 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:975:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.61 return (__m512i)__builtin_ia32_psubsb512((__v64qi)__A, (__v64qi)__B);
0:06.61 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.61 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:997:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.61 return (__m512i)__builtin_ia32_psubsw512((__v32hi)__A, (__v32hi)__B);
0:06.61 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.61 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:1019:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.61 return (__m512i)__builtin_ia32_psubusb512((__v64qi) __A, (__v64qi) __B);
0:06.62 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.62 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:1041:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.62 return (__m512i)__builtin_ia32_psubusw512((__v32hi) __A, (__v32hi) __B);
0:06.62 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.62 In file included from /home/julien/travail/git/mozilla-central/third_party/aom/av1/common/x86/selfguided_avx2.c:12:
0:06.62 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:177:
0:06.62 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmiintrin.h:96:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.62 return (__m512i)__builtin_ia32_vpmultishiftqb512((__v64qi)__X, (__v64qi) __Y);
0:06.62 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.62 In file included from /home/julien/travail/git/mozilla-central/third_party/aom/av1/common/x86/selfguided_avx2.c:12:
0:06.62 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:182:
0:06.62 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmivlintrin.h:155:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
0:06.62 return (__m128i)__builtin_ia32_vpmultishiftqb128((__v16qi)__X, (__v16qi)__Y);
0:06.62 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.62 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmivlintrin.h:178:10: error: invalid conversion between vector type '__m256i' (vector of 4 'long long' values) and integer type 'int' of different size
0:06.63 return (__m256i)__builtin_ia32_vpmultishiftqb256((__v32qi)__X, (__v32qi)__Y);
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 In file included from /home/julien/travail/git/mozilla-central/third_party/aom/av1/common/x86/selfguided_avx2.c:12:
0:06.63 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:186:
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmi2intrin.h:232:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.63 return (__m512i)__builtin_ia32_vpshldvq512((__v8di)__A, (__v8di)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmi2intrin.h:255:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.63 return (__m512i)__builtin_ia32_vpshldvd512((__v16si)__A, (__v16si)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmi2intrin.h:278:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.63 return (__m512i)__builtin_ia32_vpshldvw512((__v32hi)__A, (__v32hi)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmi2intrin.h:301:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.63 return (__m512i)__builtin_ia32_vpshrdvq512((__v8di)__A, (__v8di)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmi2intrin.h:324:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.63 return (__m512i)__builtin_ia32_vpshrdvd512((__v16si)__A, (__v16si)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vbmi2intrin.h:347:10: error: invalid conversion between vector type '__m512i' (vector of 8 'long long' values) and integer type 'int' of different size
0:06.63 return (__m512i)__builtin_ia32_vpshrdvw512((__v32hi)__A, (__v32hi)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 In file included from /home/julien/travail/git/mozilla-central/third_party/aom/av1/common/x86/selfguided_avx2.c:12:
0:06.63 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:191:
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vlvbmi2intrin.h:426:10: error: invalid conversion between vector type '__m256i' (vector of 4 'long long' values) and integer type 'int' of different size
0:06.63 return (__m256i)__builtin_ia32_vpshldvq256((__v4di)__A, (__v4di)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512vlvbmi2intrin.h:449:10: error: invalid conversion between vector type '__m128i' (vector of 2 'long long' values) and integer type 'int' of different size
0:06.63 return (__m128i)__builtin_ia32_vpshldvq128((__v2di)__A, (__v2di)__B,
0:06.63 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:06.63 fatal error: too many errors emitted, stopping now [-ferror-limit=]
0:06.63 20 errors generated.
My mozconfig is super straightforward:
$ cat mozconfig
mk_add_options MOZ_MAKE_FLAGS="-j90"
mk_add_options AUTOCLOBBER=1
# path for icecc
CC="/usr/lib/icecc/bin/clang"
CXX="/usr/lib/icecc/bin/clang++"
export LD=lld-link-7
ac_add_options --enable-debug-symbols
mk_add_options MOZ_OBJDIR=./obj-x86_64-pc-linux-gnu-opt/
My setup is the current Debian stable (buster) with Debian's main clang packages:
$ clang -v
clang version 7.0.1-8 (tags/RELEASE_701/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
and icecc is v1.2.0.
When I run the same command manually, it runs fine, even when forcing the same icecc server. So maybe there's something wrong in some environment variables?
Reporter | ||
Comment 1•6 years ago
|
||
Here is another error:
0:09.04 gfx/angle/targets/translator/ASTMetadataHLSL.o
0:09.04 /usr/lib/icecc/bin/clang++ -o ASTMetadataHLSL.o -c -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/stl_wrappers -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/system_wrappers -include /home/julien/travail/git/mozilla-central/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -D__NDK_FPABI__= -DANGLE_SKIP_DXGI_1_2_CHECK -DANGLE_ENABLE_KEYEDMUTEX -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_HLSL -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNOMINMAX -DNTDDI_VERSION=0x0A000003 -DUNICODE -DWINVER=0x0A00 -D_ATL_NO_OPENGL -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SECURE_ATL -D_UNICODE -I/home/julien/travail/git/mozilla-central/gfx/angle/targets/translator -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/gfx/angle/targets/translator -I/home/julien/travail/git/mozilla-central/gfx/angle/checkout/include -I/home/julien/travail/git/mozilla-central/gfx/angle/checkout/out/gen/angle -I/home/julien/travail/git/mozilla-central/gfx/angle/checkout/src -I/home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/third_party/base -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/include -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/include/nspr -I/home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /home/julien/travail/git/mozilla-central/obj-x86_64-pc-linux-gnu-opt/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-sized-deallocation -fno-aligned-new -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -O2 -fno-omit-frame-pointer -funwind-tables -msse2 -MD -MP -MF .deps/ASTMetadataHLSL.o.pp -fcolor-diagnostics /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp
0:09.86 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.86 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.86 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.86 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.86 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.86 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.86 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:82:
0:09.87 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/bmiintrin.h:65:10: error: use of undeclared identifier '__builtin_ia32_tzcnt_u16'
0:09.87 return __builtin_ia32_tzcnt_u16(__X);
0:09.89 ^
0:09.89 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/bmiintrin.h:199:10: error: use of undeclared identifier '__builtin_ia32_tzcnt_u32'
0:09.89 return __builtin_ia32_tzcnt_u32(__X);
0:09.89 ^
0:09.89 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/bmiintrin.h:215:10: error: use of undeclared identifier '__builtin_ia32_tzcnt_u32'
0:09.89 return __builtin_ia32_tzcnt_u32(__X);
0:09.89 ^
0:09.89 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/bmiintrin.h:362:10: error: use of undeclared identifier '__builtin_ia32_tzcnt_u64'
0:09.90 return __builtin_ia32_tzcnt_u64(__X);
0:09.90 ^
0:09.90 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/bmiintrin.h:378:10: error: use of undeclared identifier '__builtin_ia32_tzcnt_u64'
0:09.90 return __builtin_ia32_tzcnt_u64(__X);
0:09.90 ^
0:09.90 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.90 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.90 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.90 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.90 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.90 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.90 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:90:
0:09.90 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/lzcntintrin.h:62:10: error: use of undeclared identifier '__builtin_ia32_lzcnt_u32'
0:09.90 return __builtin_ia32_lzcnt_u32(__X);
0:09.90 ^
0:09.90 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/lzcntintrin.h:79:10: error: use of undeclared identifier '__builtin_ia32_lzcnt_u32'
0:09.90 return __builtin_ia32_lzcnt_u32(__X);
0:09.91 ^
0:09.91 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/lzcntintrin.h:112:10: error: use of undeclared identifier '__builtin_ia32_lzcnt_u64'
0:09.91 return __builtin_ia32_lzcnt_u64(__X);
0:09.91 ^
0:09.91 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.91 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.91 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.91 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.91 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.91 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.91 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:102:
0:09.91 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8441:24: error: use of undeclared identifier '__builtin_ia32_kmovw'
0:09.91 return (unsigned int)__builtin_ia32_kmovw((__mmask16)__A);
0:09.91 ^
0:09.91 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8446:21: error: use of undeclared identifier '__builtin_ia32_kmovw'
0:09.92 return (__mmask16)__builtin_ia32_kmovw((__mmask16)__A);
0:09.92 ^
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8451:21: error: use of undeclared identifier '__builtin_ia32_kmovw'
0:09.92 return (__mmask16)__builtin_ia32_kmovw(*(__mmask16 *)__A);
0:09.92 ^
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8456:23: error: use of undeclared identifier '__builtin_ia32_kmovw'
0:09.92 *(__mmask16 *)__A = __builtin_ia32_kmovw((__mmask16)__B);
0:09.92 ^
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.92 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.92 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:41:10: error: use of undeclared identifier '__builtin_ia32_knotsi'; did you mean '__builtin_ia32_knothi'?
0:09.92 return __builtin_ia32_knotsi(__M);
0:09.92 ^
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:4623:10: note: '__builtin_ia32_knothi' declared here
0:09.92 return __builtin_ia32_knothi(__M);
0:09.92 ^
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.92 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.92 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:47:10: error: use of undeclared identifier '__builtin_ia32_knotdi'; did you mean '__builtin_ia32_knothi'?
0:09.92 return __builtin_ia32_knotdi(__M);
0:09.92 ^
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:4623:10: note: '__builtin_ia32_knothi' declared here
0:09.92 return __builtin_ia32_knothi(__M);
0:09.92 ^
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.92 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.92 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.92 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:53:21: error: use of undeclared identifier '__builtin_ia32_kandsi'; did you mean '__builtin_ia32_kandhi'?
0:09.92 return (__mmask32)__builtin_ia32_kandsi((__mmask32)__A, (__mmask32)__B);
0:09.92 ^
0:09.92 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8363:22: note: '__builtin_ia32_kandhi' declared here
0:09.93 return (__mmask16) __builtin_ia32_kandhi ((__mmask16) __A, (__mmask16) __B);
0:09.93 ^
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:09.93 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:59:21: error: use of undeclared identifier '__builtin_ia32_kanddi'; did you mean '__builtin_ia32_kandhi'?
0:09.93 return (__mmask64)__builtin_ia32_kanddi((__mmask64)__A, (__mmask64)__B);
0:09.93 ^
0:09.93 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8363:22: note: '__builtin_ia32_kandhi' declared here
0:09.93 return (__mmask16) __builtin_ia32_kandhi ((__mmask16) __A, (__mmask16) __B);
0:09.93 ^
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:09.93 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:65:21: error: use of undeclared identifier '__builtin_ia32_kandnsi'; did you mean '__builtin_ia32_kandnhi'?
0:09.93 return (__mmask32)__builtin_ia32_kandnsi((__mmask32)__A, (__mmask32)__B);
0:09.93 ^
0:09.93 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8369:22: note: '__builtin_ia32_kandnhi' declared here
0:09.93 return (__mmask16) __builtin_ia32_kandnhi ((__mmask16) __A, (__mmask16) __B);
0:09.93 ^
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:09.93 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:71:21: error: use of undeclared identifier '__builtin_ia32_kandndi'; did you mean '__builtin_ia32_kandnhi'?
0:09.93 return (__mmask64)__builtin_ia32_kandndi((__mmask64)__A, (__mmask64)__B);
0:09.93 ^
0:09.93 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8369:22: note: '__builtin_ia32_kandnhi' declared here
0:09.93 return (__mmask16) __builtin_ia32_kandnhi ((__mmask16) __A, (__mmask16) __B);
0:09.93 ^
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/ASTMetadataHLSL.cpp:11:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/CallDAG.h:16:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/compiler/translator/IntermNode.h:24:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/angleutils.h:12:
0:09.93 In file included from /home/julien/travail/git/mozilla-central/gfx/angle/checkout/src/common/platform.h:87:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/x86intrin.h:29:
0:09.93 In file included from /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/immintrin.h:110:
0:09.93 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512bwintrin.h:77:21: error: use of undeclared identifier '__builtin_ia32_korsi'; did you mean '__builtin_ia32_korhi'?
0:09.93 return (__mmask32)__builtin_ia32_korsi((__mmask32)__A, (__mmask32)__B);
0:09.93 ^
0:09.94 /home/julien/.mozbuild/clang/lib/clang/8.0.0/include/avx512fintrin.h:8375:22: note: '__builtin_ia32_korhi' declared here
0:09.94 return (__mmask16) __builtin_ia32_korhi ((__mmask16) __A, (__mmask16) __B);
0:09.94 ^
0:09.94 fatal error: too many errors emitted, stopping now [-ferror-limit=]
0:09.94 20 errors generated.
Reporter | ||
Comment 2•6 years ago
|
||
I find it very strange that the build uses header files from the clang installed by mach bootstrap
even though icecc uses the system's clang 7.
It's probably not related (or maybe this will be the next problem after you solve the current one), but why do you use lld-link-7
with a Linux build? lld-link is the Windows flavor of lld, did you want ld.lld-7
?
Reporter | ||
Comment 4•6 years ago
|
||
It's probably not related (or maybe this will be the next problem after you solve the current one), but why do you use lld-link-7 with a Linux build? lld-link is the Windows flavor of lld, did you want ld.lld-7?
Yeah, but I checked closely and the symbolic links all point to the same file ultimately, that is /usr/lib/llvm-7/bin/lld
:-)
Also I had lld-link
before and everything worked fine. The errors above are compiler errors anyway.
lld uses the usual trick where all the symlinks point to the same thing and the tool checks argv[0] to see what flavor it's being called as, so it's still strange that it worked before. But anyway, agreed that it's not the cause of the immediate problem at hand.
Reporter | ||
Comment 6•6 years ago
|
||
Thanks for the explanation, yeah I'll change this to make it cleaner.
Reporter | ||
Comment 7•6 years ago
|
||
As an experiment, I tried to build without icecc, but forcing my system's clang (clang 7), and I got no issue building.
So there's an interaction problem with icecc.
Any idea how to further debug this?
Reporter | ||
Comment 8•6 years ago
|
||
I tried with latest master of icecc and it seems they fixed the issue. There's no new release since several months though.
Reporter | ||
Comment 9•6 years ago
|
||
I added some guidance on MDN in [1].
Also a release 1.3 seems to be in preparation as the NEWS file was updated on the repository. In this file I now see:
- remove hardcoded compiler paths (compiler tarball is created with the same compiler that is used for build)
I guess this is what fixed this issue. Therefore I'm tempted to close it, what do you think?
Updated•5 years ago
|
Description
•