DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75 -C TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools CC=gcc  CXX=g++  AS=as  AR=ar LD=ld 
make: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools'
make -C Source/C
make -C Source/Python
make[1]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C'
make[1]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/Python'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/Python'
Attempting to detect HOST_ARCH from 'uname -m': x86_64
Detected HOST_ARCH of X64 using uname.
mkdir -p .
mkdir ./libs
make -C VfrCompile VfrLexer.h
make[2]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C/VfrCompile'
BIN_DIR='.' make -C Pccts/dlg
BIN_DIR='.' make -C Pccts/antlr
make[3]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg'
make[3]: Entering directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr'
gcc  -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  antlr.c -o antlr.o
gcc  -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_p.c
gcc  -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_a.c
gcc  -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c main.c
main.c: In function ‘ProcessArgs’:
main.c:163:42: error: too many arguments to function ‘p->process’; expected 0, have 2
  163 |                                         (*p->process)( *argv, *(argv+1) );
      |                                         ~^~~~~~~~~~~~  ~~~~~
main.c:120:34: note: declared here
  120 |                         WildFunc process;
      |                                  ^~~~~~~
main.c:168:42: error: too many arguments to function ‘p->process’; expected 0, have 1
  168 |                                         (*p->process)( *argv );
      |                                         ~^~~~~~~~~~~~  ~~~~~
main.c:120:34: note: declared here
  120 |                         WildFunc process;
      |                                  ^~~~~~~
make[3]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg'
make[3]: *** [makefile:152: main.o] Error 1
make[2]: *** [GNUmakefile:61: Pccts/dlg/dlg] Error 2
make[2]: *** Waiting for unfinished jobs....
gcc  -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536 -c -o set.o ../support/set/set.c
gcc  -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  misc.c -o misc.o
gcc  -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  main.c -o main.o
gcc  -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  lex.c -o lex.o
gcc  -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  hash.c -o hash.o
gcc  -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  globals.c -o globals.o
globals.c:204:9: error: initialization of ‘struct _tree * (*)(void)’ from incompatible pointer type ‘Tree * (*)(Junction *, int,  set *)’ {aka ‘struct _tree * (*)(struct _junct *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  204 |         tJunc,
      |         ^~~~~
globals.c:204:9: note: (near initialization for ‘fpTraverse[1]’)
In file included from generic.h:284,
                 from globals.c:38:
proto.h:337:15: note: ‘tJunc’ declared here
  337 | extern Tree * tJunc( Junction *, int, set * );
      |               ^~~~~
globals.c:205:9: error: initialization of ‘struct _tree * (*)(void)’ from incompatible pointer type ‘Tree * (*)(RuleRefNode *, int,  set *)’ {aka ‘struct _tree * (*)(struct _rrnode *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  205 |         tRuleRef,
      |         ^~~~~~~~
globals.c:205:9: note: (near initialization for ‘fpTraverse[2]’)
proto.h:338:15: note: ‘tRuleRef’ declared here
  338 | extern Tree * tRuleRef( RuleRefNode *, int, set * );
      |               ^~~~~~~~
globals.c:206:9: error: initialization of ‘struct _tree * (*)(void)’ from incompatible pointer type ‘Tree * (*)(TokNode *, int,  set *)’ {aka ‘struct _tree * (*)(struct _toknode *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  206 |         tToken,
      |         ^~~~~~
globals.c:206:9: note: (near initialization for ‘fpTraverse[3]’)
proto.h:339:15: note: ‘tToken’ declared here
  339 | extern Tree * tToken( TokNode *, int, set * );
      |               ^~~~~~
globals.c:207:9: error: initialization of ‘struct _tree * (*)(void)’ from incompatible pointer type ‘Tree * (*)(ActionNode *, int,  set *)’ {aka ‘struct _tree * (*)(struct _anode *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  207 |         tAction
      |         ^~~~~~~
globals.c:207:9: note: (near initialization for ‘fpTraverse[4]’)
proto.h:340:15: note: ‘tAction’ declared here
  340 | extern Tree * tAction( ActionNode *, int, set * );
      |               ^~~~~~~
globals.c:226:9: error: initialization of ‘struct _set (*)(void)’ from incompatible pointer type ‘set (*)(Junction *, int,  set *)’ {aka ‘struct _set (*)(struct _junct *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  226 |         rJunc,
      |         ^~~~~
globals.c:226:9: note: (near initialization for ‘fpReach[1]’)
proto.h:348:12: note: ‘rJunc’ declared here
  348 | extern set rJunc( Junction *, int, set * );
      |            ^~~~~
globals.c:227:9: error: initialization of ‘struct _set (*)(void)’ from incompatible pointer type ‘set (*)(RuleRefNode *, int,  set *)’ {aka ‘struct _set (*)(struct _rrnode *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  227 |         rRuleRef,
      |         ^~~~~~~~
globals.c:227:9: note: (near initialization for ‘fpReach[2]’)
proto.h:349:12: note: ‘rRuleRef’ declared here
  349 | extern set rRuleRef( RuleRefNode *, int, set * );
      |            ^~~~~~~~
globals.c:228:9: error: initialization of ‘struct _set (*)(void)’ from incompatible pointer type ‘set (*)(TokNode *, int,  set *)’ {aka ‘struct _set (*)(struct _toknode *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  228 |         rToken,
      |         ^~~~~~
globals.c:228:9: note: (near initialization for ‘fpReach[3]’)
proto.h:350:12: note: ‘rToken’ declared here
  350 | extern set rToken( TokNode *, int, set * );
      |            ^~~~~~
globals.c:229:9: error: initialization of ‘struct _set (*)(void)’ from incompatible pointer type ‘set (*)(ActionNode *, int,  set *)’ {aka ‘struct _set (*)(struct _anode *, int,  struct _set *)’} [-Wincompatible-pointer-types]
  229 |         rAction
      |         ^~~~~~~
globals.c:229:9: note: (near initialization for ‘fpReach[4]’)
proto.h:351:12: note: ‘rAction’ declared here
  351 | extern set rAction( ActionNode *, int, set * );
      |            ^~~~~~~
globals.c:245:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types]
  245 |         pJunc,
      |         ^~~~~
globals.c:245:9: note: (near initialization for ‘fpPrint[1]’)
proto.h:419:13: note: ‘pJunc’ declared here
  419 | extern void pJunc( Junction * );
      |             ^~~~~
globals.c:246:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(RuleRefNode *)’ {aka ‘void (*)(struct _rrnode *)’} [-Wincompatible-pointer-types]
  246 |         pRuleRef,
      |         ^~~~~~~~
globals.c:246:9: note: (near initialization for ‘fpPrint[2]’)
proto.h:420:13: note: ‘pRuleRef’ declared here
  420 | extern void pRuleRef( RuleRefNode * );
      |             ^~~~~~~~
globals.c:247:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(TokNode *)’ {aka ‘void (*)(struct _toknode *)’} [-Wincompatible-pointer-types]
  247 |         pToken,
      |         ^~~~~~
globals.c:247:9: note: (near initialization for ‘fpPrint[3]’)
proto.h:421:13: note: ‘pToken’ declared here
  421 | extern void pToken( TokNode * );
      |             ^~~~~~
globals.c:248:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(ActionNode *)’ {aka ‘void (*)(struct _anode *)’} [-Wincompatible-pointer-types]
  248 |         pAction
      |         ^~~~~~~
globals.c:248:9: note: (near initialization for ‘fpPrint[4]’)
proto.h:422:13: note: ‘pAction’ declared here
  422 | extern void pAction( ActionNode * );
      |             ^~~~~~~
main.c:563:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  563 |     { "-ck", 1, pCk,    "Set compressed lookahead depth; fast approximate lookahead"},
      |                 ^~~
main.c:563:17: note: (near initialization for ‘options[2].process’)
main.c:189:1: note: ‘pCk’ declared here
  189 | pCk( char *s, char *t )
      | ^~~
main.c:567:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  567 |     { "-f",  1, pFileList,"Read names of grammar files from specified file"},   /* MR14 */
      |                 ^~~~~~~~~
main.c:567:17: note: (near initialization for ‘options[6].process’)
main.c:126:1: note: ‘pFileList’ declared here
  126 | pFileList( char *s, char *t )
      | ^~~~~~~~~
main.c:568:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  568 |     { "-fe", 1, pFe,    "Rename err.c"},
      |                 ^~~
main.c:568:17: note: (near initialization for ‘options[7].process’)
main.c:303:13: note: ‘pFe’ declared here
  303 | static void pFe(char *s, char *t) {ErrFileName = t;}
      |             ^~~
main.c:569:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  569 |     { "-fh", 1, pFHdr,  "Rename stdpccts.h header (turns on -gh)"},
      |                 ^~~~~
main.c:569:17: note: (near initialization for ‘options[8].process’)
main.c:324:13: note: ‘pFHdr’ declared here
  324 | static void pFHdr(char *s, char *t) { stdpccts = t; pGHdr(); }
      |             ^~~~~
main.c:570:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  570 |     { "-fl", 1, pFl,    "Rename lexical output--parser.dlg"},
      |                 ^~~
main.c:570:17: note: (near initialization for ‘options[9].process’)
main.c:304:13: note: ‘pFl’ declared here
  304 | static void pFl(char *s, char *t) {DlgFileName = t;}
      |             ^~~
main.c:571:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  571 |     { "-fm", 1, pFm,    "Rename mode.h"},
      |                 ^~~
main.c:571:17: note: (near initialization for ‘options[10].process’)
main.c:305:13: note: ‘pFm’ declared here
  305 | static void pFm(char *s, char *t) {ModeFileName = t;}
      |             ^~~
main.c:572:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  572 |     { "-fr", 1, pFr,    "Rename remap.h"},
      |                 ^~~
main.c:572:17: note: (near initialization for ‘options[11].process’)
main.c:302:13: note: ‘pFr’ declared here
  302 | static void pFr(char *s, char *t) {RemapFileName = t;}
      |             ^~~
main.c:573:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  573 |     { "-ft", 1, pFt,    "Rename tokens.h"},
      |                 ^~~
main.c:573:17: note: (near initialization for ‘options[12].process’)
main.c:306:13: note: ‘pFt’ declared here
  306 | static void pFt(char *s, char *t) {DefFileName = t;}
      |             ^~~
main.c:582:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  582 |     { "-gp", 1, pPre,   "Prefix all generated rule functions with a string"},
      |                 ^~~~
main.c:582:17: note: (near initialization for ‘options[21].process’)
main.c:384:1: note: ‘pPre’ declared here
  384 | pPre( char *s, char *t )
      | ^~~~
make[3]: *** [makefile:208: globals.o] Error 1
make[3]: *** Waiting for unfinished jobs....
main.c:587:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  587 |     { "-k",  1, pLLK,   "Set full LL(k) lookahead depth (default==1)"},
      |                 ^~~~
main.c:587:17: note: (near initialization for ‘options[26].process’)
main.c:173:1: note: ‘pLLK’ declared here
  173 | pLLK( char *s, char *t )
      | ^~~~
main.c:588:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  588 |     { "-o",  1, pOut,   OutputDirectoryOption},
      |                 ^~~~
main.c:588:17: note: (near initialization for ‘options[27].process’)
main.c:396:1: note: ‘pOut’ declared here
  396 | pOut( char *s, char *t )
      | ^~~~
main.c:592:18: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  592 |     { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"},
      |                  ^~~~~~~~
main.c:592:18: note: (near initialization for ‘options[31].process’)
main.c:424:1: note: ‘pPredCtx’ declared here
  424 | pPredCtx( char *s, char *t )
      | ^~~~~~~~
main.c:593:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  593 |     { "-rl", 1, pTRes,  "Limit max # of tree nodes used by grammar analysis"},
      |                 ^~~~~
main.c:593:17: note: (near initialization for ‘options[32].process’)
main.c:480:1: note: ‘pTRes’ declared here
  480 | pTRes( char *s, char *t )
      | ^~~~~
main.c:595:18: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  595 |     { "-tab", 1, pTab,  "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */
      |                  ^~~~
main.c:595:18: note: (near initialization for ‘options[34].process’)
main.c:205:1: note: ‘pTab’ declared here
  205 | pTab( char *s, char *t )                                                             /* MR6 */
      | ^~~~
main.c:598:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  598 |     { "-mrhoist",1,pMRhoist,                                                       /* MR9 */
      |                    ^~~~~~~~
main.c:598:20: note: (near initialization for ‘options[37].process’)
main.c:442:1: note: ‘pMRhoist’ declared here
  442 | pMRhoist( char *s, char *t )
      | ^~~~~~~~
main.c:600:21: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  600 |     { "-mrhoistk",1,pMRhoistk,                                                       /* MR13 */
      |                     ^~~~~~~~~
main.c:600:21: note: (near initialization for ‘options[38].process’)
main.c:462:1: note: ‘pMRhoistk’ declared here
  462 | pMRhoistk( char *s, char *t )
      | ^~~~~~~~~
main.c:602:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  602 |     { "-aa"  ,1,pAA,     "Ambiguity aid for a rule (rule name or line number)"},          /* MR11 */
      |                 ^~~
main.c:602:17: note: (near initialization for ‘options[39].process’)
main.c:321:13: note: ‘pAA’ declared here
  321 | static void pAA(char *s,char *t) {MR_AmbAidRule = t;}               /* MR11 */
      |             ^~~
main.c:603:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *)’ [-Wincompatible-pointer-types]
  603 |     { "-aam" ,0,pAAm,
      |                 ^~~~
main.c:603:17: note: (near initialization for ‘options[40].process’)
main.c:322:13: note: ‘pAAm’ declared here
  322 | static void pAAm(char *s){MR_AmbAidMultiple = 1;}                   /* MR11 */
      |             ^~~~
main.c:605:17: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  605 |     { "-aad" ,1,pAAd,
      |                 ^~~~
main.c:605:17: note: (near initialization for ‘options[41].process’)
main.c:223:1: note: ‘pAAd’ declared here
  223 | pAAd( char *s, char *t )                                                             /* MR11 */
      | ^~~~
main.c:607:21: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  607 |         { "-info",1,pInfo,
      |                     ^~~~~
main.c:607:21: note: (near initialization for ‘options[42].process’)
main.c:258:13: note: ‘pInfo’ declared here
  258 | static void pInfo(char *s, char *t)                         /* MR10 */
      |             ^~~~~
main.c:609:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types]
  609 |     { "-treport",1,pTreport,
      |                    ^~~~~~~~
main.c:609:20: note: (near initialization for ‘options[43].process’)
main.c:236:1: note: ‘pTreport’ declared here
  236 | pTreport( char *s, char *t )                                                 /* MR11 */
      | ^~~~~~~~
main.c:622:21: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *)’ [-Wincompatible-pointer-types]
  622 |         { "*",   0, pFile,      "" },   /* anything else is a file */
      |                     ^~~~~
main.c:622:21: note: (near initialization for ‘options[50].process’)
main.c:101:1: note: ‘pFile’ declared here
  101 | pFile( char *s )
      | ^~~~~
In file included from misc.c:53:
misc.c: In function ‘pBlk’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:966:17: note: in expansion of macro ‘PRINT’
  966 |                 PRINT(q->p1);
      |                 ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[alt->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:968:17: note: in expansion of macro ‘PRINT’
  968 |                 PRINT(alt->p1);
      |                 ^~~~~
In file included from stdpccts.h:22,
                 from main.c:37:
main.c: In function ‘main’:
syn.h:166:73: error: too many arguments to function ‘*(fpJTrans + (sizetype)((long unsigned int)SynDiag->jtype * 8))’; expected 0, have 1
  166 |                                         if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
      |                                                                        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:821:25: note: in expansion of macro ‘TRANS’
  821 |                         TRANS(SynDiag);                 /* Translate to the target language */
      |                         ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[alt->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:985:40: note: in expansion of macro ‘PRINT’
  985 |                 if ( alt->p1 != NULL ) PRINT(alt->p1);
      |                                        ^~~~~
syn.h:167:47: error: too many arguments to function ‘*(fpTrans + (sizetype)((long unsigned int)SynDiag->ntype * 8))’; expected 0, have 1
  167 |                                         else (*(fpTrans[(p)->ntype]))( p );}
      |                                              ~^~~~~~~~~~~~~~~~~~~~~~~
main.c:821:25: note: in expansion of macro ‘TRANS’
  821 |                         TRANS(SynDiag);                 /* Translate to the target language */
      |                         ^~~~~
syn.h:166:73: error: too many arguments to function ‘*(fpJTrans + (sizetype)((long unsigned int)SynDiag->jtype * 8))’; expected 0, have 1
  166 |                                         if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\
      |                                                                        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:855:25: note: in expansion of macro ‘TRANS’
  855 |                         TRANS(SynDiag);                 /* Translate to the target language */
      |                         ^~~~~
syn.h:167:47: error: too many arguments to function ‘*(fpTrans + (sizetype)((long unsigned int)SynDiag->ntype * 8))’; expected 0, have 1
  167 |                                         else (*(fpTrans[(p)->ntype]))( p );}
      |                                              ~^~~~~~~~~~~~~~~~~~~~~~~
main.c:855:25: note: in expansion of macro ‘TRANS’
  855 |                         TRANS(SynDiag);                 /* Translate to the target language */
      |                         ^~~~~
misc.c: In function ‘pJunc’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[SynDiag->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
main.c:886:22: note: in expansion of macro ‘PRINT’
  886 |                 else PRINT(SynDiag);
      |                      ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->end->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1087:51: note: in expansion of macro ‘PRINT’
 1087 |                         if ( q->end->p1 != NULL ) PRINT(q->end->p1);
      |                                                   ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->end->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1106:51: note: in expansion of macro ‘PRINT’
 1106 |                         if ( q->end->p1 != NULL ) PRINT(q->end->p1);
      |                                                   ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->end->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1125:51: note: in expansion of macro ‘PRINT’
 1125 |                         if ( q->end->p1 != NULL ) PRINT(q->end->p1);
      |                                                   ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->end->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1148:51: note: in expansion of macro ‘PRINT’
 1148 |                         if ( q->end->p1 != NULL ) PRINT(q->end->p1);
      |                                                   ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1154:25: note: in expansion of macro ‘PRINT’
 1154 |                         PRINT(q->p1);
      |                         ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->p2->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1155:46: note: in expansion of macro ‘PRINT’
 1155 |                         if ( q->p2 != NULL ) PRINT(q->p2);
      |                                              ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->p1->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1158:46: note: in expansion of macro ‘PRINT’
 1158 |                         if ( q->p1 != NULL ) PRINT(q->p1);
      |                                              ^~~~~
syn.h:170:42: error: too many arguments to function ‘fpPrint[q->p2->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1160:46: note: in expansion of macro ‘PRINT’
 1160 |                         if ( q->p2 != NULL ) PRINT(q->p2);
      |                                              ^~~~~
misc.c: In function ‘pRuleRef’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[p->next->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1182:9: note: in expansion of macro ‘PRINT’
 1182 |         PRINT(p->next);
      |         ^~~~~
misc.c: In function ‘pToken’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[p->next->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1199:9: note: in expansion of macro ‘PRINT’
 1199 |         PRINT(p->next);
      |         ^~~~~
misc.c: In function ‘pAction’:
syn.h:170:42: error: too many arguments to function ‘fpPrint[p->next->ntype]’; expected 0, have 1
  170 |                                         (*(fpPrint[(p)->ntype]))( p );}
      |                                         ~^~~~~~~~~~~~~~~~~~~~~~~
misc.c:1214:9: note: in expansion of macro ‘PRINT’
 1214 |         PRINT(p->next);
      |         ^~~~~
main.c: In function ‘ProcessArgs’:
main.c:1408:42: error: too many arguments to function ‘p->process’; expected 0, have 2
 1408 |                                         (*p->process)( *argv, *(argv+1) );
      |                                         ~^~~~~~~~~~~~  ~~~~~
main.c:56:32: note: declared here
   56 |                         void (*process)();
      |                                ^~~~~~~
main.c:1416:42: error: too many arguments to function ‘p->process’; expected 0, have 1
 1416 |                                         (*p->process)( *argv );
      |                                         ~^~~~~~~~~~~~  ~~~~~
main.c:56:32: note: declared here
   56 |                         void (*process)();
      |                                ^~~~~~~
make[3]: *** [makefile:208: main.o] Error 1
make[3]: *** [makefile:208: misc.o] Error 1
make[3]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr'
make[2]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C/VfrCompile'
make[2]: *** [GNUmakefile:58: Pccts/antlr/antlr] Error 2
make[1]: *** [GNUmakefile:86: VfrCompile/VfrLexer.h] Error 2
make[1]: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools/Source/C'
make: *** [GNUmakefile:19: Source/C] Error 2
make: Leaving directory 'TOPDIR/tmp/work/sbsa_ref-poky-linux/edk2-firmware/202408/sources/edk2/BaseTools'
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
19/03/26 20:43
Error type:
Recipe
Task:
do_compile
Recipe:
edk2-firmware
Recipe version:
202408-r0
Machine:
sbsa-ref
Distro:
poky
Build system:
x86_64-linux
Target system:
aarch64-poky-linux
Host distro:
universal/ubuntu-25.10
Branch:
stable/whinlatter-nut
Commit:
2d6383491f4246a93e1a49a9fe258d873adf8b76
Build:
#232652
Submitter:
yp-ab-ubuntu2510-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/75/builds/3301
Similar errors:
1
Open a bug