All of lore.kernel.org
 help / color / mirror / Atom feed
* ld.lld: error: unknown argument '--no-relax'
@ 2020-06-06 21:21 kernel test robot
  2020-06-08  4:06 ` Fangrui Song
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2020-06-06 21:21 UTC (permalink / raw)
  To: kbuild-all

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

CC: linux-kernel(a)vger.kernel.org
TO: Ilie Halip <ilie.halip@gmail.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Nick Desaulniers <ndesaulniers@google.com>
CC: Fangrui Song <maskray@google.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b170290c2836c40ab565736ba37681eb3dfd79b8
commit: 3c1918c8f54166598195d938564072664a8275b1 riscv: fix vdso build with lld
date:   7 weeks ago
config: riscv-randconfig-r022-20200607 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project e429cffd4f228f70c1d9df0e5d77c08590dd9766)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        git checkout 3c1918c8f54166598195d938564072664a8275b1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

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 >>, old ones prefixed by <<):

>> ld.lld: error: unknown argument '--no-relax'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24366 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ld.lld: error: unknown argument '--no-relax'
  2020-06-06 21:21 ld.lld: error: unknown argument '--no-relax' kernel test robot
@ 2020-06-08  4:06 ` Fangrui Song
  0 siblings, 0 replies; 3+ messages in thread
From: Fangrui Song @ 2020-06-08  4:06 UTC (permalink / raw)
  To: kbuild-all

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

On 2020-06-07, kernel test robot wrote:
>CC: linux-kernel(a)vger.kernel.org
>TO: Ilie Halip <ilie.halip@gmail.com>
>CC: Palmer Dabbelt <palmerdabbelt@google.com>
>CC: Nick Desaulniers <ndesaulniers@google.com>
>CC: Fangrui Song <maskray@google.com>
>
>tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>head:   b170290c2836c40ab565736ba37681eb3dfd79b8
>commit: 3c1918c8f54166598195d938564072664a8275b1 riscv: fix vdso build with lld
>date:   7 weeks ago
>config: riscv-randconfig-r022-20200607 (attached as .config)
>compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project e429cffd4f228f70c1d9df0e5d77c08590dd9766)
>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 riscv cross compiling tool for clang build
>        # apt-get install binutils-riscv64-linux-gnu
>        git checkout 3c1918c8f54166598195d938564072664a8275b1
>        # save the attached .config to linux build tree
>        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
>
>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 >>, old ones prefixed by <<):
>
>>> ld.lld: error: unknown argument '--no-relax'

The missing feature is known. We don't know which project actually uses
ld --no-relax, so while I know this option is meaningful on x86-64, it did
not seem meaningful to implement it. Since the Linux kernel uses it
(well, since
http://git.kernel.org/linus/a1d2a6b4cee858a2f27eebce731fbf1dfd72cb4e riscv/ftrace: Add RECORD_MCOUNT support
the pre -fpatchable-function-entry approach) uses --no-relax, it seems
fine to implement it in LLD (https://reviews.llvm.org/D81359 )

^ permalink raw reply	[flat|nested] 3+ messages in thread

* ld.lld: error: unknown argument '--no-relax'
@ 2020-06-28 18:29 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-06-28 18:29 UTC (permalink / raw)
  To: kbuild-all

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

CC: linux-kernel(a)vger.kernel.org
TO: Ilie Halip <ilie.halip@gmail.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Nick Desaulniers <ndesaulniers@google.com>
CC: Fangrui Song <maskray@google.com>

Hi Ilie,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   719fdd32921fb7e3208db8832d32ae1c2d68900f
commit: 3c1918c8f54166598195d938564072664a8275b1 riscv: fix vdso build with lld
date:   10 weeks ago
config: riscv-randconfig-r021-20200628 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 8cd117c24f48428e01f88cf18480e5af7eb20c0c)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        git checkout 3c1918c8f54166598195d938564072664a8275b1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

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: unknown argument '--no-relax'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34089 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-28 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-06 21:21 ld.lld: error: unknown argument '--no-relax' kernel test robot
2020-06-08  4:06 ` Fangrui Song
2020-06-28 18:29 kernel test robot

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.