Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2142278pxb; Fri, 29 Jan 2021 14:34:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1mBuLR89p8khvmsujN7vIEHF4jd6sbqHM6zPCpN9hGHzI3eJle1oEHVSFUpiNZO65SlPP X-Received: by 2002:a05:6402:151:: with SMTP id s17mr7426395edu.107.1611959658630; Fri, 29 Jan 2021 14:34:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611959658; cv=none; d=google.com; s=arc-20160816; b=iTQdGLXjuJW7cjRHZbYgbKr+LWH/ebmHzUo2HB4OtITOAnbsNXd26JtxhXgovOd4Lh pTR7aQQ/1VwAu5NIDtx2+KltP26Knyl8t5UJcmNx2zbK6ZZ/ugBvsJS1th2KwQZj72g+ zB/v47tE0RTfAbGMHuhX0jPWsz+v848fCzGLxqWfznzA3YIfSRJeMCpFY/XoTmKJnMBY ydZpMjumr6LibD5LgpgKuJ/SH8ztZfR4IpHNjstVzq+nkGg+bHKhcg5j+idZwoSAKnXK x6f3s72tW4ZRMCeMexBSZrzLjEMRLDqWl0vNN/787WQTsQzCLsotP2MpjTZ/0tmWnc70 ktzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mEuUNTLPjyCKU+1m6bFPUEO4cIWG2fR+kA7IEzmsiA0=; b=ldT//A26OGVnj9bRxXAe8JLbiYlzu46Iqhcap8ASKXRK0eE91j59JDR08jj7dpMxKl 3a3S4Ymu1RKtsAIywYC7E68B+apLf8Sqa8jg9sReftjlxUmBn2zyi/K7u3nTbOzAHWe6 JYfKj0zmXzhqiM1LMk6NCLeXqA66SV8jfk8gER7T2drdOHz5qzJKdw6g2/txrtaot25w w/xzKRxWIeCtWCYTT2gCYH/qzCJHJu5bGbUhgnvxSctSFRrmu1CZvGHgoKvs0rvcdCFP ItPrtmp5OAjnoDx72cFO/g5l8qAX3EB9kWN1Y/Zy5qDBEifIW/xjINRUl9NJx+0zr6F0 TMFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MXQ3szzy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n11si6376080ejg.99.2021.01.29.14.33.53; Fri, 29 Jan 2021 14:34:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MXQ3szzy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232808AbhA2WcG (ORCPT + 99 others); Fri, 29 Jan 2021 17:32:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233370AbhA2Wbw (ORCPT ); Fri, 29 Jan 2021 17:31:52 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C717C061574 for ; Fri, 29 Jan 2021 14:31:12 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id y10so1868781plk.7 for ; Fri, 29 Jan 2021 14:31:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mEuUNTLPjyCKU+1m6bFPUEO4cIWG2fR+kA7IEzmsiA0=; b=MXQ3szzyutAJwpx9freM5P5nZtBdbzPRo9DqX45Y+eAKATqPcrdQ8wG5Cl5YJ/rm/D X2E4zfRQqwpyQuRxesyxK6FL/smz/4zcdNBQ88GzDjV8VW2ci5WrKiKdTxCYWYA7+o2B 2P9y/wRdwIglbjUpEVC3bLxRXlzvalIG8Mc58ABIuLGso/xNT1XiFDiN4Y2YQ3zPDT4b 8+gzTn7RmCMg+xftHFBOifOW5zsiX7BLXZ42olQ1a5itnwUl2dEggiBQkgugVgGLEBgW 1Mymw9wHEVVblcehWi40xNb3k8GqVDiLpO2ABVf9WcYBaby+4QY45RsdK9JjTPnJzOiE dLpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mEuUNTLPjyCKU+1m6bFPUEO4cIWG2fR+kA7IEzmsiA0=; b=dFpk72IPt9lauBVublTDrSpIEXMEi1oCbKY64RCLu6Fkh8YtugCy5cxpwRg0bkdX+3 AWQLm4Cs1AxzEdr9kJYRcA0ATD2eHYQ9SyMa74ohuIPzwBju8wq6Xh5y9xC6jTpLt9DJ GyxECeyhy3t0p7lJpYYR3kF7ng9fVC5/9DJYUDk0wSygS98vHCC9zf8jg9xS1GGpk7Fy v6JfA+i80Bo1/wuy9IqGlBFopnS3+myzckfRawrBC6JOFAxfhQMJwHPRtNlNAUnSq/np ZYUxDJjZn5r0Vbt80tJYdn/XRf1Qo0mi3YNzT/MT43vDt6+8PK6N9mZpn+GARiMQRsV9 tvpw== X-Gm-Message-State: AOAM531Fi61rM9BqdUXF0aMNr8TB7sJku7H1l3rkO3Jp3YfxjssCEPFw RlRbDInI58vFcioWirURrA6obvdxeCNqsBr90ZpwFw== X-Received: by 2002:a17:90a:8b82:: with SMTP id z2mr6462674pjn.25.1611959471740; Fri, 29 Jan 2021 14:31:11 -0800 (PST) MIME-Version: 1.0 References: <20210129194318.2125748-1-ndesaulniers@google.com> <20210129194318.2125748-3-ndesaulniers@google.com> In-Reply-To: From: Nick Desaulniers Date: Fri, 29 Jan 2021 14:31:01 -0800 Message-ID: Subject: Re: [PATCH v6 2/2] Kbuild: implement support for DWARF v5 To: Sedat Dilek Cc: Masahiro Yamada , Nathan Chancellor , Andrew Morton , LKML , Clang-Built-Linux ML , Linux Kbuild mailing list , linux-arch , Jakub Jelinek , Fangrui Song , Caroline Tice , Nick Clifton , Yonghong Song , Jiri Olsa , Andrii Nakryiko , Arnaldo Carvalho de Melo , Arvind Sankar Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2021 at 2:23 PM Sedat Dilek wrote: > > On Fri, Jan 29, 2021 at 11:21 PM Nick Desaulniers > wrote: > > > > On Fri, Jan 29, 2021 at 2:11 PM Sedat Dilek wrote: > > > > > > On Fri, Jan 29, 2021 at 11:09 PM Nick Desaulniers > > > wrote: > > > > > > > > On Fri, Jan 29, 2021 at 1:20 PM Sedat Dilek wrote: > > > > > > > > > > On Fri, Jan 29, 2021 at 10:13 PM Sedat Dilek wrote: > > > > > > > > > > > > On Fri, Jan 29, 2021 at 10:09 PM Nick Desaulniers > > > > > > wrote: > > > > > > > > > > > > > > Can you tell me please what is the precise command line invocation of > > > > > > > make and which source file you observed this on so that I can > > > > > > > reproduce? > > > > > > > > If you don't send me your invocation of `make`, I cannot help you. > > > > > > > > > > /usr/bin/perf_5.10 stat make V=1 -j4 LLVM=1 LLVM_IAS=1 > > > PAHOLE=/opt/pahole/bin/pahole LOCALVERSION=-10-amd64-clang12 > > > -lto-pgo KBUILD_VERBOSE=1 KBUILD_BUILD_HOST=iniza > > > KBUILD_BUILD_USER=sedat.dilek@gmail.com > > > KBUILD_BUILD_TIMESTAMP=2021-01-29 bindeb-pkg > > > KDEB_PKGVERSION=5.11.0~rc5-10~bullseye+dileks1 > > > > $ make LLVM=1 LLVM_IAS=1 -j72 defconfig > > $ make LLVM=1 LLVM_IAS=1 -j72 menuconfig > > > > $ make LLVM=1 LLVM_IAS=1 -j72 V=1 &> log.txt > > $ grep '\-g -gdwarf-5 -g -gdwarf-5' log.txt | wc -l > > 0 > > $ grep '\-g -gdwarf-5' log.txt | wc -l > > 2517 > > > > Do have the patch applied twice, perhaps? > > > > Switched to my v6 local Git branch and invoked above make line I gave you. > I still see that double. > Looks like I need some "undrunken" switch. Can you follow my steps precisely to see whether it's your .config? Perhaps there is a config that duplicates DEBUG_CFLAGS that is not set in the defconfig? If so, it's still harmless to specify the same commands twice, and likely isn't introduced by this patch set if so; so I'm not sure how much more effort is worth pursuing. -- Thanks, ~Nick Desaulniers