stable-rc 4.19 build broken on arm64, arm, x86_64 and i386.
# make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=x86 HOSTCC=gcc CC="sccache gcc" O=build 75 # 76 kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call without frame pointer save/setup 77 kernel/locking/rwsem.o: warning: objtool: up_write()+0x17: call without frame pointer save/setup 78 kernel/locking/rwsem.o: warning: objtool: downgrade_write()+0x25: call without frame pointer save/setup 79 ../drivers/crypto/ccp/sp-platform.c:37:34: warning: array ‘sp_of_match’ assumed to have one element 80 37 | static const struct of_device_id sp_of_match[]; 81 | ^~~~~~~~~~~ 82 ../lib/vsprintf.c: In function ‘pointer’: 83 ../lib/vsprintf.c:1983:11: error: implicit declaration of function ‘error_string’ [-Werror=implicit-function-declaration] 84 1983 | return error_string(buf, end, "(einval)", spec); 85 | ^~~~~~~~~~~~ 86 ../lib/vsprintf.c:1983:11: warning: returning ‘int’ from a function with return type ‘char *’ makes pointer from integer without a cast [-Wint-conversion] 87 1983 | return error_string(buf, end, "(einval)", spec); 88 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 cc1: some warnings being treated as errors
ref: https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410092 https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410099
On Mon, May 18, 2020 at 10:49:08PM +0530, Naresh Kamboju wrote:
stable-rc 4.19 build broken on arm64, arm, x86_64 and i386.
# make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=x86 HOSTCC=gcc CC="sccache gcc" O=build 75 # 76 kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call without frame pointer save/setup 77 kernel/locking/rwsem.o: warning: objtool: up_write()+0x17: call without frame pointer save/setup 78 kernel/locking/rwsem.o: warning: objtool: downgrade_write()+0x25: call without frame pointer save/setup 79 ../drivers/crypto/ccp/sp-platform.c:37:34: warning: array ‘sp_of_match’ assumed to have one element 80 37 | static const struct of_device_id sp_of_match[]; 81 | ^~~~~~~~~~~ 82 ../lib/vsprintf.c: In function ‘pointer’: 83 ../lib/vsprintf.c:1983:11: error: implicit declaration of function ‘error_string’ [-Werror=implicit-function-declaration] 84 1983 | return error_string(buf, end, "(einval)", spec); 85 | ^~~~~~~~~~~~ 86 ../lib/vsprintf.c:1983:11: warning: returning ‘int’ from a function with return type ‘char *’ makes pointer from integer without a cast [-Wint-conversion] 87 1983 | return error_string(buf, end, "(einval)", spec); 88 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 cc1: some warnings being treated as errors
ref: https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410092 https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/557410099
Should all now be fixed, sorry for the churn.
greg k-h