This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Work around in-tree gmp configure problems
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Jan-Benedict Glaw <jbglaw at lug-owl dot de>
- Cc: Bernd Edlinger <bernd dot edlinger at hotmail dot de>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 24 Nov 2014 12:53:11 +0100
- Subject: Re: [PATCH] Work around in-tree gmp configure problems
- Authentication-results: sourceware.org; auth=none
- References: <DUB118-W4008C5DFFAB255FA19320CE4740 at phx dot gbl> <20141122153438 dot GQ8445 at lug-owl dot de>
On Sat, Nov 22, 2014 at 4:34 PM, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> Hi!
>
> On Sat, 2014-11-22 14:33:29 +0100, Bernd Edlinger <bernd.edlinger@hotmail.de> wrote:
>> since r217627 we use an updated AutoMake "missing" script. However
>> that revealed a hidden bug in gmp-4.3.2's (up to gmp-6.0.0a)
>> configure script. That is: an in-tree gmp/configure fails now if
>> flex is missing. The gmp configure uses our missing flex script,
>> and previously that emitted an error message and created a dummy
>> lex.yy.c, The new version of that script does no longer create any
>> lex.yy.c.
> [...]
>> This patch adds LEX="touch lex.yy.c" to the in-tree gmp configure
>> script, which does in fact the same thing as the flex tool when
>> called under these conditions.
>>
>> I have tested gmp-4.3.2 and gmp-6.0.0a in-tree and boot-strapped
>> under x86_64-linux-gnu successfully.
> [...]
>> 2014-11-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
>>
>> * Makefile.def (module=gmp): Work around in-tree gmp configure
>> bug with missing flex.
>> * Makefile.in: Regenerated.
>
> Bernd and I discussed that patch; I'm all for it! Looks like that's
> the least-ugly thing we'd possibly come up with.
I suppose it is fixed upstream now?
Ok.
Thanks,
Richard.
> MfG, JBG
>
> --
> Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481
> Signature of: Fortschritt bedeutet, einen Schritt so zu machen,
> the second : daà man den nÃchsten auch noch machen kann.