wrong-order args passed to bison, sometimes

Shannon Wells shannonw@cygnus.com
Tue May 18 10:29:00 GMT 1999


On Mon, 17 May 1999, Jeffrey A Law wrote:

> 
> 
>   In message < 199905180007.RAA27585@cygnus.com >you write:
>   > gcc/Makefile.in has a rule to make cexp.c with
>   >     bison ... cexp.y -o cexp.c
>   > 
>   > bison, if the environment variable POSIXLY_CORRECT is set,
>   > doesn't let you have options after args, and it complains:
>   >     bison: extra arguments ignored after 'cexp.y'
>   > 
>   > This is probably the cause of PR 19840.
>   > 
>   > The fix is trivial:

Is unsetting POSIXLY_CORRECT before you build a workaround, then?

There have been a couple of questions from Red Hat customers who have found
this problem.  I was ignorant of the possible causes and so was unable to
reproduce it.  If this patch won't apply to redhat-980810, it would be 
nice to have one that does, regardless.  Otherwise we'll have random 
people's builds of the redhat release failing (which has already happened).

Thanks,
Shannon
---
Shannon E. Wells		Web:  		http://www.cygnus.com
Support Engineer		Support line:	408-542-9601
Cygnus Solutions		Email:		shannonw@cygnus.com



More information about the Gcc-patches mailing list