[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch adding POWER9 cross compile support

From: Tobias Platen
Subject: Re: Patch adding POWER9 cross compile support
Date: Sun, 10 Mar 2019 21:20:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Icedove/52.9.1

I ran configure on my Talos II, and got the following error message.

checking for the Guix system type... powerpc64le-linux
configure: error: `powerpc64le-linux' is not a supported platform.
See "GNU Distribution" in the manual, or try `--with-courage'.

Guix already knows about this architecture, but building glibc will fail if gcc does not have the float128 datatype. Once I saw this link[1] on the guix mailing list, I knew how to solve the build error.

For the second question I could not find an answer.



On 03/10/2019 06:27 PM, Ludovic Courtès wrote:
Hi Tobias,

Tobias Platen <address@hidden> skribis:

On 03/06/2019 02:54 PM, Ludovic Courtès wrote:
+                               ,@(if (string-prefix? "powerpc9-" target)
+                                     ;; On POWER9 we need this because XXX.
+                                     '("--with-long-double-128")
+                                     '())
It needs to be ppc64el I think. I will later do a test in a big endian
vm. POWER9 is a bi-endian architecture, and most distros only support
little-endian. POWER4 only supports big-endian, and is still supported
by some distros. After testing I will send an updated patch.

I don’t think that answers my questions.  :-)

Those were:

   1. What GNU triplet do you use?

   2. What the reason for this extra configure flag, so we can add it in
      the comment above in place of XXX?



Attachment: guix.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]