All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [linux-next:master 8211/10629] clang-11: error: assembler command failed with exit code 1 (use -v to see invocation)
Date: Tue, 24 Mar 2020 07:12:30 +0800	[thread overview]
Message-ID: <20200323231230.GA27448@intel.com> (raw)
In-Reply-To: <CAKwvOdko3Bw9ZyzGNm0yghNW+0F_6atWCO09EjGz=-d=AJ+NCg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4763 bytes --]

On Mon, Mar 23, 2020 at 03:09:43PM -0700, Nick Desaulniers wrote:
> DTC folks to bcc
> 
> On Fri, Mar 20, 2020 at 5:58 PM Philip Li <philip.li@intel.com> wrote:
> >
> > On Fri, Mar 20, 2020 at 05:30:45PM -0700, Nick Desaulniers wrote:
> > > Known issue, please ignore: https://github.com/ClangBuiltLinux/linux/issues/675
> > thanks for info, 0-day ci will blacklist this error.
> 
> I'd rather not blacklist it.  So it looks like we don't see this in
> our CI (example:
> https://travis-ci.com/github/ClangBuiltLinux/continuous-integration/jobs/301119543).
> It seems related to which config you compile with.  With the attached
> config, I was not able to reproduce:
> 
> $ gunzip config.gz
> $ cp config .config
> $ ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- make CC=clang -j71
> olddefconfig # note this shouldn't be needed
> $ ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- make CC=clang -j71
> scripts/mod/empty.o
> 
> Doesn't produce anything, no error from make about being an invalid
> target, but also no -mpower4 warning.  I also don't understand why the
> provided config doesn't set or unset many configs in linux-next.
> 
> Can you please triple check? I want to make sure the steps to
> reproduce are reproducible.
got it, we will check this to see what is wrong.

> 
> >
> > >
> > > On Fri, Mar 20, 2020 at 5:16 PM kbuild test robot <lkp@intel.com> wrote:
> > > >
> > > > Hi Dirk,
> > > >
> > > > FYI, the error/warning still remains.
> > > >
> > > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > > > head:   d8f289c16fbb72e17b783175c1fb0942816264fd
> > > > commit: 35595372d95c0d10784bce1aec8cc144a39eb66d [8211/10629] Remove redundant YYLOC global declaration
> > > > config: powerpc-defconfig (attached as .config)
> 
> 'powerpc-defconfig' doesn't seem to be a named config.  Seems I must
> use the attachment?
> 
> > > > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 1993f95f2b1eb2d8da7f1a01e977d8fe06314bcf)
> > > > reproduce:
> > > >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > > >         chmod +x ~/bin/make.cross
> > > >         git checkout 35595372d95c0d10784bce1aec8cc144a39eb66d
> > > >         # save the attached .config to linux build tree
> > > >         COMPILER=clang make.cross ARCH=powerpc
> 
> Hi Philip, I tried the above commands to reproduce, but I see:
> 
> $ COMPILER=clang make.cross ARCH=powerpc
> E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13:
> Permission denied)
> E: Unable to acquire the dpkg frontend lock
> (/var/lib/dpkg/lock-frontend), are you root?
> cross tool binutils-powerpc-linux-gnu install failed
> Please ensure powerpc cross tools has been installed.
> Please install: xz-utils lftp
> Install clang compiler failed
> setup_crosstool failed
> $ sudo apt install binutils-powerpc-linux-gnu
> binutils-powerpc-linux-gnu is already the newest version (2.33.1-2).
> 
> Should install_cross_packages() check for these first, instead of
> always trying to install them?
> 
> > > >
> > > > If you fix the issue, kindly add following tag
> > > > Reported-by: kbuild test robot <lkp@intel.com>
> > > >
> > > > All errors (new ones prefixed by >>):
> > > >
> > > >    /usr/bin/as: unrecognized option '-mpower4'
> > > > >> clang-11: error: assembler command failed with exit code 1 (use -v to see invocation)
> > > >    make[2]: *** [scripts/Makefile.build:268: scripts/mod/empty.o] Error 1
> > > >    make[2]: Target '__build' not remade because of errors.
> > > >    make[1]: *** [Makefile:1111: prepare0] Error 2
> > > >    make[1]: Target 'prepare' not remade because of errors.
> > > >    make: *** [Makefile:179: sub-make] Error 2
> > > >    34 real  9 user  19 sys  84.67% cpu  make prepare
> > > >
> > > > ---
> > > > 0-DAY CI Kernel Test Service, Intel Corporation
> > > > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> > > >
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe(a)googlegroups.com.
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/202003210848.qj0RGHwY%25lkp%40intel.com.
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > ~Nick Desaulniers
> > > _______________________________________________
> > > kbuild-all mailing list -- kbuild-all(a)lists.01.org
> > > To unsubscribe send an email to kbuild-all-leave(a)lists.01.org
> 
> 
> 
> -- 
> Thanks,
> ~Nick Desaulniers

  reply	other threads:[~2020-03-23 23:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-21  0:15 [linux-next:master 8211/10629] clang-11: error: assembler command failed with exit code 1 (use -v to see invocation) kbuild test robot
2020-03-21  0:30 ` Nick Desaulniers
2020-03-21  0:57   ` Philip Li
2020-03-23 22:09     ` Nick Desaulniers
2020-03-23 23:12       ` Philip Li [this message]
2020-03-25  3:18         ` Liu Yiding

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=20200323231230.GA27448@intel.com \
    --to=philip.li@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.