2021-04-21 08:45:46

by Valdis Klētnieks

[permalink] [raw]
Subject: next-20210420 build breakage on 32-bit - include/uapi/linux/bcache-nvm.h

commit 97d69b16cb973e04ea5309b9cb4356aa6b42c54e
Author: Coly Li <[email protected]>
Date: Wed Apr 14 13:46:36 2021 +0800

bcache: add initial data structures for nvm pages

contains this code:

+#if (__BITS_PER_LONG != 64)
+ #error "Non-64bit platform is not supported"
+#endif

This breaks the build on arm and other 32-bit systems:

HDRTEST usr/include/linux/bcache-nvm.h
In file included from <command-line>:32:
./usr/include/linux/bcache-nvm.h:109:3: error: #error "Non-64bit platform is not supported"
#error "Non-64bit platform is not supported"
^~~~~
make[3]: *** [/usr/src/linux-next/usr/include/Makefile:106: usr/include/linux/bcache-nvm.hdrtest] Error 1
make[2]: *** [/usr/src/linux-next/scripts/Makefile.build:534: usr/include] Error 2
make[1]: *** [/usr/src/linux-next/Makefile:1967: usr] Error 2


Attachments:
(No filename) (849.00 B)

2021-04-21 10:30:35

by Coly Li

[permalink] [raw]
Subject: Re: next-20210420 build breakage on 32-bit - include/uapi/linux/bcache-nvm.h

On 4/21/21 3:59 PM, Valdis Klētnieks wrote:
> commit 97d69b16cb973e04ea5309b9cb4356aa6b42c54e
> Author: Coly Li <[email protected]>
> Date: Wed Apr 14 13:46:36 2021 +0800
>
> bcache: add initial data structures for nvm pages
>
> contains this code:
>
> +#if (__BITS_PER_LONG != 64)
> + #error "Non-64bit platform is not supported"
> +#endif
>
> This breaks the build on arm and other 32-bit systems:
>
> HDRTEST usr/include/linux/bcache-nvm.h
> In file included from <command-line>:32:
> ./usr/include/linux/bcache-nvm.h:109:3: error: #error "Non-64bit platform is not supported"
> #error "Non-64bit platform is not supported"
> ^~~~~
> make[3]: *** [/usr/src/linux-next/usr/include/Makefile:106: usr/include/linux/bcache-nvm.hdrtest] Error 1
> make[2]: *** [/usr/src/linux-next/scripts/Makefile.build:534: usr/include] Error 2
> make[1]: *** [/usr/src/linux-next/Makefile:1967: usr] Error 2
>

Hi Valdis,

This series is withdrawn from 5.13 queue, this failure can be safely
ignored.

Thanks.

Coly Li