Hay
Date
March 5, 2025, 6:38 p.m.

Environment
arm64
x86_64

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
pkey_sighandler_tests.c: In function 'thread_segv_with_pkey0_disabled':
pkey_sighandler_tests.c:166:9: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds]
  166 |         *(int *) (0x1) = 1;
      |         ^~~~~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In function 'thread_segv_maperr_ptr',
    inlined from 'test_sigsegv_handler_with_different_pkey_for_stack' at pkey_sighandler_tests.c:341:3:
pkey_sighandler_tests.c:198:14: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds]
  198 |         *bad = 1;
      |         ~~~~~^~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
pkey_sighandler_tests.c: In function 'thread_segv_with_pkey0_disabled':
pkey_sighandler_tests.c:166:9: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds]
  166 |         *(int *) (0x1) = 1;
      |         ^~~~~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In function 'thread_segv_maperr_ptr',
    inlined from 'test_sigsegv_handler_with_different_pkey_for_stack' at pkey_sighandler_tests.c:341:3:
pkey_sighandler_tests.c:198:14: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds]
  198 |         *bad = 1;
      |         ~~~~~^~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
pkey_sighandler_tests.c: In function 'thread_segv_with_pkey0_disabled':
pkey_sighandler_tests.c:166:9: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  166 |         *(int *) (0x1) = 1;
      |         ^~~~~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In function 'thread_segv_maperr_ptr',
    inlined from 'test_sigsegv_handler_with_different_pkey_for_stack' at pkey_sighandler_tests.c:341:3:
pkey_sighandler_tests.c:198:14: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  198 |         *bad = 1;
      |         ~~~~~^~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
pkey_sighandler_tests.c: In function 'thread_segv_with_pkey0_disabled':
pkey_sighandler_tests.c:166:9: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  166 |         *(int *) (0x1) = 1;
      |         ^~~~~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In function 'thread_segv_maperr_ptr',
    inlined from 'test_sigsegv_handler_with_different_pkey_for_stack' at pkey_sighandler_tests.c:341:3:
pkey_sighandler_tests.c:198:14: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  198 |         *bad = 1;
      |         ~~~~~^~~

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' kselftest-install
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In function 'thread_segv_maperr_ptr',
    inlined from 'test_sigsegv_handler_with_different_pkey_for_stack' at pkey_sighandler_tests.c:341:3:
pkey_sighandler_tests.c:198:14: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  198 |         *bad = 1;
      |         ~~~~~^~~

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' kselftest-install
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
pkey_sighandler_tests.c: In function 'thread_segv_with_pkey0_disabled':
pkey_sighandler_tests.c:166:9: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  166 |         *(int *) (0x1) = 1;
      |         ^~~~~~~~~~~~~~

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' kselftest-install
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
In function 'thread_segv_maperr_ptr',
    inlined from 'test_sigsegv_handler_with_different_pkey_for_stack' at pkey_sighandler_tests.c:341:3:
pkey_sighandler_tests.c:198:14: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  198 |         *bad = 1;
      |         ~~~~~^~~

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' kselftest-install
make[4]: Entering directory '/builds/linux/tools/testing/selftests/mm'
pkey_sighandler_tests.c: In function 'thread_segv_with_pkey0_disabled':
pkey_sighandler_tests.c:166:9: warning: array subscript 0 is outside array bounds of 'int[0]' [-Warray-bounds=]
  166 |         *(int *) (0x1) = 1;
      |         ^~~~~~~~~~~~~~