https://sourceware.org/bugzilla/show_bug.cgi?id=26707
Bug ID: 26707 Summary: binutils on mingw-w64 for x86_64-elf target because of bison flex? Product: binutils Version: 2.36 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: euloanty at live dot com Target Milestone: --- In file included from ../../binutils-gdb/intl/plural.y:35: ../../binutils-gdb/intl/plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse' 102 | # define PLURAL_PARSE libintl_gettextparse | ^~~~~~~~~~~~~~~~~~~~ ../../binutils-gdb/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE' 40 | # define __gettextparse PLURAL_PARSE | ^~~~~~~~~~~~ plural.c:200:5: note: in expansion of macro '__gettextparse' 200 | int __gettextparse (void); | ^~~~~~~~~~~~~~ ../../binutils-gdb/intl/plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here 102 | # define PLURAL_PARSE libintl_gettextparse | ^~~~~~~~~~~~~~~~~~~~ ../../binutils-gdb/intl/plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE' 114 | extern int PLURAL_PARSE PARAMS ((void *arg)); | ^~~~~~~~~~~~ ../../binutils-gdb/intl/plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse' 102 | # define PLURAL_PARSE libintl_gettextparse | ^~~~~~~~~~~~~~~~~~~~ ../../binutils-gdb/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE' 40 | # define __gettextparse PLURAL_PARSE | ^~~~~~~~~~~~ plural.c:68:25: note: in expansion of macro '__gettextparse' 68 | #define yyparse __gettextparse | ^~~~~~~~~~~~~~ plural.c:1038:1: note: in expansion of macro 'yyparse' 1038 | yyparse (void) | ^~~~~~~ ../../binutils-gdb/intl/plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here 102 | # define PLURAL_PARSE libintl_gettextparse | ^~~~~~~~~~~~~~~~~~~~ ../../binutils-gdb/intl/plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE' 114 | extern int PLURAL_PARSE PARAMS ((void *arg)); | ^~~~~~~~~~~~ plural.c: In function 'libintl_gettextparse': plural.c:69:25: error: too few arguments to function '__gettextlex' 69 | #define yylex __gettextlex | ^~~~~~~~~~~~ plural.c:1216:16: note: in expansion of macro 'yylex' 1216 | yychar = yylex (&yylval); | ^~~~~ plural.c:69:25: note: declared here 69 | #define yylex __gettextlex | ^~~~~~~~~~~~ ../../binutils-gdb/intl/plural.y:69:12: note: in expansion of macro 'yylex' 69 | static int yylex PARAMS ((YYSTYPE *lval, const char **pexp)); | ^~~~~ ../../binutils-gdb/intl/plural.y:178:36: error: 'arg' undeclared (first use in this function) 178 | ((struct parse_args *) arg)->res = $1; | ^~~ ../../binutils-gdb/intl/plural.y:178:36: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [Makefile:133: plural.o] Error 1 make[1]: *** [Makefile:6655: all-intl] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:866: all] Error 2 -- You are receiving this mail because: You are on the CC list for the bug.