From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:45447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gku8B-0005Wm-7O for guix-patches@gnu.org; Sat, 19 Jan 2019 12:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gku8A-0001hP-1T for guix-patches@gnu.org; Sat, 19 Jan 2019 12:10:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gku89-0001hJ-UH for guix-patches@gnu.org; Sat, 19 Jan 2019 12:10:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gku89-0002HJ-Ox for guix-patches@gnu.org; Sat, 19 Jan 2019 12:10:01 -0500 Subject: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler. Resent-Message-ID: Date: Sat, 19 Jan 2019 19:09:04 +0200 From: Efraim Flashner Message-ID: <20190119170904.GF25281@macbook41> References: <20181006131420.8131-1-mbakke@fastmail.com> <87ftxjhux0.fsf@fastmail.com> <87a7krb5hf.fsf@gnu.org> <20181229175833.GU2581@macbook41> <8736psiu9h.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FwyhczKCDPOVeYh6" Content-Disposition: inline In-Reply-To: <8736psiu9h.fsf@fastmail.com> 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: Marius Bakke Cc: 32953@debbugs.gnu.org --FwyhczKCDPOVeYh6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 16, 2019 at 02:53:14PM +0100, Marius Bakke wrote: > Efraim Flashner writes: >=20 > > 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 nati= ve > >> >> 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 L= GTM. > >>=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. >=20 > I've pushed an updated patch to "wip-gcc7" based on the latest > 'core-updates'. >=20 I fixed the bootstrapping on aarch64- and armhf-linux. glibc-final-with-bootstrap-bash was failing to find errno.h and some other headers, disabling the obsolete rpc support (which wasn't enabled anywhere else) made it work. > 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. >=20 > When building the AArch64 cross-compiler, GCC segfaults later in the > process: >=20 > build/genmatch --gimple ../../gcc-7.4.0/gcc/match.pd > tmp-gimple-match.c > /gnu/store/vfqvdfdnd8fi9gcx710mpfaf0x4dfd37-bash-minimal-5.0/bin/bash: li= ne 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 I'm going to see if I can build hello --target=3Darm-linux-gnueabihf next and see how that works. --=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 --FwyhczKCDPOVeYh6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxDWawACgkQQarn3Mo9 g1GbYw/8ClTKzRrE2zRfLhjxadYR+yd2bEZfARyJ1VviyhvwIFsqvyord0VSOOLc I4Liezf/opAo6Wgaq39VxtXpeFDal3wSJimx43/mJ4PUSTt9PkRzB7bU4ufmbSI3 bvWKr7cHx5Wln/nwq4ogmFWsDF8u7hrutR7xlDqmL2cS7CHJ+PnNVnu3EDMQo/d6 tZguazKhYB0uUyik/TL/eO5qzXLNVd6IAIForRiuGRPQsGu/HtD2IoLBiAhhSwA6 1tb4I4XMX9GWQ7nqSMx8HfUTL15459+gu2k26u5V/U+9CEhrO5Qk2RomyEL1BToQ PlfsKd4ML4r16k0A9crmKOh0QxiUAgVOG+HpvJ4XxEjqV1GZbynush7CW+8ihUSp R5+KEe+IUK1mRgmN/aUU4WQDxyYSM5Udx7PVGtLcxbXwKywOovAfaLa7FVMJR73N 0uBdkfwfv9GxW7eR1KYbPEnXRCFU6X25J+mnHye5Xah4J/E4uoF6fl5cd86FhOMQ K7YN+pU657HT8EW07IPnwCSSf6jr9JudFVNWpbxDXWTe2l6q4l20GZJq8IygeOMA kgMa7BNvIGKr6UccdccaAXo6JHjVSn1lL03CVMWda3Xc/EtiO91mPxwB2uUWjSip dcsrU1XJ0eYUA0WBcOEZ6fETQJyqs3uWRw3qE4y69CPtbJ5ioOI= =myOA -----END PGP SIGNATURE----- --FwyhczKCDPOVeYh6--