* [stable:linux-5.4.y 5319/9999] ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
@ 2023-04-03 14:20 kernel test robot
2023-04-03 16:02 ` Sagi Grimberg
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-04-03 14:20 UTC (permalink / raw)
To: Sagi Grimberg
Cc: llvm, oe-kbuild-all, Greg Kroah-Hartman, Max Gurtovoy,
Chaitanya Kulkarni, Christoph Hellwig, Sasha Levin
Hi Sagi,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
head: 09b1a76e7879184fb35d71a221cae9451b895fff
commit: 3e9aa125f69c0006d10f101898932acedc942b59 [5319/9999] nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
config: x86_64-randconfig-a001-20230403 (https://download.01.org/0day-ci/archive/20230403/202304032219.jG1sChqf-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=3e9aa125f69c0006d10f101898932acedc942b59
git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --no-tags stable linux-5.4.y
git checkout 3e9aa125f69c0006d10f101898932acedc942b59
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/nvme/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304032219.jG1sChqf-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [stable:linux-5.4.y 5319/9999] ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
2023-04-03 14:20 [stable:linux-5.4.y 5319/9999] ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available kernel test robot
@ 2023-04-03 16:02 ` Sagi Grimberg
2023-04-04 16:17 ` Nathan Chancellor
0 siblings, 1 reply; 3+ messages in thread
From: Sagi Grimberg @ 2023-04-03 16:02 UTC (permalink / raw)
To: kernel test robot
Cc: llvm, oe-kbuild-all, Greg Kroah-Hartman, Max Gurtovoy,
Chaitanya Kulkarni, Christoph Hellwig, Sasha Levin
> Hi Sagi,
>
> First bad commit (maybe != root cause):
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
> head: 09b1a76e7879184fb35d71a221cae9451b895fff
> commit: 3e9aa125f69c0006d10f101898932acedc942b59 [5319/9999] nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
The failure looks unrelated to the commit IMO. Is it maybe some issue
with clang linkage with zlib?
> config: x86_64-randconfig-a001-20230403 (https://download.01.org/0day-ci/archive/20230403/202304032219.jG1sChqf-lkp@intel.com/config)
> compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=3e9aa125f69c0006d10f101898932acedc942b59
> git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> git fetch --no-tags stable linux-5.4.y
> git checkout 3e9aa125f69c0006d10f101898932acedc942b59
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/nvme/
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> | Link: https://lore.kernel.org/oe-kbuild-all/202304032219.jG1sChqf-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
>>> ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
> ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [stable:linux-5.4.y 5319/9999] ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
2023-04-03 16:02 ` Sagi Grimberg
@ 2023-04-04 16:17 ` Nathan Chancellor
0 siblings, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2023-04-04 16:17 UTC (permalink / raw)
To: Sagi Grimberg
Cc: kernel test robot, llvm, oe-kbuild-all, Greg Kroah-Hartman,
Max Gurtovoy, Chaitanya Kulkarni, Christoph Hellwig, Sasha Levin
On Mon, Apr 03, 2023 at 07:02:30PM +0300, Sagi Grimberg wrote:
>
> > Hi Sagi,
> >
> > First bad commit (maybe != root cause):
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
> > head: 09b1a76e7879184fb35d71a221cae9451b895fff
> > commit: 3e9aa125f69c0006d10f101898932acedc942b59 [5319/9999] nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
>
> The failure looks unrelated to the commit IMO. Is it maybe some issue
> with clang linkage with zlib?
Yeah, this is obviously not related to that change. As far as I can
tell, this means that the version of LLVM was compiled in an environment
without zlib. However, I am super confused because linux-5.4.y does not
even have commit 10e68b02c861 ("Makefile: support compressed debug
info") so we should not even be generating compressed debug sections in
the first place...
If I understand the robot's build script correctly, this should be clang
as the compiler and GNU as as the assembler. Is the version of GNU as
the robot is using built with '--enable-compressed-debug-sections',
which would turn compressed debug sections on by default? If so, we
should be able to override that by specifying '-gz=none' explicitly in
linux-5.4.y and earlier.
Cheersm
Nathan
> > config: x86_64-randconfig-a001-20230403 (https://download.01.org/0day-ci/archive/20230403/202304032219.jG1sChqf-lkp@intel.com/config)
> > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
> > reproduce (this is a W=1 build):
> > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=3e9aa125f69c0006d10f101898932acedc942b59
> > git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> > git fetch --no-tags stable linux-5.4.y
> > git checkout 3e9aa125f69c0006d10f101898932acedc942b59
> > # save the config file
> > mkdir build_dir && cp config build_dir/.config
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/nvme/
> >
> > If you fix the issue, kindly add following tag where applicable
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Link: https://lore.kernel.org/oe-kbuild-all/202304032219.jG1sChqf-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > > > ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/trace.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
> > > > ld.lld: error: drivers/nvme/host/multipath.o: contains a compressed section, but zlib is not available
> > ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
> >
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-04 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-03 14:20 [stable:linux-5.4.y 5319/9999] ld.lld: error: drivers/nvme/host/core.o: contains a compressed section, but zlib is not available kernel test robot
2023-04-03 16:02 ` Sagi Grimberg
2023-04-04 16:17 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox