From: Tobias Platen <trisquel@platen-software.de>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Trying to crosscompile for POWER9
Date: Sat, 20 Oct 2018 21:09:22 +0200 [thread overview]
Message-ID: <1d96ed51-1715-c88b-8647-45fcd0a687e3@platen-software.de> (raw)
In-Reply-To: <20181020183101.GB1102@macbook41>
It is the same error in both cases.
the binary128 type is not avialable in gcc, but requires for glibc to build.
Im now trying out the GCC 7 branch
On 10/20/2018 08:31 PM, Efraim Flashner wrote:
> On Sat, Oct 20, 2018 at 05:05:35PM +0200, Tobias Platen wrote:
>>
>>
>> On 10/16/2018 08:24 PM, Efraim Flashner wrote:
>>> On Tue, Oct 16, 2018 at 08:08:27PM +0200, Tobias Platen wrote:
>>>> Hello,
>>>>
>>>> When I try to compile GUIX for POWER9 an old version of GCC is used.
>>>> How do I use the gcc version used for cross compiling.
>>>>
>>>> ./pre-inst-env guix build --target=powerpc64le-linux hello
>>>>
>>>> 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.
>>>>
>>>> Tobias "Tomoko" Platen
>>>>
>>>
>>> I'd recommend starting by editing gnu/packages/make-bootstrap.scm:103
>>> and change the line:
>>> `(("cross-gcc" ,(cross-gcc target
>>> to:
>>> `(("cross-gcc" ,(cross-gcc target #:gcc-6
>>>
>>> there are other places, like lines 110 and 391 (and possibly others) which
>>> should be turned to (inherit gcc-6)
>>>
>>> That should work for this round, then you can decide if it's worth
>>> upstreaming and wrap it in 'match' keywords for some of the newer
>>> architectures (like riskv).
>>>
>> It still fails after changing to gcc 6
>
> Where does it fail? It'd be nice if we can get it to work.
>
next prev parent reply other threads:[~2018-10-20 19:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-16 18:08 Trying to crosscompile for POWER9 Tobias Platen
2018-10-16 18:24 ` Efraim Flashner
2018-10-20 15:05 ` Tobias Platen
2018-10-20 18:31 ` Efraim Flashner
2018-10-20 19:09 ` Tobias Platen [this message]
2018-10-21 6:30 ` Tobias Platen
2018-10-22 16:39 ` Leo Famulari
2018-10-28 7:39 ` Tobias Platen
2018-10-31 3:02 ` Chris Marusich
2018-10-28 7:48 ` Tobias Platen
2018-10-16 20:32 ` Jonathan Brielmaier
2018-10-17 18:27 ` Marius Bakke
2018-10-19 13:56 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1d96ed51-1715-c88b-8647-45fcd0a687e3@platen-software.de \
--to=trisquel@platen-software.de \
--cc=efraim@flashner.co.il \
--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 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.