[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #25483 [Obfuscation/Snowflake]: Windows reproducible build of snowflake
#25483: Windows reproducible build of snowflake
-----------------------------------+--------------------------
Reporter: arlolra | Owner: sukhbir
Type: project | Status: assigned
Priority: High | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Normal | Resolution:
Keywords: TorBrowserTeam201805 | Actual Points:
Parent ID: #19001 | Points:
Reviewer: | Sponsor:
-----------------------------------+--------------------------
Comment (by sukhbir):
So I tried building with clang 6 today just to confirm the theory that one
of these bugs was fixed in clang 6.0.0 (and hope the other one was as well
:) and ran into the following error. I replaced the precompiled clang
webrtc with clang 6.0.0 but I didn't bother to set `clang_base_path` and
just replaced it in the default lookup directory `third_party/llvm-
build/Release+Asserts`.
I will continue to debug this (and try with master instead of release as
well) but if you have seen this before, please let me know. A quick search
tells me this may be related to cross-compilation but I haven't found any
solutions yet.
{{{
[188/2538] CC
obj/third_party/libvpx/libvpx_intrinsics_avx/quantize_avx.obj
[189/2538] CC obj/third_party/libvpx/libvpx_intrinsics_avx2/sad4d_avx2.obj
FAILED: obj/third_party/libvpx/libvpx_intrinsics_avx2/sad4d_avx2.obj
../../third_party/llvm-build/Release+Asserts/bin/clang-cl --rsp-
quoting=posix /nologo /showIncludes
@obj/third_party/libvpx/libvpx_intrinsics_avx2/sad4d_avx2.obj.rsp /c
../../third_party/libvpx/source/libvpx/vpx_dsp/x86/sad4d_avx2.c
/Foobj/third_party/libvpx/libvpx_intrinsics_avx2/sad4d_avx2.obj
/Fd"obj/third_party/libvpx/libvpx_intrinsics_avx2_c.pdb"
In file included from
../../third_party/libvpx/source/libvpx/vpx_dsp/x86/sad4d_avx2.c:10:
In file included from /var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/immintrin.h:134:
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(73,10): error:
invalid conversion between vector type '__m128' (vector of 4 'float'
values) and integer type 'int' of different size
return (m128)builtin_ia32_vfmsubss3((v4sf)A, (v4sf)B, (v4sf)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(79,10): error:
invalid conversion between vector type '__m128d' (vector of 2 'double'
values) and integer type 'int' of different size
return (m128d)builtin_ia32_vfmsubsd3((v2df)A, (v2df)B, (v2df)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(97,10): error:
invalid conversion between vector type '__m128' (vector of 4 'float'
values) and integer type 'int' of different size
return (m128)builtin_ia32_vfnmaddss3((v4sf)A, (v4sf)B, (v4sf)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(103,10): error:
invalid conversion between vector type '__m128d' (vector of 2 'double'
values) and integer type 'int' of different size
return (m128d)builtin_ia32_vfnmaddsd3((v2df)A, (v2df)B, (v2df)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(121,10): error:
invalid conversion between vector type '__m128' (vector of 4 'float'
values) and integer type 'int' of different size
return (m128)builtin_ia32_vfnmsubss3((v4sf)A, (v4sf)B, (v4sf)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(127,10): error:
invalid conversion between vector type '__m128d' (vector of 2 'double'
values) and integer type 'int' of different size
return (m128d)builtin_ia32_vfnmsubsd3((v2df)A, (v2df)B, (v2df)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: including file: /var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fxsrintrin.h
6 errors generated.
[190/2538] CC
obj/third_party/libvpx/libvpx_intrinsics_avx2/fwd_txfm_avx2.obj
FAILED: obj/third_party/libvpx/libvpx_intrinsics_avx2/fwd_txfm_avx2.obj
../../third_party/llvm-build/Release+Asserts/bin/clang-cl --rsp-
quoting=posix /nologo /showIncludes
@obj/third_party/libvpx/libvpx_intrinsics_avx2/fwd_txfm_avx2.obj.rsp /c
../../third_party/libvpx/source/libvpx/vpx_dsp/x86/fwd_txfm_avx2.c
/Foobj/third_party/libvpx/libvpx_intrinsics_avx2/fwd_txfm_avx2.obj
/Fd"obj/third_party/libvpx/libvpx_intrinsics_avx2_c.pdb"
In file included from
../../third_party/libvpx/source/libvpx/vpx_dsp/x86/fwd_txfm_avx2.c:15:
In file included from
../../third_party/libvpx/source/libvpx/vpx_dsp/x86/fwd_dct32x32_impl_avx2.h:11:
In file included from /var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/immintrin.h:134:
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(73,10): error:
invalid conversion between vector type '__m128' (vector of 4 'float'
values) and integer type 'int' of different size
return (m128)builtin_ia32_vfmsubss3((v4sf)A, (v4sf)B, (v4sf)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(79,10): error:
invalid conversion between vector type '__m128d' (vector of 2 'double'
values) and integer type 'int' of different size
return (m128d)builtin_ia32_vfmsubsd3((v2df)A, (v2df)B, (v2df)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(97,10): error:
invalid conversion between vector type '__m128' (vector of 4 'float'
values) and integer type 'int' of different size
return (m128)builtin_ia32_vfnmaddss3((v4sf)A, (v4sf)B, (v4sf)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(103,10): error:
invalid conversion between vector type '__m128d' (vector of 2 'double'
values) and integer type 'int' of different size
return (m128d)builtin_ia32_vfnmaddsd3((v2df)A, (v2df)B, (v2df)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(121,10): error:
invalid conversion between vector type '__m128' (vector of 4 'float'
values) and integer type 'int' of different size
return (m128)builtin_ia32_vfnmsubss3((v4sf)A, (v4sf)B, (v4sf)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fmaintrin.h(127,10): error:
invalid conversion between vector type '__m128d' (vector of 2 'double'
values) and integer type 'int' of different size
return (m128d)builtin_ia32_vfnmsubsd3((v2df)A, (v2df)B, (v2df)C);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: including file: /var/tmp/build/webrtc/src/third_party/llvm-
build/Release+Asserts/lib/clang/6.0.0/include/fxsrintrin.h
6 errors generated.
[191/2538] CC
obj/third_party/libvpx/libvpx_intrinsics_avx/vp9_diamond_search_sad_avx.obj
ninja: build stopped: subcommand failed.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25483#comment:28>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs