Yeah, this is probably expected. For calls from generated code into C++, V8 necessarily assumes that it knows what the C++ calling convention is.
You could probably work around that, either by teaching V8 about stdcall, or by figuring out how to use stdcall only for all _other_ functions (that aren't called from generated code), but either way it'll be some non-trivial work. On Mon, Mar 20, 2023 at 1:45 PM ClearScript Developers < clearscript...@gmail.com> wrote: > Greetings! > > By adding the /Gz compiler switch and making a few minor tweaks, we've > managed to build the V8 monolith with stdcall as the default convention. > > Unfortunately, this build doesn't work. We can initialize V8 and spin up > an isolate, but context creation crashes without a useful stack somewhere > within the Genesis code. > > Before we probe further, we were wondering if x86 stdcall was known to be > fundamentally incompatible with V8. > > Thank you! > > -- > -- > 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/98740a3d-5e02-4b2a-bc09-da79782cce2dn%40googlegroups.com > <https://groups.google.com/d/msgid/v8-dev/98740a3d-5e02-4b2a-bc09-da79782cce2dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- 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/CAKSzg3Som4X4zd-OF5nM_tWAobX21bJ4406ouXtmeCmAw%3DTAtw%40mail.gmail.com.