4.4+

On Sat, Dec 12, 2020, 12:39 AM Philip Li <philip.li@intel.com> wrote:
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 <lkp@intel.com> wrote:
> >
> > TO: Lee Jones <lee.jones@linaro.org>
> >
> > tree:   https://git.linaro.org/people/lee.jones/linux.git android-3.18-preview
> > head:   83102d5e212965387f1db5eef72bf3bf0d322b15
> > commit: cdf2b03a6f4efd138211f1c38b0103031f7a62c1 [213/310] regulator: fan53555: fix I2C device ids
> > config: powerpc64-randconfig-r036-20201209 (attached as .config)
> > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 1968804ac726e7674d5de22bc2204b45857da344)
> > 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
> >         # 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.jones/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=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > All errors (new ones prefixed by >>):
> >
> > >> clang-12clang-12: error: unknown argument: '-mtraceback=no'
> >    clang-12: error: unknown argument: '-mcall-aixdesc'
> >    clang-12: error: unknown argument: '-mtraceback=no'
> >    clang-12: error: unknown argument: '-mno-string'
> >    : error: unknown argument: '-mcall-aixdesc'
> >    make[3]: *** [scripts/Makefile.build:153: scripts/mod/devicetable-offsets.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 definition 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 see 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=no'
> >    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@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@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/202012101717.BwzOJEiz-lkp%40intel.com.
>
>
>
> --
> Thanks,
> ~Nick Desaulniers