This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/gdb-9-branch] Abort configure immediately if building GDB in tree
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, simark at simark dot ca, gdb-patches at sourceware dot org, tom at tromey dot com
- Date: Sat, 1 Feb 2020 14:26:47 +0400
- Subject: Re: [RFA/gdb-9-branch] Abort configure immediately if building GDB in tree
- References: <20200105073000.1012-1-brobecker@adacore.com> <4d350c75-6e52-5c4c-5901-4c391970b643@simark.ca> <20200117181554.GB7007@adacore.com> <b815958d-a091-97cf-2952-2884defa97ca@simark.ca> <20200117183203.GC7007@adacore.com> <87imksmz79.fsf@redhat.com> <834kwcm63u.fsf@gnu.org> <87r1zflbft.fsf@redhat.com> <87eevfl2ze.fsf@redhat.com> <20200201101940.GB19442@adacore.com>
> > >>> I'm wondering what to do here. I think I found a hacky and ugly
> > >>> solution here, but I'm trying to see if there's a better approach.
> > >>
> > >> A special command-line switch to 'configure', to be used by
> > >> src-release.sh?
> > >
> > > A quick attempt here didn't really work. The script is able to finish
> > > the build and create a tarball, but for some reason the gdb directory is
> > > not configured/built.
> >
> > OK, I think I have something that works. When 'configure' is invoked
> > with '--enable-src-release-build', a tarball is generated and, as far as
> > I have checked, contains the correct snapshot.
> >
> > WDYT?
>
> Thanks! I didn't realize that this would impact source packaging
> like that.
>
> Let's go with your patch. I'm about to start working on the release,
> so I'll apply it for you.
Or not. Jonah just reported another blocking issue :-(, so I won't
be creating this release this weekend.
So the "good" news is that you can push the patch yourself!
--
Joel