[PATCH 3/6] gendef generates sigfe.s and cygwin.def

marco atzeri marco.atzeri@gmail.com
Fri Oct 23 08:16:52 GMT 2020


On Wed, Oct 21, 2020 at 5:07 PM Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
>
> On Oct 21 15:31, Jon Turney wrote:
> > On 20/10/2020 14:43, Jon Turney wrote:
> > > Express that gendef generates sigfe.s and cygwin.def in a slightly less
> > > nutty way.
> > > ---
> > >   winsup/cygwin/Makefile.in | 5 +----
> > >   1 file changed, 1 insertion(+), 4 deletions(-)
> > >
> > > diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
> > > index a56a311b8..9d05b17b3 100644
> > > --- a/winsup/cygwin/Makefile.in
> > > +++ b/winsup/cygwin/Makefile.in
> > > @@ -785,16 +785,13 @@ $(VERSION_OFILES): version.cc
> > >   Makefile: ${srcdir}/Makefile.in
> > >     /bin/sh ./config.status
> > > -$(DEF_FILE): gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE)
> > > +$(DEF_FILE) sigfe.s: gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE)
> > >     $(word 1,$^) --cpu=${target_cpu} --output-def=$@  --tlsoffsets=$(word 2,$^) $(wordlist 3,99,$^)
> >
> > Using $@ is wrong if make decides to build sigfe.s first, and $^ will
> > contain an unwanted $(DEF_FILE) from the dependency below.
> >
> > So please try the attached instead.
>
> With this patch, both architectures build and *drumrole* still
> seem to run fine.
>
> I'd say, ship it!
>
>
> Thanks,
> Corinna

Jon,
in the past sigfe.s was missing from the debuginfo
https://stackoverflow.com/questions/44770147/gdb-in-cygwin-is-missing-sigfe-s

and I assume it is still missing, can you double check ?

Thanks
Marco


More information about the Cygwin-patches mailing list