Slackware current - libelf bug
by slackwa from LinuxQuestions.org on (#6J6V0)
Hi,
Today after an upgrade of my slackware-current, i can't compile kernel, libelf problem
Code: CHKSHA1 include/linux/atomic/atomic-long.h
CC kernel/bounds.s
CHKSHA1 include/linux/atomic/atomic-arch-fallback.h
CHKSHA1 include/linux/atomic/atomic-instrumented.h
CC arch/x86/kernel/asm-offsets.s
LD /usr/src/zen-kernel-6.7.2-lqx1/tools/objtool/arch/x86/objtool-in.o
CALL scripts/checksyscalls.sh
LD /usr/src/zen-kernel-6.7.2-lqx1/tools/objtool/objtool-in.o
LINK /usr/src/zen-kernel-6.7.2-lqx1/tools/objtool/objtool
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: libz.so.1, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: libzstd.so.1, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: liblzma.so.5, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: libbz2.so.1, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflate'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_isError'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_decompress'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_freeCCtx'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_compressStream2'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `deflate'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_createCCtx'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `deflateInit_'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflateEnd'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `deflateEnd'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflateInit_'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflateReset'All dependent lib are present and in place
Today after an upgrade of my slackware-current, i can't compile kernel, libelf problem
Code: CHKSHA1 include/linux/atomic/atomic-long.h
CC kernel/bounds.s
CHKSHA1 include/linux/atomic/atomic-arch-fallback.h
CHKSHA1 include/linux/atomic/atomic-instrumented.h
CC arch/x86/kernel/asm-offsets.s
LD /usr/src/zen-kernel-6.7.2-lqx1/tools/objtool/arch/x86/objtool-in.o
CALL scripts/checksyscalls.sh
LD /usr/src/zen-kernel-6.7.2-lqx1/tools/objtool/objtool-in.o
LINK /usr/src/zen-kernel-6.7.2-lqx1/tools/objtool/objtool
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: libz.so.1, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: libzstd.so.1, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: liblzma.so.5, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: warning: libbz2.so.1, needed by /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflate'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_isError'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_decompress'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_freeCCtx'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_compressStream2'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `deflate'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `ZSTD_createCCtx'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `deflateInit_'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflateEnd'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `deflateEnd'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflateInit_'
/usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../x86_64-slackware-linux/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/../../../../lib64/libelf.so: undefined reference to `inflateReset'All dependent lib are present and in place