From: Tobias Platen <trisquel@platen-software.de>
To: Guix-devel <guix-devel@gnu.org>
Subject: Patch adding POWER9 cross compile support
Date: Wed, 27 Feb 2019 19:29:02 +0100 [thread overview]
Message-ID: <ab88fa44-59f4-0e39-1569-6d239d120164@platen-software.de> (raw)
[-- 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
next reply other threads:[~2019-02-27 18:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-27 18:29 Tobias Platen [this message]
2019-02-27 21:24 ` Patch adding POWER9 cross compile support 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ab88fa44-59f4-0e39-1569-6d239d120164@platen-software.de \
--to=trisquel@platen-software.de \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).