linux-next: build failure after merge of the pstore tree
Subsystems (2)
Hi Kees,
After merging the pstore tree, today's linux-next build (x86_64 allmodconfig) failed like this:
fs/pstore/platform.o: In function `zbufsize_zstd':
platform.c:(.text+0x172): undefined reference to `ZSTD_compressBound'
Caused by commit
48ed452ca6ad ("pstore: add zstd compression support")
I have used the pstore tree from next-20180802 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 11 lines · Stephen Rothwell
Hi Kees,
After merging the pstore tree, today's linux-next build (
x86_64allmodconfig) failed like this:
fs/pstore/platform.o: In function `zbufsize_zstd':
platform.c:(.text+0x172): undefined reference to `ZSTD_compressBound'Caused by commit
48ed452ca6ad("pstore: add zstd compression support")
Yikes. I have no idea how this slipped through. allmodconfig builds are my standard sanity-check but I clearly made some kind of error in my scripting.
I'll get it fixed. Thanks!
-Kees
Signature · 2 lines
Kees Cook Pixel Security
PATCH 1/1 pstore: set PSTORE_ZSTD_COMPRESS to bool
Fix build error:
fs/pstore/platform.o: In function `zbufsize_zstd':
Quoted 1 line
Quoted 1 line
platform.c:(.text+0x172): undefined reference to `ZSTD_compressBound'
--- fs/pstore/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/pstore/Kconfig +1 -1
@@ -51,7 +51,7 @@ config PSTORE_842_COMPRESS This option enables 842 compression algorithm support. config PSTORE_ZSTD_COMPRESS - tristate "zstd compression" + bool "zstd compression" depends on PSTORE select CRYPTO_ZSTD help
Signature · 1 line
2.17.1
Re: [PATCH] pstore: set PSTORE_ZSTD_COMPRESS to bool
Quoted 6 lines · Geliang Tang
Fix build error:
fs/pstore/platform.o: In function `zbufsize_zstd':Quoted 1 line
Quoted 1 line
platform.c:(.text+0x172): undefined reference to `ZSTD_compressBound'
Signed-off-by Geliang Tang <[email protected]>
Thanks! I'll squash this into the original commit.
-Kees
Quoted 20 lines
--- fs/pstore/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/pstore/Kconfig +1
-2@@ -51,7 +51,7 @@ config PSTORE_842_COMPRESS This option enables 842 compression algorithm support. config PSTORE_ZSTD_COMPRESS - tristate "zstd compression" + bool "zstd compression" depends on PSTORE select CRYPTO_ZSTD help --2.17.1
Signature · 2 lines
Kees Cook Pixel Security