From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1830732747042761947==" MIME-Version: 1.0 From: Philip Li To: kbuild-all@lists.01.org Subject: Re: [lee-linaro:android-3.18-preview 213/310] clang-12clang-12: error: unknown argument: '-mtraceback=no' Date: Sat, 12 Dec 2020 16:35:55 +0800 Message-ID: <20201212083555.GD31146@intel.com> In-Reply-To: List-Id: --===============1830732747042761947== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thu, Dec 10, 2020 at 11:09:08AM -0800, Nick Desaulniers wrote: > Hi Philip, > We only supported kernel builds with Clang since v4.4.y; would you > mind disabling clang builds for Lee's 3.18 branch? Got it, we will avoid testing clang on old kernel. Want to consult how about mainline, does clang support start from v4.4 or v4.5? Thanks > = > On Thu, Dec 10, 2020 at 1:58 AM kernel test robot wrote: > > > > TO: Lee Jones > > > > tree: https://git.linaro.org/people/lee.jones/linux.git android-3.18-= preview > > head: 83102d5e212965387f1db5eef72bf3bf0d322b15 > > commit: cdf2b03a6f4efd138211f1c38b0103031f7a62c1 [213/310] regulator: f= an53555: fix I2C device ids > > config: powerpc64-randconfig-r036-20201209 (attached as .config) > > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 19= 68804ac726e7674d5de22bc2204b45857da344) > > reproduce (this is a W=3D1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # install powerpc64 cross compiling tool for clang build > > # apt-get install binutils-powerpc64-linux-gnu > > git remote add lee-linaro https://git.linaro.org/people/lee.jon= es/linux.git > > git fetch --no-tags lee-linaro android-3.18-preview > > git checkout cdf2b03a6f4efd138211f1c38b0103031f7a62c1 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross = ARCH=3Dpowerpc64 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > >> clang-12clang-12: error: unknown argument: '-mtraceback=3Dno' > > clang-12: error: unknown argument: '-mcall-aixdesc' > > clang-12: error: unknown argument: '-mtraceback=3Dno' > > clang-12: error: unknown argument: '-mno-string' > > : error: unknown argument: '-mcall-aixdesc' > > make[3]: *** [scripts/Makefile.build:153: scripts/mod/devicetable-of= fsets.s] Error 1 > > clang-12: error: unknown argument: '-mno-string' > > clang-12: error: unsupported argument '-maltivec' to option 'Wa,' > > make[3]: *** [scripts/Makefile.build:258: scripts/mod/empty.o] Error= 1 > > make[3]: Target '__build' not remade because of errors. > > make[2]: *** [scripts/Makefile.build:402: scripts/mod] Error 2 > > /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x28): multiple defi= nition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x58): first defined = here > > clang-12: error: linker command failed with exit code 1 (use -v to s= ee invocation) > > make[3]: *** [scripts/Makefile.host:100: scripts/dtc/dtc] Error 1 > > make[3]: Target '__build' not remade because of errors. > > make[2]: *** [scripts/Makefile.build:402: scripts/dtc] Error 2 > > make[2]: Target '__build' not remade because of errors. > > make[1]: *** [Makefile:560: scripts] Error 2 > > clang-12: error: unknown argument: '-mtraceback=3Dno' > > clang-12: error: unknown argument: '-mcall-aixdesc' > > clang-12: error: unknown argument: '-mno-string' > > make[2]: *** [./Kbuild:36: kernel/bounds.s] Error 1 > > make[2]: Target '__build' not remade because of errors. > > make[1]: *** [Makefile:1022: prepare0] Error 2 > > make[1]: Target 'modules_prepare' not remade because of errors. > > make: *** [Makefile:149: sub-make] Error 2 > > make: Target 'modules_prepare' not remade because of errors. > > > > --- > > 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 Grou= ps "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/ms= gid/clang-built-linux/202012101717.BwzOJEiz-lkp%40intel.com. > = > = > = > -- = > Thanks, > ~Nick Desaulniers --===============1830732747042761947==--