Skip to contentSkip to conversation

next-20210420 build breakage on 32-bit - include/uapi/linux/bcache-nvm.h

DISCUSSION Valdis Klētnieks 2 participants 2 messages Apr 21, 2021

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 14 lines · Valdis Klētnieks

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:

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

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

Quoted 9 lines

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