This is the mail archive of the
mailing list for the GCC project.
Re: Who broke options.h?
On Tue, Apr 25, 2017 at 04:13:45PM +0000, Joseph Myers wrote:
> On Tue, 25 Apr 2017, David Malcolm wrote:
> > >From what I can tell, the n_opts and opts in that file come direct from
> > opt-read.awk, which gets them from opt-gather.awk, which appears to
> > sort them (but my awk skills are weak).
> Maybe the opt-gather.awk call in Makefile.in needs to set LC_ALL=C. If
> setting LC_ALL=C on the $(AWK) -f $(srcdir)/opt-gather.awk call works to
> fix this then that change is preapproved.
I think you've found the problem. If I login as the user
that owns the gcc/ directory, I see the problem. That
If I login into my normal account and then su to user sgk, the
problem does not occur. My normal account has
So, it appears that LC_COLLATE=C is needed. I'll see if I can
come up with a patch later today.