From: Efraim Flashner <efraim@flashner.co.il>
To: Marius Bakke <mbakke@fastmail.com>
Cc: 32953@debbugs.gnu.org
Subject: [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler.
Date: Sat, 19 Jan 2019 19:09:04 +0200 [thread overview]
Message-ID: <20190119170904.GF25281@macbook41> (raw)
In-Reply-To: <8736psiu9h.fsf@fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 2955 bytes --]
On Wed, Jan 16, 2019 at 02:53:14PM +0100, Marius Bakke wrote:
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > On Thu, Dec 27, 2018 at 11:59:08AM +0100, Ludovic Courtès wrote:
> >> Hi Marius!
> >>
> >> Marius Bakke <mbakke@fastmail.com> skribis:
> >>
> >> > Marius Bakke <mbakke@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'.
>
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=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
I'm going to see if I can build hello --target=arm-linux-gnueabihf next
and see how that works.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-01-19 17:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-06 13:14 [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler Marius Bakke
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 1/8] gnu: Remove gcc-for-libstdc++ Marius Bakke
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 2/8] gnu: libstdc++-boot0: Improve gcc-wrapper workaround Marius Bakke
2018-10-11 8:08 ` Danny Milosavljevic
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 3/8] gnu: gcc-boot0: Improve gcc-wrapper workarounds Marius Bakke
2018-10-11 8:08 ` Danny Milosavljevic
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 4/8] gnu: Remove duplicate linux-libre-headers package from bootstrap inputs Marius Bakke
2018-10-11 8:09 ` Danny Milosavljevic
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 5/8] gnu: Use GCC 7 as the default compiler Marius Bakke
2018-10-11 8:05 ` Danny Milosavljevic
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 6/8] gnu: python: Fix FTBFS with GCC >= 6 Marius Bakke
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 7/8] gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries Marius Bakke
2018-10-11 8:06 ` Danny Milosavljevic
2018-10-06 13:16 ` [bug#32953] [PATCH core-updates-next 8/8] gnu: cppunit: Update to 1.14.0 Marius Bakke
2018-10-11 8:17 ` Danny Milosavljevic
2018-10-06 17:00 ` [bug#32953] [PATCH core-updates-next 0/8] Use GCC7 as the default compiler Marius Bakke
2018-12-27 10:59 ` Ludovic Courtès
2018-12-29 17:58 ` Efraim Flashner
2019-01-16 13:53 ` Marius Bakke
2019-01-19 17:09 ` Efraim Flashner [this message]
2019-01-19 20:01 ` Efraim Flashner
2019-02-06 20:23 ` Marius Bakke
2019-02-06 22:35 ` Ricardo Wurmus
2019-02-06 23:03 ` Marius Bakke
2019-02-08 12:28 ` Ricardo Wurmus
2019-02-09 15:00 ` Ludovic Courtès
2019-02-09 20:57 ` bug#32953: " Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190119170904.GF25281@macbook41 \
--to=efraim@flashner.co.il \
--cc=32953@debbugs.gnu.org \
--cc=mbakke@fastmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).