FWIW, this issue has been fixed 
by https://chromium-review.googlesource.com/c/v8/v8/+/5891233, thanks for 
Daniel and Thibaud's help!

On Tuesday, September 10, 2024 at 8:32:29 PM UTC+8 Zhao Jiazhong wrote:

> Hi all,
>
> After turboshaft-csa is enabled [1], 
> `cctest/test-serialize/StaticRootsPredictableSnapshot` [2] started to fail 
> on loong64 port:
> > # Fatal error in ../../src/execution/isolate.cc, line 5630
> > # The Isolate is incompatible with the embedded blob. This is usually 
> caused by incorrect usage of mksnapshot. When generating custom snapshots, 
> embedders must ensure they pass the same flags as during the V8 build 
> process (e.g.: --turbo-instruction-scheduling).
>
> It seems that the register allocation results are not always the same over 
> repeat runs, and may generate different builtin codes and different 
> embedded blob hash.
>
> So I wonder is the register allocation deterministic by design? Any help 
> is appreciated, Thanks!
>
> Yours,
> Zhao Jiazhong
>
> [1] https://chromium-review.googlesource.com/c/v8/v8/+/5823192
> [2] 
> https://source.chromium.org/chromium/chromium/src/+/main:v8/test/cctest/test-serialize.cc;l=6436
>

-- 
-- 
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/0159f2ad-c52f-4e57-b75d-4c668a8686a1n%40googlegroups.com.

Reply via email to