From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:51233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjlds-0005kO-3s for guix-patches@gnu.org; Wed, 16 Jan 2019 08:54:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjldr-0008W5-23 for guix-patches@gnu.org; Wed, 16 Jan 2019 08:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33454) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjldq-0008TN-Uw for guix-patches@gnu.org; Wed, 16 Jan 2019 08:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjldq-0001vv-4h for guix-patches@gnu.org; Wed, 16 Jan 2019 08:54:02 -0500 Subject: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20181229175833.GU2581@macbook41> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> Date: Wed, 16 Jan 2019 14:53:14 +0100 Message-ID: <8736psiu9h.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 32953@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Efraim Flashner writes: > On Thu, Dec 27, 2018 at 11:59:08AM +0100, Ludovic Court=C3=A8s wrote: >> Hi Marius! >>=20 >> Marius Bakke skribis: >>=20 >> > Marius Bakke writes: >> > >> >> Guix, >> >> >> >> Here are patches that allow building the world with GCC7. >> >> >> >> The cross-toolchain and bootstrap tarballs need more work, but native >> >> x86_64 at least is largely fine. >> >> >> >> Marius Bakke (8): >> >> gnu: Remove gcc-for-libstdc++. >> >> gnu: libstdc++-boot0: Improve gcc-wrapper workaround. >> >> gnu: gcc-boot0: Improve gcc-wrapper workarounds. >> >> gnu: Remove duplicate linux-libre-headers package from bootstrap >> >> inputs. >> >> gnu: Use GCC 7 as the default compiler. >> >> gnu: python: Fix FTBFS with GCC >=3D 6. >> >> gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system >> >> libraries. >> >> gnu: cppunit: Update to 1.14.0. >> > >> > I've pushed these to 'wip-gcc7' on Savannah for easier access: >> > >> > https://git.savannah.gnu.org/cgit/guix.git/log/?h=3Dwip-gcc7 >>=20 >> I haven=E2=80=99t tested the patch set but I concur with Danny, they LGT= M. >>=20 >> Now would be a good time to rebase them on =E2=80=98core-updates=E2=80= =99 and to merge >> them so we get enough time to test and fix things. Would you like to do >> that? >>=20 >> Thanks! >>=20 >> Ludo=E2=80=99. > > After it's rebased I'll help take a look at the armhf and aarch64 > boostrap paths to make sure they work. I've pushed an updated patch to "wip-gcc7" based on the latest 'core-updates'. The cross-compiler toolchain is still broken: it fails to build the very last GCC. For armhf, the build system tries to include "gnu/stubs-soft.h" during "./configure" and fails, even though it gets "--with-float=3Dhard" as a flag. When building the AArch64 cross-compiler, GCC segfaults later in the process: build/genmatch --gimple ../../gcc-7.4.0/gcc/match.pd > tmp-gimple-match.c /gnu/store/vfqvdfdnd8fi9gcx710mpfaf0x4dfd37-bash-minimal-5.0/bin/bash: line= 1: 1789 Segmentation fault build/genmatch --gimple ../../gcc-7.4.0/gcc/match.pd > tmp-gimple-match.c make[2]: *** [Makefile:2460: s-match] Error 139 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlw/N0oACgkQoqBt8qM6 VPrAxQf/Z6xIL59iOeo2TFuBzF/IpraG6DXFTvpnexZQOOihyA5Tc/tXfraX6J+G 8epvVWiQXRve+PzPhpEruN7yAnJBcXgoAyicTb5azpBz89RmEaXa0+Uj3a3ppLRD XHY1aM+tSWmbxyrdcE5rpfiYv1xdbdrQjHydzA5PP2NGyvx1p/1y4ISBFCc5+cjH q25boET2OXSsF3Lxb98IHBgY7GAsYhH34+7IBpH8dz4+O91Fq4Kf4j4sr/nOHDvi h+jLGt939jnr1MZMdVqoRx4eQyxEiYwTOQ5ClZlxGqE4l3zJEnOGs8vOMOegyMIB TvTWHHuAly3evnqBnyMX9/OWQA0OEQ== =1GCB -----END PGP SIGNATURE----- --=-=-=--