[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240905115548.745ef16a@canb.auug.org.au>
Date: Thu, 5 Sep 2024 11:55:48 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>, Namhyung Kim
<namhyung@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
Mailing List <linux-next@...r.kernel.org>
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/bpf-filter-flex.c: In function 'yy_get_previous_state':
perf/util/bpf-filter-flex.c:1919:9: error: expected expression at end of input
1919 | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
| ^~~
perf/util/bpf-filter-flex.c:1919:9: error: expected declaration or statement at end of input
perf/util/bpf-filter-flex.c:1919:9: error: no return statement in function returning non-void [-Werror=return-type]
perf/util/bpf-filter-flex.c: At top level:
perf/util/bpf-filter-flex.c:20:31: error: 'perf_bpf_filter_ensure_buffer_stack' used but never defined [-Werror]
20 | #define yyensure_buffer_stack perf_bpf_filter_ensure_buffer_stack
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
perf/util/bpf-filter-flex.c:550:13: note: in expansion of macro 'yyensure_buffer_stack'
550 | static void yyensure_buffer_stack ( void );
| ^~~~~~~~~~~~~~~~~~~~~
perf/util/bpf-filter-flex.c:16:30: error: 'perf_bpf_filter__load_buffer_state' used but never defined [-Werror]
16 | #define yy_load_buffer_state perf_bpf_filter__load_buffer_state
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
perf/util/bpf-filter-flex.c:551:13: note: in expansion of macro 'yy_load_buffer_state'
551 | static void yy_load_buffer_state ( void );
| ^~~~~~~~~~~~~~~~~~~~
perf/util/bpf-filter-flex.c:604:22: error: 'yy_try_NUL_trans' used but never defined [-Werror]
604 | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
| ^~~~~~~~~~~~~~~~
perf/util/bpf-filter-flex.c:606:24: error: 'yy_fatal_error' used but never defined [-Werror]
606 | static void yynoreturn yy_fatal_error ( const char* msg );
| ^~~~~~~~~~~~~~
perf/util/bpf-filter-flex.c:510:15: error: 'yy_buffer_stack_max' defined but not used [-Werror=unused-variable]
510 | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
I don't know what caused this, but just redoing the build worked.
Is there maybe a dependency missing?
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists