On 11/10/2021 13:17, Naresh Kamboju wrote:
stable-rc 5.10 perf build failed due to these warnings / errors.
It seems that the Fixes tag was incorrect for commit b94729919db2 ("perf jevents: Fix sys_event_tables to be freed like arch_std_events").
It should really have fixed 4689f56796f8, not e9d32c1bf0cd7a98. Thanks, John
metadata: git_describe: v5.10.72-85-g431c7c55f183 git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git_short_log: 431c7c55f183 (\"Linux 5.10.73-rc1\") target_arch: x86_64 toolchain: gcc-11 pmu-events/jevents.c: In function 'main': pmu-events/jevents.c:1188:9: warning: implicit declaration of function 'free_sys_event_tables' [-Wimplicit-function-declaration] 1188 | free_sys_event_tables(); | ^~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /home/tuxbuild/.cache/tuxmake/builds/current/pmu-events/jevents-in.o: in function `main': (.text+0x469e): undefined reference to `free_sys_event_tables' /usr/bin/ld: (.text+0x475e): undefined reference to `free_sys_event_tables' collect2: error: ld returned 1 exit status make[2]: *** [Makefile.perf:649: /home/tuxbuild/.cache/tuxmake/builds/current/pmu-events/jevents] Error 1 make[2]: *** Waiting for unfinished jobs.... LINK /home/tuxbuild/.cache/tuxmake/builds/current/plugin_cfg80211.so GEN /home/tuxbuild/.cache/tuxmake/builds/current/libtraceevent-dynamic-list make[1]: *** [Makefile.perf:229: sub-make] Error 2 make: *** [Makefile:70: all] Error 2 Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx> build link: ----------- https://builds.tuxbuild.com/1zLv2snHfZN8QV01yA9MB8NhUZt/build.log build config: ------------- https://builds.tuxbuild.com/1zLv2snHfZN8QV01yA9MB8NhUZt/config