Bug 26707 - binutils on mingw-w64 for x86_64-elf target because of bison flex?
Summary: binutils on mingw-w64 for x86_64-elf target because of bison flex?
Status: RESOLVED NOTABUG
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.36
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-06 03:31 UTC by cqwrteur
Modified: 2020-10-18 18:42 UTC (History)
0 users

See Also:
Host: windows. mingw-w64-x86_64
Target: x86_64-elf
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cqwrteur 2020-10-06 03:31:49 UTC
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
Comment 1 cqwrteur 2020-10-18 18:42:39 UTC
This is not a bug