From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41BA6ECAAD1 for ; Thu, 1 Sep 2022 02:03:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 319376B0072; Wed, 31 Aug 2022 22:03:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A0D78D0001; Wed, 31 Aug 2022 22:03:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 11C026B0074; Wed, 31 Aug 2022 22:03:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id EF3316B0072 for ; Wed, 31 Aug 2022 22:03:36 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id B67E7ABB9F for ; Thu, 1 Sep 2022 02:03:36 +0000 (UTC) X-FDA: 79861870032.25.69DCFD0 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf03.hostedemail.com (Postfix) with ESMTP id 34D9020012 for ; Thu, 1 Sep 2022 02:03:36 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1DD5361D96; Thu, 1 Sep 2022 02:03:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5DC4C433D6; Thu, 1 Sep 2022 02:03:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661997814; bh=hn26I+Z+QEEc80Mv6ZH9XPtHpiybQqe5cT3oqlrSiM8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J5RLfnN0Wf7tzizr4PkxiOfpeC9jX2yyzDrifB16+PNiN1bqRy4+XKLULHA29u4xU BSPTY+fs7K0SyO4s26nzLffav8nRpWPRDfK051McVRF8gyKj8dQjiIKTlrrsfMfvJz rOZiItRVsGMyWUKyY38lB6Or8/8+UunCgfTRaTpm4I9XhbHQ6Yt942sww/q3pxXpoR ghEyxhnApEzRhx1oUne2bEViw7bXk2H6tMXN2cMhScMtQx07KT/6Fg3Hbz2RqfGUbm Dtn74HJrz5bVFo006oC6LxZZtll4X4Uam6ijgvEIp2BkMEHAvSrRH0xTfytwCVTv3Z lvUlScOu+SRAA== Date: Wed, 31 Aug 2022 19:03:32 -0700 From: Nathan Chancellor To: "Chen, Rong A" Cc: kernel test robot , Kees Cook , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Nick Desaulniers , Masahiro Yamada , Andrew Morton , Linux Memory Management List Subject: Re: [kbuild-all] Re: powerpc-linux-objdump: Warning: Unrecognized form: 0x23 Message-ID: References: <202208311414.4OPuYS9K-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=J5RLfnN0; spf=pass (imf03.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661997816; a=rsa-sha256; cv=none; b=kQp/0UHIfkrSu12XINt32Cm/hBhWUaiHfk21ZNXehDiwzLc5XNKwBadxa5ForAXW3y/Nzb ZNzoj4CxKLLBNjqWa8uTVSb0VTuCHDOFYYwAFw0HNoC7aZ5yayu5DRoEpayVp9yOW+1oLk rwtfgCWWUUp+vlvwFwzbgtBWweOxIo8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661997816; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=jxBS1FrOZq+TVLQgV/KhbD9et9+ooml2sZbAklO2a+I=; b=S7TyMxBUHYBPRoyiKqJg6KqpC/1YQotNtfiRV8retkOKav28ywF6yl1L4GXJNWBta4jf27 dQPhuVSCegfrT8zUeK8oL7yl+dSHVYqjmE9fLmWcR4LuV7Qq1RiXFPcG0GWFgwsfq7p/+m 7W1N/YazN5I0K/Wnnjy8PlO124fEryU= X-Rspam-User: X-Rspamd-Queue-Id: 34D9020012 Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=J5RLfnN0; spf=pass (imf03.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Stat-Signature: 1k699syk13nxxyftfunuwn1zjisyq4px X-Rspamd-Server: rspam11 X-HE-Tag: 1661997816-928648 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 > > > > > > 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 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? Cheers, Nathan