Skip to contentSkip to conversation

linux-next: build failure after merge of the perf tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Oct 24, 2023 – Oct 25, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the perf tree, today's linux-next build (native perf) failed like this:

perf/util/pmu-flex.c:1812:1: error: unterminated comment
1812 | /** Setup the input buffer state to scan a string. The next call to yylex() will

      | ^
perf/util/pmu-flex.c:550:24: error: 'yy_fatal_error' used but never defined [-Werror]
  550 | static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner );
      |                        ^~~~~~~~~~~~~~

I don't know what caused this, but the above file looks fine and redoing the build works, so it may be some timing problem when doing an incremental build?

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hello,

Quoted 8 lines · Stephen Rothwell

Hi all,

After merging the perf tree, today's linux-next build (native perf) failed like this:

perf/util/pmu-flex.c:1812:1: error: unterminated comment
1812 | /** Setup the input buffer state to scan a string. The next call to yylex() will

Quoted 8 lines
      | ^
perf/util/pmu-flex.c:550:24: error: 'yy_fatal_error' used but never defined [-Werror]
  550 | static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner );
      |                        ^~~~~~~~~~~~~~

I don't know what caused this, but the above file looks fine and redoing the build works, so it may be some timing problem when doing an incremental build?

Yeah, I think I saw this error before. Looks like a timing issue but I believe something is wrong with it. I'll take a look.

Thanks,
Namhyung