This is the mail archive of the
mailing list for the GCC project.
Re: Who broke options.h?
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: David Malcolm <dmalcolm at redhat dot com>, GCC Development <gcc at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Apr 2017 09:43:18 -0700
- Subject: Re: Who broke options.h?
- Authentication-results: sourceware.org; auth=none
- References: <20170425135922.GA19857@troutmask.apl.washington.edu> <firstname.lastname@example.org> <CAGWvnynVtaG2whKZhVgJuzHv3xse02JB=DuB2xddt7xPvu_n6w@mail.gmail.com>
- Reply-to: sgk at troutmask dot apl dot washington dot edu
On Tue, Apr 25, 2017 at 11:09:05AM -0400, David Edelsohn 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).
> > Alternatively, maybe the collisions are caused by some names needing
> > opt_sanitized_name? (you could try making that return its argumen
> > unmodified to see if it shows anything, I guess) But I don't see any
> > new option in trunk in the last 3 days.
> Maybe BSD awk versus GNU awk?
> Did the bootstrap system change or GNU awk is not in the path?
This did occur with nawk.
But, I think that there must be something environmental setting
on the user account causing the problem. If I login as the
user that owns the gcc/ account, I see the problem. If I login
to my normal account and then su to the gcc/ account, the system
builds as normal. I'm investigating.
On the bright side, I can confirm that Richard's patch does
fix the original issue. Thanks, Richard.