Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp316262rwe; Wed, 31 Aug 2022 23:02:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR7urAH5I1p8MonhE3X7AjxViEMCJVPOjB8tQlq+5t/SvR5GqJiys2gHWluohSk2EodgYr0l X-Received: by 2002:aa7:d814:0:b0:447:b848:9e53 with SMTP id v20-20020aa7d814000000b00447b8489e53mr26651494edq.64.1662012148992; Wed, 31 Aug 2022 23:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662012148; cv=none; d=google.com; s=arc-20160816; b=XWzcYcqZtW8OkwwiVwfKJZlHvqIMcIvtZD1VGDBtIKc9lyfy0svVV7D196yEm4TPgf zZWgyEasCfE/nKItHXSZFvzX2OszaGZOjOzPgJsxB2Be/e8SfRMgzqqg16WM8PyMf5kf ZN/ssDq6pO6AljWGvifvwAEkr3RpPXuIyqAAZrJWKD+cfwVPcQ1wSUA2ZmxvZbzUOiz6 +/aeoRiQdPXZzSxWp+q2L0Og9DVPVUG+Lx2P/+AdHzq539ovU0Kn3dNuKx8ZZXOOHAbr HkVh9xGdS5+sl1JxJpR8+H5QY3CtD/Amxvz0av1QgKBqJ7F8BgXWICUwK+i/CDWZ0eb7 AKJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=jfnRrlj+kILyo2lVFrLIu1jKtzqzadKqGjy1XQiQZQ4=; b=g2zVu9eQc0le970699beJWi4QeVPmxTkHjZr6SsBmOvQ0qDhZatI/jBeZQhx9jGe3B 7J4vcIaMJKBUgOdAHUbBsJkvRYJpDDV5vWv/Blbw4GkAwOprb0vPywIrFnKr0hsuXUWE TDF6Axh7xLxEiHr8sorXVosfFHyEpn0iAwswmw7wMw5H7VwIyxzDGpBmnOVFWSoqfBHG xM/XZrcdOC9vHZrK5t7MfdgQs/4UytDmJbw9nXM6bTU7iOa7GeBpyB0Q6k2NUz2OZ0eB RmzGwmxpP0kzPtleG+YNhPWrfNDKPghu7d/1Ef1RQCeFDm0i6gXlTjI7yHKGE+T2Esh7 fW1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HwDwQoxW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dy14-20020a05640231ee00b00447d0d8e385si994795edb.237.2022.08.31.23.01.46; Wed, 31 Aug 2022 23:02:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HwDwQoxW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232418AbiIAFAF (ORCPT + 99 others); Thu, 1 Sep 2022 01:00:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbiIAFAC (ORCPT ); Thu, 1 Sep 2022 01:00:02 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6419B1ADB1 for ; Wed, 31 Aug 2022 21:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662008401; x=1693544401; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=ueruG8WsUTevhyhbBIXLg6A1hVu7N4IpTDEhHSBXoiw=; b=HwDwQoxWxyu314APWfSP/6HcH0GBou5tM6GhGEd0BUnchZ4oLi2srGj4 AE9Wc2P2PuJ7QwO3C77acIrPMVk4z1uhTZ+tRdUbibnOeT2uGXkxcWaIE ccO4YFEv5NfDsP5L52U8dbbpORlUNRulZYAAfwdyGAwXqVqWpH81el/EP d0R9h7JgYedGB6wP4w8WMfOxi9VSYhCoH47WTbFUkjSOLezMPXtsUrlQo UBhNUJoedHmxRaRESi/Jk/2DRdH3fk/4iHmnlMiOcDOuA5O1ljIS1pFy4 Znm4JUzWrQdhy4gzAb9cZ5TfIYr42Y1MUdz1s6Nx+sVHwcCg6hn4DXbzL A==; X-IronPort-AV: E=McAfee;i="6500,9779,10456"; a="276017921" X-IronPort-AV: E=Sophos;i="5.93,280,1654585200"; d="scan'208";a="276017921" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2022 21:59:58 -0700 X-IronPort-AV: E=Sophos;i="5.93,280,1654585200"; d="scan'208";a="673676377" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.254.213.173]) ([10.254.213.173]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2022 21:59:54 -0700 Subject: Re: [kbuild-all] Re: powerpc-linux-objdump: Warning: Unrecognized form: 0x23 To: Nathan Chancellor 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 References: <202208311414.4OPuYS9K-lkp@intel.com> From: "Chen, Rong A" Message-ID: <8d2c3aef-aa4f-1f4d-dc89-622554ffda31@intel.com> Date: Thu, 1 Sep 2022 12:59:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >>>> >>>> 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. Best Regards, Rong Chen > > Cheers, > Nathan >