A colleague tracked it down to the CSA_ASSERT macro in 
code-stub-assembler.h failing in debug builds (looks like the tryjob only 
builds rel for MSVC).

This change 16 days ago seems to have broken it: 
https://chromium-review.googlesource.com/c/v8/v8/+/1693002 . If I check out 
the parent commit (0fd3766) I can build debug fine in MSVC (after one more 
trivial MSVC fix in a DCHECK in wasm-module-builder.cc). It still gives the 
"/Zc:twoPhase" compiler option warning, but hopefully that's benign.

I'll log a bug.

On Thursday, July 25, 2019 at 3:38:20 PM UTC-7, bil...@microsoft.com wrote:
>
> Is this still supported?
>
> Trying to build the tip of master with 'is_clang = false' in args.gn (and 
> various other attempted options) is giving lots of different warnings and 
> failures, e.g.
>
>
> cl : Command line warning D9002 : ignoring unknown option '/Zc:twoPhase'
> .etc.
> [501/1829] CXX 
> obj/torque_generated_initializers/proxy-set-property-tq-csa.obj 
> FAILED: obj/torque_generated_initializers/proxy-set-property-tq-csa.obj
> .etc.
> C:\src\v8\v8\src/codegen/code-stub-assembler.h(493): error C2059: syntax 
> error: ','
> .etc.
> C:\src\v8\v8\src/objects/tagged-impl-inl.h(18): fatal error C1003: error 
> count exceeds 100; stopping compilation
> .etc.
>
> It's the first time I've tried with MSVC, so may be doing something wrong. 
> (I have no issues with the default clang-based builds on the same machine).
>
> I can see from task manager and the log output it is using the right MSVC 
> compiler (I tried with VS 2017 and VS 2019 installs), e.g.
>
> > ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft 
> Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.22.27905\...
>
> I see some of the V8 tryjobs build with MSVC (e.g. 
> https://ci.chromium.org/p/v8/builders/try/v8_win64_msvc_compile_rel) and 
> seem to be working, so if someone has the magic args.gn needed, I'd 
> appreciate it.
>
> Thanks,
>
>  - Bill
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/61cdf5a4-a276-4fcb-9bd7-ed37f1c40d49%40googlegroups.com.

Reply via email to