I succesfully crosscompiled GNU Hello and all its dependencies including glibc for POWER9. Without my patch glibc will fail to build. I am using the core-updates branch, since the default branch uses an outdated version of GCC.

Tobias
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 8fe9d5b..f642bad 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -138,6 +138,8 @@ base compiler and using LIBC (which may be either a libc package or #f.)"
                                "--disable-decimal-float" ;would need libc
                                "--disable-libcilkrts"
 
+                                "--with-long-double-128" ; required for power9 bootstrap
+
                                ;; When target is any OS other than 'none' these
                                ;; libraries will fail if there is no libc
                                ;; present. See

Reply via email to