This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Work around gcc9 warning bug
- From: Alan Modra <amodra at gmail dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: binutils at sourceware dot org, GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 13 May 2019 09:36:34 +0930
- Subject: Re: Work around gcc9 warning bug
- References: <CAKCAbMhDY_L2W+m8-_k0xjjHyLk7imu5puUaOWzNc4uQOia3DQ@mail.gmail.com>
On Sun, May 12, 2019 at 10:42:00AM -0400, Zack Weinberg wrote:
> On 30 Apr 2019, Alan Modra wrote:
> > * wrstabs.c (stab_start_class_type): Add assert to work around gcc9 warning. Tidy.
>
> Could you please backport this patch to the binutils 2.32 branch at
> least?
Done. I'll note for the broader audience that binutils releases
default to --disable-werror. If you're using binutils from git at
other than a release tag you should probably supply --disable-werror
to configure, unless you're interested in making the binutils sources
warning free.
> The gcc9 warning is breaking glibc's "build-many-glibcs"
> automation for exhaustive cross-compilation testing. As part of
> bootstrapping cross compilation environments, this builds a native gcc
> 9 and then tries to use it to build cross-binutils, currently from the
> 2.32 branch.
--
Alan Modra
Australia Development Lab, IBM