[Patch] Fix localedata test builds with latest GCC

Steve Ellcey sellcey@cavium.com
Fri Jul 21 17:11:00 GMT 2017


On Wed, 2017-07-19 at 15:20 -0500, Zack Weinberg wrote:
> On Wed, Jul 19, 2017 at 3:14 PM, Steve Ellcey <sellcey@cavium.com>
> wrote:
> > 
> > While testing the latest glibc sources with the latest (ToT) GCC, I ran
> > into some build failures (during testing, not during the glibc build).
> > This patch fixes the build failures in the localedata subdirectory.  I
> > believe these started failing with this GCC patch:
> > 
> >         https://gcc.gnu.org/ml/gcc-patches/2017-06/msg00537.html
> > 
> > It does not look like older GCC's complain about not understanding this
> > option so there does not seem to be any need to conditionalize its usage.
> I can't conveniently experiment with GCC 8.x right now, but this seems
> like the right general idea.
> 
> zw

Does anyone else have any comments, pro or con, on this patch?  I would
like to check it in today for 2.26 if there are no objections, but it
is certainly not a showstopper if there are objections.

Steve Ellcey
sellcey@cavium.com



More information about the Libc-alpha mailing list