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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgp_yv7YplXB9.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux