All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: kernel test robot <lkp@intel.com>,
	Linus Walleij <linus.walleij@linaro.org>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: Re: [arm-integrator:virt-to-pfn-v6.0-rc1 21/24] ld.lld: error: arch/powerpc/kernel/vdso/vdso32.lds:244: unknown directive: static
Date: Tue, 6 Sep 2022 07:41:36 -0700	[thread overview]
Message-ID: <YxdcIGcQ+fB9G2qN@dev-arch.thelio-3990X> (raw)
In-Reply-To: <202209032354.b0SHaeQe-lkp@intel.com>

+ Linus

This shouldn't be clang/ld.lld specific

On Sat, Sep 03, 2022 at 11:23:41PM +0800, kernel test robot wrote:
> CC: linux-kernel@vger.kernel.org
> TO: Linus Walleij <linus.walleij@linaro.org>
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git virt-to-pfn-v6.0-rc1
> head:   fd7709c9f1119794e96665ae423d79d93bfe43fc
> commit: c815de3dd0f6ccea52b05efa8e1be1043255006a [21/24] powerpc: Make virt_to_pfn() a static inline
> config: powerpc-powernv_defconfig (https://download.01.org/0day-ci/archive/20220903/202209032354.b0SHaeQe-lkp@intel.com/config)
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
> 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 powerpc cross compiling tool for clang build
>         # apt-get install binutils-powerpc-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=c815de3dd0f6ccea52b05efa8e1be1043255006a
>         git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
>         git fetch --no-tags arm-integrator virt-to-pfn-v6.0-rc1
>         git checkout c815de3dd0f6ccea52b05efa8e1be1043255006a
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc prepare
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
>    scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
>    scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
> >> ld.lld: error: arch/powerpc/kernel/vdso/vdso32.lds:244: unknown directive: static
>    >>> static inline unsigned long virt_to_pfn(const volatile void *kaddr)
>    >>> ^
> >> clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
>    make[2]: *** [arch/powerpc/kernel/vdso/Makefile:66: arch/powerpc/kernel/vdso/vdso32.so.dbg] Error 1
>    make[2]: Target 'include/generated/vdso32-offsets.h' not remade because of errors.
>    make[1]: *** [arch/powerpc/Makefile:392: vdso_prepare] Error 2
>    make[1]: Target 'prepare' not remade because of errors.
>    make: *** [Makefile:222: __sub-make] Error 2
>    make: Target 'prepare' not remade because of errors.
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
> 

WARNING: multiple messages have this Message-ID (diff)
From: Nathan Chancellor <nathan@kernel.org>
To: kbuild-all@lists.01.org
Subject: Re: [arm-integrator:virt-to-pfn-v6.0-rc1 21/24] ld.lld: error: arch/powerpc/kernel/vdso/vdso32.lds:244: unknown directive: static
Date: Tue, 06 Sep 2022 07:41:36 -0700	[thread overview]
Message-ID: <YxdcIGcQ+fB9G2qN@dev-arch.thelio-3990X> (raw)
In-Reply-To: <202209032354.b0SHaeQe-lkp@intel.com>

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

+ Linus

This shouldn't be clang/ld.lld specific

On Sat, Sep 03, 2022 at 11:23:41PM +0800, kernel test robot wrote:
> CC: linux-kernel(a)vger.kernel.org
> TO: Linus Walleij <linus.walleij@linaro.org>
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git virt-to-pfn-v6.0-rc1
> head:   fd7709c9f1119794e96665ae423d79d93bfe43fc
> commit: c815de3dd0f6ccea52b05efa8e1be1043255006a [21/24] powerpc: Make virt_to_pfn() a static inline
> config: powerpc-powernv_defconfig (https://download.01.org/0day-ci/archive/20220903/202209032354.b0SHaeQe-lkp(a)intel.com/config)
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
> 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 powerpc cross compiling tool for clang build
>         # apt-get install binutils-powerpc-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=c815de3dd0f6ccea52b05efa8e1be1043255006a
>         git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
>         git fetch --no-tags arm-integrator virt-to-pfn-v6.0-rc1
>         git checkout c815de3dd0f6ccea52b05efa8e1be1043255006a
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc prepare
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
>    scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
>    scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
> >> ld.lld: error: arch/powerpc/kernel/vdso/vdso32.lds:244: unknown directive: static
>    >>> static inline unsigned long virt_to_pfn(const volatile void *kaddr)
>    >>> ^
> >> clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
>    make[2]: *** [arch/powerpc/kernel/vdso/Makefile:66: arch/powerpc/kernel/vdso/vdso32.so.dbg] Error 1
>    make[2]: Target 'include/generated/vdso32-offsets.h' not remade because of errors.
>    make[1]: *** [arch/powerpc/Makefile:392: vdso_prepare] Error 2
>    make[1]: Target 'prepare' not remade because of errors.
>    make: *** [Makefile:222: __sub-make] Error 2
>    make: Target 'prepare' not remade because of errors.
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
> 

  reply	other threads:[~2022-09-06 14:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-03 15:23 [arm-integrator:virt-to-pfn-v6.0-rc1 21/24] ld.lld: error: arch/powerpc/kernel/vdso/vdso32.lds:244: unknown directive: static kernel test robot
2022-09-06 14:41 ` Nathan Chancellor [this message]
2022-09-06 14:41   ` Nathan Chancellor
2022-09-08 12:28   ` Linus Walleij
2022-09-08 12:28     ` Linus Walleij
2022-09-08 15:13     ` Nathan Chancellor
2022-09-08 15:13       ` Nathan Chancellor
2022-10-21 18:30 kernel test robot

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=YxdcIGcQ+fB9G2qN@dev-arch.thelio-3990X \
    --to=nathan@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    /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.