From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2973720714701898610==" MIME-Version: 1.0 From: Philip Li 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 Message-ID: <20200323231230.GA27448@intel.com> In-Reply-To: List-Id: --===============2973720714701898610== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 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=3Dpowerpc CROSS_COMPILE=3Dpowerpc-linux-gnu- make CC=3Dclang -j71 > olddefconfig # note this shouldn't be needed > $ ARCH=3Dpowerpc CROSS_COMPILE=3Dpowerpc-linux-gnu- make CC=3Dclang -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 w= rote: > > > > > > > > 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] Remov= e 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-projec= t 1993f95f2b1eb2d8da7f1a01e977d8fe06314bcf) > > > > reproduce: > > > > wget https://raw.githubusercontent.com/intel/lkp-tests/mast= er/sbin/make.cross -O ~/bin/make.cross > > > > chmod +x ~/bin/make.cross > > > > git checkout 35595372d95c0d10784bce1aec8cc144a39eb66d > > > > # save the attached .config to linux build tree > > > > COMPILER=3Dclang make.cross ARCH=3Dpowerpc > = > Hi Philip, I tried the above commands to reproduce, but I see: > = > $ COMPILER=3Dclang make.cross ARCH=3Dpowerpc > 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 > > > > > > > > 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] E= rror 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, s= end 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 --===============2973720714701898610==--