Hi Adrian, Le 22/06/2024 à 10:17, John Paul Adrian Glaubitz a écrit :
I noticed that &caml_state changes when pc changes. Looking further, pc is a register variable pinned to a5. I guess this conflicts with the implementation of TLS...? I've removed the register pin and launched a build, and it goes past the problematic point. We'll see how it goes...Were you able to complete the build successfully on m68k?
Yes. Not all tests pass, though. At least one is due to the strange alignment, I think. See:
https://github.com/ocaml/ocaml/issues/13249#issuecomment-2178905379 Cheers, -- Stéphane