2023-10-24 23:27:32

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the perf tree

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?

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2023-10-25 00:34:57

by Namhyung Kim

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the perf tree

Hello,

On Tue, Oct 24, 2023 at 4:27 PM Stephen Rothwell <[email protected]> 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