Oh, sorry, i mean i compile my code with -DV8_COMPRESS_POINTERS and compile V8 with default config, but it still crash. I encountered this error long time ago and it can be fixed with -DV8_COMPRESS_POINTERS, but it does not work in V8 10.8. I print the value of V8_COMPRESS_POINTERS, it shows 1. it maybe related to my PC or compiler ? 在2022年10月3日星期一 UTC+8 02:26:10<Ben Noordhuis> 写道:
> On Sun, Oct 2, 2022 at 5:49 PM theratliter theratliter > <thera...@gmail.com> wrote: > > > > Hi, i compile V8(10.8) with -DV8_COMPRESS_POINTERS, but when i run the > code it crashes with the error as follows. > > ``` > > Embedder-vs-V8 build configuration mismatch. On embedder side sandbox is > DISABLED while on V8 side it's ENABLED. > > ``` > > Does anybody know why ? thanks! > > Compile your own code with -DV8_COMPRESS_POINTERS to fix that. > > Pointer compression changes the layout of objects in memory. Embedder > and engine have to agree on the object layout, otherwise things go > boom. > -- -- 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/6c5b48f1-9172-4af0-a7ff-d48fbdcaa999n%40googlegroups.com.