guix-devel
[Top][All Lists]
Advanced

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

Re: Trying to crosscompile for POWER9


From: Tobias Platen
Subject: Re: Trying to crosscompile for POWER9
Date: Sun, 28 Oct 2018 08:39:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Icedove/52.9.1



On 10/22/2018 06:39 PM, Leo Famulari wrote:
On Sun, Oct 21, 2018 at 08:30:03AM +0200, Tobias Platen wrote:
On 10/20/2018 09:09 PM, Tobias Platen wrote:
Here are the build logs from guix. I have tried building the toolchain
twice, but in both cases glibc failed to build.

[...]

running configure fragment for sysdeps/powerpc/powerpc64/le
checking if powerpc64le-linux-gcc supports binary128 floating point type... no
checking if the target machine is at least POWER8... yes
configure: error: ***  binary128 floating point type (GCC >= 6.2) is required 
on powerpc64le.

Searching around, I found other distros hit the same problem for their
POWER ports, and needed to explicitly configure GCC >= 6.2 to build with
128-bit floating point types. Specifically, with the option
'--with-long-double-128':

https://github.com/advancetoolchain/advance-toolchain/commit/e22696eecb39c6b401df14001f01608807e4d934
http://lists.busybox.net/pipermail/buildroot/2017-August/200952.html

I hope that helps!

I modified the file "gnu/packages/cross-base.scm" and the cross gcc still does not support 128-bit floating point types. How do I trigger a rebuild of the cross compiler so I can verify that it is configured correctly.

Tobias

Attachment: build.log
Description: Text Data

Attachment: cross-base.diff
Description: Text Data


reply via email to

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