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: [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	[thread overview]
Message-ID: <20201212083555.GD31146@intel.com> (raw)
In-Reply-To: <CAKwvOdkOuEck7BB_-4_NkcJkDB8PsSjAsP0GjVvLMV3ECZheEw@mail.gmail.com>

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

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(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/202012101717.BwzOJEiz-lkp%40intel.com.
> 
> 
> 
> -- 
> Thanks,
> ~Nick Desaulniers

  reply	other threads:[~2020-12-12  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10  9:58 [lee-linaro:android-3.18-preview 213/310] clang-12clang-12: error: unknown argument: '-mtraceback=no' kernel test robot
2020-12-10 19:09 ` Nick Desaulniers
2020-12-12  8:35   ` Philip Li [this message]
2020-12-15 18:26     ` Nick Desaulniers

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=20201212083555.GD31146@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.