All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: Sami Tolvanen <samitolvanen@google.com>,
	llvm@lists.linux.dev, kbuild-all@lists.01.org,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [ammarfaizi2-block:google/android/kernel/common/android-4.19-q-release 5202/7636] ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument '-stack-alignment=8'.  Try: 'ld.lld --help'
Date: Wed, 16 Mar 2022 09:52:31 -0700	[thread overview]
Message-ID: <YjIVzw4JdSY4NcLz@dev-arch.thelio-3990X> (raw)
In-Reply-To: <202203160848.kydLIYip-lkp@intel.com>

On Wed, Mar 16, 2022 at 08:30:29AM +0800, kernel test robot wrote:
> tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.19-q-release
> head:   1a3500dc59324a85c20f025cfa6485a1a0debbdf
> commit: 205cde74877d624ef7d24a6692e6e9337b19a541 [5202/7636] ANDROID: x86: add support for CONFIG_LTO_CLANG
> config: x86_64-randconfig-c007 (https://download.01.org/0day-ci/archive/20220316/202203160848.kydLIYip-lkp@intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6b2f50fb47da3baeee10b1906da6e30ac5d26ec)
> 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
>         # https://github.com/ammarfaizi2/linux-block/commit/205cde74877d624ef7d24a6692e6e9337b19a541
>         git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
>         git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.19-q-release
>         git checkout 205cde74877d624ef7d24a6692e6e9337b19a541
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
> 
> 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 >>):
> 
> >> ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument '-stack-alignment=8'.  Try: 'ld.lld --help'
>    ld.lld: Did you mean '--stackrealign=8'?
> --
>    lib/irq_regs.o: no symbols
> >> ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument '-stack-alignment=8'.  Try: 'ld.lld --help'
>    ld.lld: Did you mean '--stackrealign=8'?

Already fixed:

https://android.googlesource.com/kernel/common/+/c1baa3321020cdd2ea9248d9b1ec512abf6f1c24

Bisecting an old tree with a new compiler is probably going to show
quite a few issues, given how often we have to add changes to the kernel
to get newer compilers to work.

Cheers,
Nathan

WARNING: multiple messages have this Message-ID (diff)
From: Nathan Chancellor <nathan@kernel.org>
To: kbuild-all@lists.01.org
Subject: Re: [ammarfaizi2-block:google/android/kernel/common/android-4.19-q-release 5202/7636] ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument '-stack-alignment=8'. Try: 'ld.lld --help'
Date: Wed, 16 Mar 2022 09:52:31 -0700	[thread overview]
Message-ID: <YjIVzw4JdSY4NcLz@dev-arch.thelio-3990X> (raw)
In-Reply-To: <202203160848.kydLIYip-lkp@intel.com>

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

On Wed, Mar 16, 2022 at 08:30:29AM +0800, kernel test robot wrote:
> tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.19-q-release
> head:   1a3500dc59324a85c20f025cfa6485a1a0debbdf
> commit: 205cde74877d624ef7d24a6692e6e9337b19a541 [5202/7636] ANDROID: x86: add support for CONFIG_LTO_CLANG
> config: x86_64-randconfig-c007 (https://download.01.org/0day-ci/archive/20220316/202203160848.kydLIYip-lkp(a)intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6b2f50fb47da3baeee10b1906da6e30ac5d26ec)
> 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
>         # https://github.com/ammarfaizi2/linux-block/commit/205cde74877d624ef7d24a6692e6e9337b19a541
>         git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
>         git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.19-q-release
>         git checkout 205cde74877d624ef7d24a6692e6e9337b19a541
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
> 
> 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 >>):
> 
> >> ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument '-stack-alignment=8'.  Try: 'ld.lld --help'
>    ld.lld: Did you mean '--stackrealign=8'?
> --
>    lib/irq_regs.o: no symbols
> >> ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument '-stack-alignment=8'.  Try: 'ld.lld --help'
>    ld.lld: Did you mean '--stackrealign=8'?

Already fixed:

https://android.googlesource.com/kernel/common/+/c1baa3321020cdd2ea9248d9b1ec512abf6f1c24

Bisecting an old tree with a new compiler is probably going to show
quite a few issues, given how often we have to add changes to the kernel
to get newer compilers to work.

Cheers,
Nathan

  reply	other threads:[~2022-03-16 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-16  0:30 [ammarfaizi2-block:google/android/kernel/common/android-4.19-q-release 5202/7636] ld.lld: error: -plugin-opt=-: ld.lld: Unknown command line argument '-stack-alignment=8'. Try: 'ld.lld --help' kernel test robot
2022-03-16 16:52 ` Nathan Chancellor [this message]
2022-03-16 16:52   ` Nathan Chancellor

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=YjIVzw4JdSY4NcLz@dev-arch.thelio-3990X \
    --to=nathan@kernel.org \
    --cc=gwml@vger.gnuweeb.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=samitolvanen@google.com \
    /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.