This patch from Andrew Pinski fixes the libgo arm64be build, by using
internal/syscall/unix/getrandom_linux_generic.go on arm64be.
Committed to mainline.

Ian
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 61f01d739ff..544c6e66e0d 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-94a5ff53df24c58c5e6629ce6720a02aa9986322
+9ae2223f91c4ca642885b80d88eb0baf756acf94
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_generic.go 
b/libgo/go/internal/syscall/unix/getrandom_linux_generic.go
index 95748d5ebad..0c79ae54f4b 100644
--- a/libgo/go/internal/syscall/unix/getrandom_linux_generic.go
+++ b/libgo/go/internal/syscall/unix/getrandom_linux_generic.go
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build linux
-// +build arm64 nios2 riscv64
+// +build arm64 arm64be nios2 riscv64
 
 package unix
 

Reply via email to