Re: Help needed for debugging OCaml failure on m68k
On Wed, 2024-06-19 at 14:45 +0200, Stéphane Glondu wrote:
> > Hmm, I guess then maybe Andreas Schwab or Geert Uytterhoeven might have an idea what
> > the problem with the TLS variable is. I'll CC both.
>
> 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...
Oh, nice catch. Yeah, I think A5 is the register that is used for TLS but
Andreas or Geert need to correct me.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: