linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mainline build failure on arm hosts
@ 2023-01-30 12:17 Sudip Mukherjee
  2023-02-18 10:51 ` Sudip Mukherjee
  0 siblings, 1 reply; 2+ messages in thread
From: Sudip Mukherjee @ 2023-01-30 12:17 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, linux-kernel, Horia Geantă, Pankaj Gupta,
	Gaurav Jain, David S. Miller, linux-crypto

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.


-- 
Regards
Sudip

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mainline build failure on arm hosts
  2023-01-30 12:17 mainline build failure on arm hosts Sudip Mukherjee
@ 2023-02-18 10:51 ` Sudip Mukherjee
  0 siblings, 0 replies; 2+ messages in thread
From: Sudip Mukherjee @ 2023-02-18 10:51 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, linux-kernel, Horia Geantă, Pankaj Gupta,
	Gaurav Jain, David S. Miller, linux-crypto

On Mon, 30 Jan 2023 at 12:17, Sudip Mukherjee
<sudipm.mukherjee@gmail.com> wrote:
>
> 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.


-- 
Regards
Sudip

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-18 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-30 12:17 mainline build failure on arm hosts Sudip Mukherjee
2023-02-18 10:51 ` Sudip Mukherjee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).