[OE-core] [PATCH 1/3] bison: update to 3.0.2

Burton, Ross ross.burton at intel.com
Thu Nov 20 11:20:03 UTC 2014


On 18 November 2014 07:22, Chong Lu <Chong.Lu at windriver.com> wrote:

> Upgrade bison to 3.0.2.
>

In testing glibc fails to build on some arches and this patch may be the
cause:

| plural.c: In function '__gettextparse':
| plural.c:64:25: error: too few arguments to function '__gettextlex'
|  #define yylex           __gettextlex
|                          ^
| plural.c:1296:16: note: in expansion of macro 'yylex'
|        yychar = yylex (&yylval);
|                 ^
| plural.c:64:25: note: declared here
|  #define yylex           __gettextlex
|                          ^
| plural.y:69:12: note: in expansion of macro 'yylex'
|  static int yylex PARAMS ((YYSTYPE *lval, const char **pexp));
|             ^
| plural.y:178:29: error: 'arg' undeclared (first use in this function)
|       ((struct parse_args *) arg)->res = $1;

Does that look like something that bison 3 broke?  If so we need to fix
glibc.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141120/86137f22/attachment-0002.html>


More information about the Openembedded-core mailing list