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

From: Namhyung Kim
Date: Tue Oct 24 2023 - 20:34:49 EST


Hello,

On Tue, Oct 24, 2023 at 4:27 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> 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?

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