Re: Atomic 64-bit reads from mmap-ed memory on armel...

2024-06-21 Thread Stéphane Glondu
Le 21/06/2024 à 15:33, Emanuele Rocca a écrit : Index: ocaml-5.2.0/otherlibs/runtime_events/runtime_events_consumer.c Please ignore the diff, this was sent out by mistake as I was testing my suggestions. I haven't checked any other area in the code, so I'm not sure what a proper patch should lo

Re: Atomic 64-bit reads from mmap-ed memory on armel...

2024-06-21 Thread Emanuele Rocca
Hey, On 2024-06-21 02:57, Emanuele Rocca wrote: > Index: ocaml-5.2.0/otherlibs/runtime_events/runtime_events_consumer.c Please ignore the diff, this was sent out by mistake as I was testing my suggestions. I haven't checked any other area in the code, so I'm not sure what a proper patch should lo

Re: Atomic 64-bit reads from mmap-ed memory on armel...

2024-06-21 Thread Emanuele Rocca
Hello Stéphane, On 2024-06-19 03:20, Stéphane Glondu wrote: > While investigating OCaml 5.2.0 build failure on armel, I realized that > atomic 64-bit reads from mmap-ed memory on armel results in a segfault. > > See: > > https://github.com/ocaml/ocaml/issues/13234#issuecomment-2176079951 In t