Luca, le mer. 14 janv. 2026 07:43:19 +0100, a ecrit: > Il 13/01/26 19:19, Samuel Thibault ha scritto: > > The haskell packages builds have shown that we still have unexpected xmm > > clobbers on signals/interrupt or such on x86_64. > > Do you think it might be related to some gcc optimization?
I don't know. I'm even questionning the kernel at this point. > IIRC the current strategy is not very robust as it assumes some parts > of signal handling in libc don't use xmm registers. I have checked the assembly of the sigreturn part. > > haskell is a bit particular compared to other packages because it > > has a preemption SIGVTALRM signal happening periodically, which is > > most probably the trigger for the issue. Notably, during the ghc > > package build, I have to use GHCRTS=-V0 to disable it, otherwise I'm > > seeing corruptions. The haskell packages builds occasionally see such > > corruptions too. > > Does this mean that even with the change above the ghc build fails, unless > GHCRTS=-V0 is used? Yes. Samuel
