mainline build failure on arm hosts
Hi All,
The mainline kernel branch had been failing native build on arm hosts for some weeks with the error:
drivers/crypto/caam/desc_constr.h: In function 'append_data.constprop':./include/linux/fortify-string.h:57:29: error: argument 2 null where non-null expected [-Werror=nonnull]
57 | #define __underlying_memcpy __builtin_memcpy
| ^./include/linux/fortify-string.h:578:2: note: in expansion of macro '__underlying_memcpy'
578 | __underlying_##op(p, q, __fortify_size); \
| ^~~~~~~~~~~~~
./include/linux/fortify-string.h:623:26: note: in expansion of macro '__fortify_memcpy_chk'
623 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
drivers/crypto/caam/desc_constr.h:167:3: note: in expansion of macro 'memcpy'
167 | memcpy(offset, data, len);
| ^~~~~~./include/linux/fortify-string.h:57:29: note: in a call to built-in function '__builtin_memcpy'
57 | #define __underlying_memcpy __builtin_memcpy
| ^./include/linux/fortify-string.h:578:2: note: in expansion of macro '__underlying_memcpy'
578 | __underlying_##op(p, q, __fortify_size); \
| ^~~~~~~~~~~~~
./include/linux/fortify-string.h:623:26: note: in expansion of macro '__fortify_memcpy_chk'
623 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
drivers/crypto/caam/desc_constr.h:167:3: note: in expansion of macro 'memcpy'
167 | memcpy(offset, data, len);
| ^~~~~~cc1: all warnings being treated as errors
The commit 4f289826fee0 ("crypto: caam - Avoid GCC memset bug warning") in linux-next fixes the build.
Signature · 2 lines
Regards Sudip
Quoted 5 lines · Sudip Mukherjee
Hi All,
The mainline kernel branch had been failing native build on arm hosts for some weeks with the error:
This build failure is still present.
Signature · 2 lines
Regards Sudip