All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: "Chen, Rong A" <rong.a.chen@intel.com>,
	Nathan Chancellor <nathan@kernel.org>
Cc: kernel test robot <lkp@intel.com>,
	Kees Cook <keescook@chromium.org>,
	"llvm@lists.linux.dev" <llvm@lists.linux.dev>,
	"kbuild-all@lists.01.org" <kbuild-all@lists.01.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Nick Desaulniers <ndesaulniers@google.com>,
	Masahiro Yamada <masahiroy@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [kbuild-all] Re: powerpc-linux-objdump: Warning: Unrecognized form: 0x23
Date: Thu, 1 Sep 2022 05:45:31 +0000	[thread overview]
Message-ID: <9d77cb93-2eff-d87d-6554-1636d5e7d5ec@csgroup.eu> (raw)
In-Reply-To: <8d2c3aef-aa4f-1f4d-dc89-622554ffda31@intel.com>



Le 01/09/2022 à 06:59, Chen, Rong A a écrit :
> 
> 
> On 9/1/2022 10:03 AM, Nathan Chancellor wrote:
>> Hi Rong,
>>
>> On Thu, Sep 01, 2022 at 09:15:58AM +0800, Chen, Rong A wrote:
>>>
>>>
>>> On 8/31/2022 11:40 PM, Nathan Chancellor wrote:
>>>> On Wed, Aug 31, 2022 at 02:52:36PM +0800, kernel test robot wrote:
>>>>> tree:   
>>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
>>>>> master
>>>>> head:   dcf8e5633e2e69ad60b730ab5905608b756a032f
>>>>> commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: 
>>>>> make DEBUG_INFO selectable from a choice
>>>>> date:   5 months ago
>>>>> config: powerpc-buildonly-randconfig-r003-20220830 
>>>>> (https://download.01.org/0day-ci/archive/20220831/202208311414.4OPuYS9K-lkp@intel.com/config)
>>>>> compiler: clang version 16.0.0 
>>>>> (https://github.com/llvm/llvm-project 
>>>>> c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59)
>>>>> 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/torvalds/linux.git/commit/?id=f9b3cd24578401e7a392974b3353277286e49cee
>>>>>           git remote add linus 
>>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>>>>>           git fetch --no-tags linus master
>>>>>           git checkout f9b3cd24578401e7a392974b3353277286e49cee
>>>>>           # 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 SHELL=/bin/bash
>>>>>
>>>>> If you fix the issue, kindly add following tag where applicable
>>>>> Reported-by: kernel test robot <lkp@intel.com>
>>>>>
>>>>> All warnings (new ones prefixed by >>):
>>>>>
>>>>>>> powerpc-linux-objdump: Warning: Unrecognized form: 0x23
>>>>
>>>> Given this is clang 16.0.0 with
>>>> CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y, which uses DWARF5 by
>>>> default instead of DWARF4, it looks like older binutils not
>>>> understanding DWARF5. What version of binutils is being used by the 
>>>> bot?
>>>
>>> Hi Nathan,
>>>
>>> We're using binutils v2.38.90.20220713-2
>>>
>>> ||/ Name           Version            Architecture Description
>>> +++-==============-==================-============-==========================================
>>> ii  binutils       2.38.90.20220713-2 amd64        GNU assembler, 
>>> linker and binary utilities
>>
>> Thanks for chiming in! This looks like the output of 'dpkg -l', right? I
> 
> Hi Nathan,
> 
> oh, yes, I misunderstood, it's not related to this package.
> 
>> noticed on second glance that the tuple for the objdump warning above is
>> 'powerpc-linux-', which leads me to believe that a kernel.org toolchain
>> (or a self compiled one) is being used. I would expect the tuple to be
>> 'powerpc-linux-gnu-' if Debian's package was being used. Is that
>> possible?
> 
> you are right, we used a self-compiled toolchain, we'll try the binutils
> from debian package.

Can you first tell us the version you are using ?

	powerpc-linux-objdump -v

That will tell you the version.

Thanks
Christophe

WARNING: multiple messages have this Message-ID (diff)
From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: kbuild-all@lists.01.org
Subject: Re: powerpc-linux-objdump: Warning: Unrecognized form: 0x23
Date: Thu, 01 Sep 2022 05:45:31 +0000	[thread overview]
Message-ID: <9d77cb93-2eff-d87d-6554-1636d5e7d5ec@csgroup.eu> (raw)
In-Reply-To: <8d2c3aef-aa4f-1f4d-dc89-622554ffda31@intel.com>

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



Le 01/09/2022 à 06:59, Chen, Rong A a écrit :
> 
> 
> On 9/1/2022 10:03 AM, Nathan Chancellor wrote:
>> Hi Rong,
>>
>> On Thu, Sep 01, 2022 at 09:15:58AM +0800, Chen, Rong A wrote:
>>>
>>>
>>> On 8/31/2022 11:40 PM, Nathan Chancellor wrote:
>>>> On Wed, Aug 31, 2022 at 02:52:36PM +0800, kernel test robot wrote:
>>>>> tree:   
>>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
>>>>> master
>>>>> head:   dcf8e5633e2e69ad60b730ab5905608b756a032f
>>>>> commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: 
>>>>> make DEBUG_INFO selectable from a choice
>>>>> date:   5 months ago
>>>>> config: powerpc-buildonly-randconfig-r003-20220830 
>>>>> (https://download.01.org/0day-ci/archive/20220831/202208311414.4OPuYS9K-lkp(a)intel.com/config)
>>>>> compiler: clang version 16.0.0 
>>>>> (https://github.com/llvm/llvm-project 
>>>>> c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59)
>>>>> 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/torvalds/linux.git/commit/?id=f9b3cd24578401e7a392974b3353277286e49cee
>>>>>           git remote add linus 
>>>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>>>>>           git fetch --no-tags linus master
>>>>>           git checkout f9b3cd24578401e7a392974b3353277286e49cee
>>>>>           # 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 SHELL=/bin/bash
>>>>>
>>>>> If you fix the issue, kindly add following tag where applicable
>>>>> Reported-by: kernel test robot <lkp@intel.com>
>>>>>
>>>>> All warnings (new ones prefixed by >>):
>>>>>
>>>>>>> powerpc-linux-objdump: Warning: Unrecognized form: 0x23
>>>>
>>>> Given this is clang 16.0.0 with
>>>> CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y, which uses DWARF5 by
>>>> default instead of DWARF4, it looks like older binutils not
>>>> understanding DWARF5. What version of binutils is being used by the 
>>>> bot?
>>>
>>> Hi Nathan,
>>>
>>> We're using binutils v2.38.90.20220713-2
>>>
>>> ||/ Name           Version            Architecture Description
>>> +++-==============-==================-============-==========================================
>>> ii  binutils       2.38.90.20220713-2 amd64        GNU assembler, 
>>> linker and binary utilities
>>
>> Thanks for chiming in! This looks like the output of 'dpkg -l', right? I
> 
> Hi Nathan,
> 
> oh, yes, I misunderstood, it's not related to this package.
> 
>> noticed on second glance that the tuple for the objdump warning above is
>> 'powerpc-linux-', which leads me to believe that a kernel.org toolchain
>> (or a self compiled one) is being used. I would expect the tuple to be
>> 'powerpc-linux-gnu-' if Debian's package was being used. Is that
>> possible?
> 
> you are right, we used a self-compiled toolchain, we'll try the binutils
> from debian package.

Can you first tell us the version you are using ?

	powerpc-linux-objdump -v

That will tell you the version.

Thanks
Christophe

  reply	other threads:[~2022-09-01  5:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31  6:52 powerpc-linux-objdump: Warning: Unrecognized form: 0x23 kernel test robot
2022-08-31 15:40 ` Nathan Chancellor
2022-08-31 15:40   ` Nathan Chancellor
2022-09-01  1:15   ` [kbuild-all] " Chen, Rong A
2022-09-01  2:03     ` Nathan Chancellor
2022-09-01  2:03       ` Nathan Chancellor
2022-09-01  4:59       ` [kbuild-all] " Chen, Rong A
2022-09-01  5:45         ` Christophe Leroy [this message]
2022-09-01  5:45           ` Christophe Leroy
2022-09-01  5:52           ` [kbuild-all] " Chen, Rong A
2022-09-01 16:55             ` Nathan Chancellor
2022-09-01 16:55               ` Nathan Chancellor
2022-09-01 17:04               ` [kbuild-all] " Nick Desaulniers
2022-09-01 17:04                 ` Nick Desaulniers
2022-09-02  0:54                 ` [kbuild-all] " Chen, Rong A
2022-09-02  1:01                   ` Philip Li
2022-09-01  5:44       ` Christophe Leroy
2022-09-01  5:44         ` Christophe Leroy

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=9d77cb93-2eff-d87d-6554-1636d5e7d5ec@csgroup.eu \
    --to=christophe.leroy@csgroup.eu \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=kbuild-all@lists.01.org \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=rong.a.chen@intel.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.