lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <3267ea6e-5a1a-4752-96ef-8351c912d386@linux.ibm.com>
Date: Thu, 6 Mar 2025 22:30:16 +0530
From: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>
To: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
        Stephen Rothwell <sfr@...b.auug.org.au>,
        Michael Ellerman <mpe@...erman.id.au>,
        Madhavan Srinivasan <maddy@...ux.ibm.com>
Subject: PowerPC: sleftests/powerpc fails to compile linux-next

Greetings!!

I see selftests/powerpc fails to compile on next-20250306.

This error has been introduced in next-20250218. Make is successful on 
next-20250217.


Attached is the .config used.


If you fix this, please add below tag.

Reported-by: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>


Errors:

make -C powerpc/
make: Entering directory 
'/root/venkat/linux-next/tools/testing/selftests/powerpc'
Makefile:60: warning: overriding recipe for target 'emit_tests'
../lib.mk:182: warning: ignoring old recipe for target 'emit_tests'
BUILD_TARGET=/root/venkat/linux-next/tools/testing/selftests/powerpc/alignment; 
mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C alignment all
make[1]: Nothing to be done for 'all'.
BUILD_TARGET=/root/venkat/linux-next/tools/testing/selftests/powerpc/benchmarks; 
mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C benchmarks all
make[1]: Nothing to be done for 'all'.
BUILD_TARGET=/root/venkat/linux-next/tools/testing/selftests/powerpc/cache_shape; 
mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C cache_shape all
make[1]: Nothing to be done for 'all'.
BUILD_TARGET=/root/venkat/linux-next/tools/testing/selftests/powerpc/copyloops; 
mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C copyloops all
make[1]: Nothing to be done for 'all'.
BUILD_TARGET=/root/venkat/linux-next/tools/testing/selftests/powerpc/dexcr; 
mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C dexcr all
make[1]: Nothing to be done for 'all'.
BUILD_TARGET=/root/venkat/linux-next/tools/testing/selftests/powerpc/dscr; 
mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C dscr all
make[1]: Nothing to be done for 'all'.
BUILD_TARGET=/root/venkat/linux-next/tools/testing/selftests/powerpc/mm; 
mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C mm all
   CC       pkey_exec_prot
In file included from pkey_exec_prot.c:18:
/root/venkat/linux-next/tools/testing/selftests/powerpc/include/pkeys.h: 
In function ‘pkeys_unsupported’:
/root/venkat/linux-next/tools/testing/selftests/powerpc/include/pkeys.h:96:34: 
error: ‘PKEY_UNRESTRICTED’ undeclared (first use in this function)
    96 |         pkey = sys_pkey_alloc(0, PKEY_UNRESTRICTED);
       |                                  ^~~~~~~~~~~~~~~~~
/root/venkat/linux-next/tools/testing/selftests/powerpc/include/pkeys.h:96:34: 
note: each undeclared identifier is reported only once for each function 
it appears in
pkey_exec_prot.c: In function ‘segv_handler’:
pkey_exec_prot.c:75:53: error: ‘PKEY_UNRESTRICTED’ undeclared (first use 
in this function)
    75 |                         pkey_set_rights(fault_pkey, 
PKEY_UNRESTRICTED);
       | ^~~~~~~~~~~~~~~~~
make[1]: *** [../../lib.mk:222: 
/root/venkat/linux-next/tools/testing/selftests/powerpc/mm/pkey_exec_prot] 
Error 1
   CC       pkey_siginfo
In file included from pkey_siginfo.c:22:
/root/venkat/linux-next/tools/testing/selftests/powerpc/include/pkeys.h: 
In function ‘pkeys_unsupported’:
/root/venkat/linux-next/tools/testing/selftests/powerpc/include/pkeys.h:96:34: 
error: ‘PKEY_UNRESTRICTED’ undeclared (first use in this function)
    96 |         pkey = sys_pkey_alloc(0, PKEY_UNRESTRICTED);
       |                                  ^~~~~~~~~~~~~~~~~
/root/venkat/linux-next/tools/testing/selftests/powerpc/include/pkeys.h:96:34: 
note: each undeclared identifier is reported only once for each function 
it appears in
pkey_siginfo.c: In function ‘segv_handler’:
pkey_siginfo.c:86:39: error: ‘PKEY_UNRESTRICTED’ undeclared (first use 
in this function)
    86 |                 pkey_set_rights(pkey, PKEY_UNRESTRICTED);
       |                                       ^~~~~~~~~~~~~~~~~
make[1]: *** [../../lib.mk:222: 
/root/venkat/linux-next/tools/testing/selftests/powerpc/mm/pkey_siginfo] 
Error 1
make[1]: Target 'all' not remade because of errors.
make: *** [Makefile:40: mm] Error 2
make: Leaving directory 
'/root/venkat/linux-next/tools/testing/selftests/powerpc'


Regards,

Venkat.

View attachment "ZZ-VM-config" of type "text/plain" (170342 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ