Hi Jean-Claude, no, we don't have a lot of test coverage for `use_custom_libcxx=false`, this mode is only supported on a best-effort basis.
For debugging: a backtrace and symbols would be useful. Does running `mksnapshot` in a debugger give more infos? Also, a bisect to find the culprit change would be very helpful. On Thu, Aug 3, 2023 at 6:54 PM Jean-Claude Monnin <jc_mon...@emailplus.org> wrote: > Hi, > > On windows, the v8 version 11.5 build fails when generating the snapshot > with following error: > > > C:/Users/jean-claude/Documents/src/google/depot_tools/bootstrap-2@3_8_10_chromium_26_bin/python3/bin/python3.exe > ../../tools/run.py ./mksnapshot --turbo_instruction_scheduling > --target_os=win --target_arch=x64 --embedded_src gen/embedded.S > --embedded_variant Default --random-seed 314159265 --startup_blob > snapshot_blob.bin --no-native-code-counters > Return code is 2147483651 <(214)%20748-3651> > > These are the options used (args.gn): > is_official_build = true > target_cpu = "x64" > is_component_build = true > use_custom_libcxx = false > chrome_pgo_phase = false > treat_warnings_as_errors = false > fatal_linker_warnings = false > symbol_level = 0 > > When using `is_debug=false` instead of `is_official_build = true` it > builds fine, but it comes with performance regressions compared to older > version 9.3 build with `is_official_build = true`. > > If using either `is_component_build = false` or `use_custom_libcxx = > true`, it builds fine too, however it's not really an option as I need a > dll build and I need to use Microsoft's C++ standard library because third > party dependencies prevents us to use libc++. > > I also tried version 11.4 and 11.6 and they give the same error. > > Any hints in how to diagnose/fix that would be appreciated. > > Auxiliary question: Is any big project using `use_custom_libcxx = false` > (eg. Microsoft's C++ standard library), or is this untested? > Chrome/node/deno all use libc++? > > Best regards, > Jean-Claude > > -- > -- > v8-users mailing list > v8-users@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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/984f3518-4b8e-4403-b794-923be66ccf08%40app.fastmail.com > . > -- -- v8-users mailing list v8-users@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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAH3p7oO%2BEkjhuGaa9nXVWHd9Da3W4h0mr3ychCWu4J3gqRut8Q%40mail.gmail.com.