run_torgue fails when compiling under windows (use_custom_libcxx=false)

105 views
Skip to first unread message

Thomas Liebmann

unread,
Jan 22, 2021, 5:31:15 AM1/22/21
to v8-users
Hi,

I'm trying to compile 8.8.278.14 under Windows and MSVC 2017 using the following flags:

gn gen out/x64-win.release --args="is_debug=false target_cpu=\"x64\" v8_target_cpu=\"x64\" use_goma=false is_clang=true v8_static_library=false is_component_build=true use_custom_libcxx=false v8_untrusted_code_mitigations=true"

Unfortunatly it fails on step run_torgue
[31/2673] ACTION //:run_torque(//build/toolchain/win:win_clang_x64)
...
Return code is C0000409

Any ideas are appreciated.

Thomas Liebmann

unread,
Jan 26, 2021, 7:27:04 AM1/26/21
to v8-users
Update:
I tried to run torque in the debugger. It fails with:
Unhandled exception at 0x00007FFA38D9F7A0 (ntdll.dll) in torque.exe: RangeChecks instrumentation code detected an out of range array access.

Jakob Gruber

unread,
Jan 26, 2021, 7:31:36 AM1/26/21
to v8-u...@googlegroups.com, Nico Hartmann

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/2319fc26-0e87-4e0f-aa4e-f243638cc912n%40googlegroups.com.

Thomas Liebmann

unread,
Jan 28, 2021, 7:31:05 AM1/28/21
to v8-users
One more update:
I've disabled the Control Flow Guard, now it's running without a crash.

Andreas Beil

unread,
Jan 28, 2021, 10:52:09 AM1/28/21
to v8-users
(Maybe) Beginner question: "is_clang=true" means "not building with MS C++ Compiler" - right?

So i'm wondering if you want to build with MS C++ Compiler or CLang?

Thomas Liebmann

unread,
Jan 29, 2021, 1:18:10 AM1/29/21
to v8-users
It means I'm compiling with clang, but using the MSVC-library (use_custom_libcxx=false).

Of couse my first choice would be using MSVC for everything (is_clang=false) but than I'm getting linker errors ...

Reply all
Reply to author
Forward
0 new messages