Re: Linux 5.6-rc1 kselftest build failures

From: shuah
Date: Wed Feb 12 2020 - 13:16:51 EST


On 2/12/20 7:09 AM, Dmitry Safonov wrote:
Hi Shuah,

On 2/12/20 12:35 AM, shuah wrote:
The following tests fail to build on x86_64
[..]
timerns:

tools/testing/selftests/timens'
gcc -Wall -Werror -pthread -lrt -ldl timens.c -o
tools/testing/selftests/timens/timens
/usr/bin/ld: /tmp/ccGy5CST.o: in function `check_config_posix_timers':
timens.c:(.text+0x65a): undefined reference to `timer_create'
collect2: error: ld returned 1 exit status

I've just send a patch to fix it:
https://lkml.kernel.org/r/20200212140040.126747-1-dima@xxxxxxxxxx

Could you try it?

Yup. Works, responsed to the patch thread.


Also, it seems that the same thing affects futex/rtc/tcp_mmap/tcp_inq tests?

While looking into this, I see there are new auto-generated lkmdtm &&
pidfd tests, is it worth to add them to .gitignore?


Thanks for finding. Yes please send a patch for this.

thanks,
-- Shuah