Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2146398pxb; Fri, 29 Jan 2021 14:44:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTwzquRrWylUZiaVhUVGzD+8fMgeq5u9vNMLEhBlcKOp8nh7thUvphF8t3Ew1loIWvrt16 X-Received: by 2002:a17:906:d214:: with SMTP id w20mr6822734ejz.284.1611960248412; Fri, 29 Jan 2021 14:44:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611960248; cv=none; d=google.com; s=arc-20160816; b=0pCpdbNRjHio757DoqTcHt3hiUZD+TF0ZyUGIf4mNvoP9t3zXOTHEOiIktdGHQxa8t C6ByZploRdGHJadRoaoytbhnDFrAAtzZO9go8SbiS3r4TOehDPMilx681Cfl8my5du+5 pt7eZolTzTMvKQGVGB90O7GAVzI737tNvZue6pRbE+/ecW6cGIbu7e/EVgWBW1CXF2n8 6sm16fuICx73wozMjGTYB9eDZVA3xKKNbsdDjfUrgsK25MDCvycEupwY3WRhlPE/HLI+ GU7DuEm6s/X93GSd6BIrXmi3uJvboEAnH3Iti0IHTPkbaUXL5ygqHIcR2UeWIYmOLRV0 TkHA== 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:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=dfELtoaA8bJe8gY3p6rcM2hsQagvy8a4lKjq9ZDDe0Y=; b=RqKa25bxReXMVgfyH07Nl0DVrgywc6bQ4f2R5r1yYliOuvHu6o3eU2e6bF3y4By7UD JGlHq7uY+q9ZoLA+jkXRrGrPznQKXlyX2OY6j62bHcT6ktPajKSMNUGhu+hUbrsGdGIQ QgE7e6Lhb/ZoeRdecmI150KE4vVR0av3vDQ736d9QqDFyTskeJRbwLYnJNCwY61on9TD 6ckCklZbw23ARg3LY+ld+xLhbOpJVdsbsI/bQOm1Ssj2GArki8qFExq+v/RS7mH7w9r2 YLZufMlc16QuvVvSdnPjzi4PoCAvuAIv+FwO7XOXf8L8xBRpULRisQQHbLmDMUxyugbR 39+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZWdBUn0L; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si6101882edt.86.2021.01.29.14.43.44; Fri, 29 Jan 2021 14:44:08 -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=@gmail.com header.s=20161025 header.b=ZWdBUn0L; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232599AbhA2WnH (ORCPT + 99 others); Fri, 29 Jan 2021 17:43:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231429AbhA2WnF (ORCPT ); Fri, 29 Jan 2021 17:43:05 -0500 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76411C061573; Fri, 29 Jan 2021 14:42:25 -0800 (PST) Received: by mail-il1-x133.google.com with SMTP id q5so9966250ilc.10; Fri, 29 Jan 2021 14:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=dfELtoaA8bJe8gY3p6rcM2hsQagvy8a4lKjq9ZDDe0Y=; b=ZWdBUn0L8q974/jQtHoTjF2FOnB9H2ea+Of79l4Cwc+L48t3CFKo+yBwNQjlQdOAp4 7kwTpZojbfSFKHDQYnk/Eh/dNz8V1QlDQZs7AY7fqSx0VyRgjCPsMfk5U0MdzvitMaRP Iec1fx9A0RtJv++nfsnRZRo/ctFD5BQlW+6FTlmD9o1GZcKrNalod3dT6m1e5MMmeO3+ 6tiP0oQQZyGQyDfL9hh4NUwF/uJEFMkd1EwJF6qqhk0dETqoS8t8fEt6pNWeydmhii7d p0dd4RFqHUWLfwXUQYrROs3vPlC0v4rC8UBW/pQXCzbgIPvag2jGQLy+kyzDuEQXBHsT 5HWg== 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:reply-to :from:date:message-id:subject:to:cc; bh=dfELtoaA8bJe8gY3p6rcM2hsQagvy8a4lKjq9ZDDe0Y=; b=IeWtBA856CWsK6t/2uaforQvFPAc0FynUJ8ouWXSvqHP6+CBsgtGAR6er9Yg32N4yy LzBHGCwRuzIEyx2aFsAwSD/1rkeAOVikKJcCAWEWbabDfI90F/1/9Ltpr2GHykVYxCLk vHoXroI7ErHyY85GbLWBBc0+pDlemUsD5GsnE45Pdd4g3+1NB4WvWA2won9Jd+wpVYj8 9dZJfOoQ8eL26wMwbWo08ha5wXSG3EHF6EDhHTlnME46PAgqFpCZSARczpAjnx7lXW5r ketJQnoiPxMKlaqsq6anFC3ejWrjpcc4UBtFdzWuyrhzJJdUbMD/6pOqj1aZSgZ5oIBw eVvA== X-Gm-Message-State: AOAM531dAhKNH35b0z9yAtMlyuhS/AJGVmZqxekWeM7ZUPmVNx0ukr4M /yytK79qlApLaOeX2udEihnAm9uFl9D2dLoJ10w= X-Received: by 2002:a92:c80b:: with SMTP id v11mr4673883iln.215.1611960144907; Fri, 29 Jan 2021 14:42:24 -0800 (PST) MIME-Version: 1.0 References: <20210129194318.2125748-1-ndesaulniers@google.com> <20210129194318.2125748-3-ndesaulniers@google.com> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Fri, 29 Jan 2021 23:42:13 +0100 Message-ID: Subject: Re: [PATCH v6 2/2] Kbuild: implement support for DWARF v5 To: Nick Desaulniers 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 11:31 PM Nick Desaulniers wrote: > > 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. > If I follow your steps of make I do not see it "double" (in my local v6 Git branch). Looks like this is coming from my build-script. I checked if I have some double dwarf(-5) patches double - Nope. - Sedat -