From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Trying to crosscompile for POWER9 Date: Sat, 20 Oct 2018 21:31:01 +0300 Message-ID: <20181020183101.GB1102@macbook41> References: <31112b25-7f64-2d66-ef65-7e87fe173b5d@platen-software.de> <20181016182418.GA12881@macbook41> <65643e6b-1d02-3680-0717-399432ef6775@platen-software.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDw1m-0002yJ-OX for guix-devel@gnu.org; Sat, 20 Oct 2018 14:31:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDw1g-0005Hv-Cv for guix-devel@gnu.org; Sat, 20 Oct 2018 14:31:10 -0400 Received: from flashner.co.il ([178.62.234.194]:59254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDw1g-0005HM-45 for guix-devel@gnu.org; Sat, 20 Oct 2018 14:31:04 -0400 Content-Disposition: inline In-Reply-To: <65643e6b-1d02-3680-0717-399432ef6775@platen-software.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Platen Cc: Guix-devel --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 20, 2018 at 05:05:35PM +0200, Tobias Platen wrote: >=20 >=20 > On 10/16/2018 08:24 PM, Efraim Flashner wrote: > > On Tue, Oct 16, 2018 at 08:08:27PM +0200, Tobias Platen wrote: > > > Hello, > > >=20 > > > 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. > > >=20 > > > ./pre-inst-env guix build --target=3Dpowerpc64le-linux hello > > >=20 > > > checking if powerpc64le-linux-gcc supports > > > binary128 floating point type... no > > > checking if the target machine is at least POWER8... yes > > >=20 > > > configure: error: *** > > > binary128 floating point type (GCC >=3D 6.2) is required on powerpc64= le. > > >=20 > > > Tobias "Tomoko" Platen > > >=20 > >=20 > > 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 > >=20 > > there are other places, like lines 110 and 391 (and possibly others) wh= ich > > should be turned to (inherit gcc-6) > >=20 > > 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). > >=20 > It still fails after changing to gcc 6 Where does it fail? It'd be nice if we can get it to work. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlvLdGUACgkQQarn3Mo9 g1HBrA//XnAY/8aEl0+ySIn1jIMMyyRJ9brX2vMllbYAo+bGFjSdrmXaGFgx1qNG VK3uokP8NwClI2a/y6cQSDG2MkZM7XfpzECGg4C3tktBmYq4ehcCRssiFHF31UtL yWQP+dHBTRco5yrIVQvy9cdToNQ0Qn88LENf5gunCx9bPuBx5LKxYj8cHILTH6Hf xvYbMEAxPWPGt6ojr2Ng1K4tggeDYoJz8SM3v59PCk/Klx3vwrA0HhLsEqRa9/qZ 7aMAY6wRWstTz6SKk1VDCYkovPiYIYARZEE6tM8CUoRgE6Shr1tbb3T1F+yZ9d6J daqvvcjDlYKCaiGcv4fkhbI/ln1Rv45X6AtcIy59OEQtkFkVZzgjfXTWAgnBjS/d 4NmnchzHkMZCXDhD696D763Eg3jUWUkuKkOxr3Opxpxn7d+/jVP3MGnOH3nvMipd V1hX5EEeHV8Atk2aVKQ7iihCgTOW3J6ADiunQ00pRRdnAe2OR2OrD+4KZtC6GGgU TF+s8XiBCMLthJdD8WqhZ9PJ47YFw8rzDxcQwLIMhOyLQ77hazdQobDZcSu5LWuP QZzc+HotQligVzeApGNzHYE6UeRQw9hA0EOIx76L0wkdhnsVCNy3sH2WHj/LrUeo wiTs1iwnMbpyyLPlYdVC45XiODARLgWnm3+sud7l0dq9dvX7CFg= =OmRF -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--