https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87018

            Bug ID: 87018
           Summary: [9 Regression] Boostrap failure on AIX
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

Created attachment 44559
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44559&action=edit
config.log from failed build

This is on gcc119.fsffrance.org, in case anybody wants to
reproduce. Files are in /home/tkoenig/trunk (source directory) and
/home/tkoenig/trunk-bin (build-directory).

Trying, from the build-directory, to run the shell script

PATH=/opt/freeware/bin:$PATH
../trunk/configure --disable-werror --enable-languages=c,c++,fortran
--with-gmp=/opt/cfarm --with-libiconv-prefix=/opt/cfarm --disable-libstdcxx-pch
--with-included-gettext --prefix=$HOME
make -j32 SHELL=/bin/bash CONFIG_SHELL=/bin/bash

yields the error

In file included from ../../trunk/intl/plural.y:35:0:
../../trunk/intl/plural-exp.h:102:23: error: conflicting types for
'libintl_gettextparse'
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../trunk/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE'
 # define __gettextparse PLURAL_PARSE
                         ^~~~~~~~~~~~
plural.c:184:5: note: in expansion of macro '__gettextparse'
 int __gettextparse (void);
     ^~~~~~~~~~~~~~
../../trunk/intl/plural-exp.h:102:23: note: previous declaration of
'libintl_gettextparse' was here
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../trunk/intl/plural-exp.h:114:12: note: in expansion of macro
'PLURAL_PARSE'
 extern int PLURAL_PARSE PARAMS ((void *arg));
            ^~~~~~~~~~~~
../../trunk/intl/plural-exp.h:102:23: error: conflicting types for
'libintl_gettextparse'
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../trunk/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE'
 # define __gettextparse PLURAL_PARSE
                         ^~~~~~~~~~~~
plural.c:63:25: note: in expansion of macro '__gettextparse'
 #define yyparse         __gettextparse
                         ^~~~~~~~~~~~~~
plural.c:1129:1: note: in expansion of macro 'yyparse'
 yyparse (void)
 ^~~~~~~
../../trunk/intl/plural-exp.h:102:23: note: previous declaration of
'libintl_gettextparse' was here
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../trunk/intl/plural-exp.h:114:12: note: in expansion of macro
'PLURAL_PARSE'
 extern int PLURAL_PARSE PARAMS ((void *arg));
            ^~~~~~~~~~~~
plural.c: In function 'libintl_gettextparse':
plural.c:64:25: error: too few arguments to function '__gettextlex'
 #define yylex           __gettextlex
                         ^
plural.c:1298:16: note: in expansion of macro 'yylex'
       yychar = yylex (&yylval);
                ^~~~~
plural.c:64:25: note: declared here
 #define yylex           __gettextlex
                         ^
../../trunk/intl/plural.y:69:12: note: in expansion of macro 'yylex'
 static int yylex PARAMS ((YYSTYPE *lval, const char **pexp));
            ^~~~~
../../trunk/intl/plural.y:178:29: error: 'arg' undeclared (first use in this
function)
      ((struct parse_args *) arg)->res = $1;
                             ^~~
../../trunk/intl/plural.y:178:29: note: each undeclared identifier is reported
only once for each function it appears in
Makefile:133: recipe for target 'plural.o' failed

Reply via email to