Hi Sebastian, On Wed, Aug 04, 2021 at 06:50:17PM +0200, Sebastian Andrzej Siewior wrote: > Dear RT folks! > > I'm pleased to announce the v5.14-rc4-rt5 patch set. Just a heads up. I get these build errors: 2021-08-05 08:29:43 - ERROR - In file included from /home/wagi/rt/linux/arch/x86/kernel/asm-offsets.c:10: 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched.h:130:3: error: invalid preprocessing directive #debug_normal_state_change 2021-08-05 08:29:43 - ERROR - 130 | # debug_normal_state_change(state_value) \ 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched.h:136:3: error: invalid preprocessing directive #debug_special_state_change 2021-08-05 08:29:43 - ERROR - 136 | # debug_special_state_change(state_value) \ 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched.h:142:3: error: invalid preprocessing directive #debug_rtlock_wait_set_state 2021-08-05 08:29:43 - ERROR - 142 | # debug_rtlock_wait_set_state() \ 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched.h:148:3: error: invalid preprocessing directive #debug_rtlock_wait_restore_state 2021-08-05 08:29:43 - ERROR - 148 | # debug_rtlock_wait_restore_state() \ 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched/signal.h: In function ‘kernel_signal_stop’: 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched.h:219:17: error: implicit declaration of function ‘debug_special_state_change’ [-Werror=implicit-function-declaration] 2021-08-05 08:29:43 - ERROR - 219 | debug_special_state_change((state_value)); \ 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched/signal.h:296:17: note: in expansion of macro ‘set_special_state’ 2021-08-05 08:29:43 - ERROR - 296 | set_special_state(TASK_STOPPED); 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/rcuwait.h: In function ‘finish_rcuwait’: 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/sched.h:198:17: error: implicit declaration of function ‘debug_normal_state_change’ [-Werror=implicit-function-declaration] 2021-08-05 08:29:43 - ERROR - 198 | debug_normal_state_change((state_value)); \ 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - /home/wagi/rt/linux/include/linux/rcuwait.h:53:9: note: in expansion of macro ‘__set_current_state’ 2021-08-05 08:29:43 - ERROR - 53 | __set_current_state(TASK_RUNNING); 2021-08-05 08:29:43 - ERROR - | ^~~~~~~~~~~~~~~~~~~ 2021-08-05 08:29:43 - ERROR - cc1: some warnings being treated as errors Daniel Bristot reported the same one IRC. Daniel