public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: Nathan Chancellor <nathan@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
	kernel test robot <lkp@intel.com>, <llvm@lists.linux.dev>,
	<oe-kbuild-all@lists.linux.dev>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Damien Le Moal <damien.lemoal@wdc.com>,
	Ard Biesheuvel <ardb@kernel.org>, Sasha Levin <sashal@kernel.org>
Subject: Re: [stable:linux-5.4.y 1809/9999] ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
Date: Sat, 27 May 2023 15:14:50 +0800	[thread overview]
Message-ID: <ZHGt6lyQOrMfQxUS@rli9-mobl> (raw)
In-Reply-To: <20230526152730.GB395537@dev-arch.thelio-3990X>

On Fri, May 26, 2023 at 08:27:30AM -0700, Nathan Chancellor wrote:
> Hi Geert,
> 
> On Fri, May 26, 2023 at 09:04:02AM +0200, Geert Uytterhoeven wrote:
> > On Fri, May 26, 2023 at 1:24 AM kernel test robot <lkp@intel.com> wrote:
> > > FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
> > >
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
> > > head:   f53660ec669f60c772fdf7d75d1c24d288547cee
> > > commit: 11420c32c1b49d0f900c4b20bc77c963c54086ce [1809/9999] efi: EFI_EARLYCON should depend on EFI
> > > config: x86_64-randconfig-x071-20230525
> > > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
> > > reproduce (this is a W=1 build):
> > >         mkdir -p ~/bin
> > >         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=11420c32c1b49d0f900c4b20bc77c963c54086ce
> > >         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 11420c32c1b49d0f900c4b20bc77c963c54086ce
> > >         # save the config file
> > >         mkdir build_dir && cp config build_dir/.config
> > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
> > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash lib/
> > >
> > > If you fix the issue, kindly add following tag where applicable
> > > | Reported-by: kernel test robot <lkp@intel.com>
> > > | Closes: https://lore.kernel.org/oe-kbuild-all/202305260739.yrWlFZTF-lkp@intel.com/
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > >    ld.lld: error: lib/fonts/fonts.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun12x22.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun12x22.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun12x22.o: contains a compressed section, but zlib is not available
> > > >> ld.lld: error: lib/fonts/font_sun12x22.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)
> > 
> > This looks like a toolchain issue to me: the fonts themselves do not
> > contain compressed data, but perhaps they do contain some data that
> > coincidentally matches a zlib compressed-data signature?
> 
> It is almost certainly a toolchain issue. I do not think it is related
> to the font files themselves, there are many other reports of this same
> error on other files. There is some discussion on this thread around it:

sorry about the noise, before the bot resolves the issue of its toolchain, we
have disabled the report against this error to avoid further false positive.

> 
> https://lore.kernel.org/CAKwvOd=QY_QNWP2+nofvowbCD66noajsY8q1xe-MamV_gF3TPA@mail.gmail.com/

Thanks, i will share our follow up in this thread.

> 
> Cheers,
> Nathan
> 

      reply	other threads:[~2023-05-27  7:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 23:23 [stable:linux-5.4.y 1809/9999] ld.lld: error: lib/fonts/font_sun8x16.o: contains a compressed section, but zlib is not available kernel test robot
2023-05-26  7:04 ` Geert Uytterhoeven
2023-05-26 15:27   ` Nathan Chancellor
2023-05-27  7:14     ` Philip Li [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZHGt6lyQOrMfQxUS@rli9-mobl \
    --to=philip.li@intel.com \
    --cc=ardb@kernel.org \
    --cc=damien.lemoal@wdc.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=nathan@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sashal@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox