Sarah Morgensen writes: > Sarah Morgensen writes: > >> Hello Guix, >> >> I just noticed go-1.16 is failing on aarch64 [0]. I am not having any >> success tracking down the cause. It looks like the error is the same as >> was happening for go-1.14 circa 11 Mar [1], which was fixed by 9 Apr >> [2], but I cannot tell what resolved the issue. I've attached the >> relevant part of the build log; the full log is available at [0]. >> >> Any ideas? >> >> [0] https://ci.guix.gnu.org/build/949823/details >> [1] https://ci.guix.gnu.org/build/71004/details >> [2] https://ci.guix.gnu.org/build/19478/details >> >> starting phase `build' >> runtime: failed to create new OS thread (have 2 already; errno=22) >> fatal error: runtime.newosproc > > I think this might be related to [0], although if it's true that CI uses > native builders for aarch64 now, I have no idea. > > I've been able to reproduce this with both go-1.14 and go-1.16 when > building with --system=aarch64-linux from an amd64 system. I tried to > apply the patch in the thread I mentioned, but go-1.4 won't build at all > with QEMU. > > [0] runtime: cannot run > cross compiled ARM binary on QEMU > > -- > Sarah I've written this up into a patch (attached below); I don't think there's much of a way to test this other than just letting CI build it. It's a backport, so it shouldn't hurt even if it doesn't fix it. -- Sarah