all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Patch adding POWER9 cross compile support
@ 2019-02-27 18:29 Tobias Platen
  2019-02-27 21:24 ` Jonathan Brielmaier
  2019-03-06 13:54 ` Ludovic Courtès
  0 siblings, 2 replies; 11+ messages in thread
From: Tobias Platen @ 2019-02-27 18:29 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

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

[-- Attachment #2: cross-base.diff --]
[-- Type: text/x-patch, Size: 691 bytes --]

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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-03-13  7:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-27 18:29 Patch adding POWER9 cross compile support Tobias Platen
2019-02-27 21:24 ` Jonathan Brielmaier
2019-03-01  6:04   ` Tobias Platen
2019-03-06 13:54 ` Ludovic Courtès
2019-03-06 17:56   ` Tobias Platen
2019-03-10 17:27     ` Ludovic Courtès
2019-03-10 20:20       ` Tobias Platen
2019-03-11  7:52         ` Efraim Flashner
2019-03-12 14:10           ` Ludovic Courtès
2019-03-12 14:10           ` Ludovic Courtès
2019-03-13  7:28             ` Tobias Platen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.