GNU bug report logs - #32953
[PATCH core-updates-next 0/8] Use GCC7 as the default compiler.

Previous Next

Package: guix-patches;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Sat, 6 Oct 2018 13:15:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marius Bakke <mbakke <at> fastmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>, Ludovic Courtès <ludo <at> gnu.org>
Cc: 32953 <at> debbugs.gnu.org
Subject: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler.
Date: Wed, 16 Jan 2019 14:53:14 +0100
[Message part 1 (text/plain, inline)]
Efraim Flashner <efraim <at> flashner.co.il> writes:

> On Thu, Dec 27, 2018 at 11:59:08AM +0100, Ludovic Courtès wrote:
>> Hi Marius!
>> 
>> Marius Bakke <mbakke <at> fastmail.com> skribis:
>> 
>> > Marius Bakke <mbakke <at> fastmail.com> 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 >= 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=wip-gcc7
>> 
>> I haven’t tested the patch set but I concur with Danny, they LGTM.
>> 
>> Now would be a good time to rebase them on ‘core-updates’ and to merge
>> them so we get enough time to test and fix things.  Would you like to do
>> that?
>> 
>> Thanks!
>> 
>> Ludo’.
>
> 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=hard" 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.