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: Efraim Flashner
Subject: Re: Trying to crosscompile for POWER9
Date: Sat, 20 Oct 2018 21:31:01 +0300
User-agent: Mutt/1.10.1 (2018-07-13)

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.

-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

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