Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp91516pxb; Wed, 3 Feb 2021 00:01:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwakbG8kfnMwHRU+9C2PbMsJKVrfE+P4al+1GercBIDwK7Y+zyXYtL88XqvUMMgTsXX3TeN X-Received: by 2002:a17:906:9705:: with SMTP id k5mr2032329ejx.325.1612339280092; Wed, 03 Feb 2021 00:01:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612339280; cv=none; d=google.com; s=arc-20160816; b=TQVTJ4dVPoXnNRFUJKLHwQo7nI/c0uPrqQzh0qiNwimj8ixLL9voNOd5t1Lo9TNcyz 8j5DAK9Gydqyg76sKYmUg3EU5pUPin6YO5PX8NFkKnJRccvKbWmzpuATC8e7wZWN0UwG v4UviKi/DKDGHj1dcaU4Imf+MalSdM00sVYVP0RqiWEagBsAsBZ8u3p1RQW6cK+7UOTr 7BNPapIZGwYVl4wfR5DoQzxok+k8nOALJVf0Y+5bzwWKO4wsgJiy+fAeTtyYghKH5w08 XUee1Q0/93k/JnlBIa5f+O0QzWt7vTl2XMUdM0ttBbfoAY89oyWm1XEUS9ozoBPk94a1 v4rw== 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:dkim-filter; bh=N/D47fbOBRad6M/ZDk/32EhFpPJEKVijkKmIa+v6ag4=; b=Dawjma0lTPySp+q78+JndePh7oeUaNJBXeG71A0J2MgQDuRUbhJ9KC43SEnYgUE5WO UuOPiXFyNQDKc/S7gULpR2Sh7uDyfAyw/QijfLVgjNRwUKbXmEMKpHDmYT1fBsefr1VR n38xUhsIMi/fghYko657O2yAn9UkwG3wvOXV85e8ILA9kzcOwM8uca3Zu7suBNlkbz+m bs76yt/e8TLuATYs/MQ/oEFej75ixK7ubr7vOA76n5GbFeEMGi2VjukOKC93kv3KAnk+ dKhl253JXclL2eVkqtAKNZ9M9sEDGAN38HkUHyX43UD71/z3kfDF8nTCft8kcfnnGdLd LpHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ym+O+5PB; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si838793eji.75.2021.02.03.00.00.26; Wed, 03 Feb 2021 00:01:20 -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=@nifty.com header.s=dec2015msa header.b=ym+O+5PB; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232160AbhBCH6E (ORCPT + 99 others); Wed, 3 Feb 2021 02:58:04 -0500 Received: from conssluserg-06.nifty.com ([210.131.2.91]:42800 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231738AbhBCH6D (ORCPT ); Wed, 3 Feb 2021 02:58:03 -0500 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 1137upih029648; Wed, 3 Feb 2021 16:56:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 1137upih029648 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1612339012; bh=N/D47fbOBRad6M/ZDk/32EhFpPJEKVijkKmIa+v6ag4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ym+O+5PBZd3TiH1J/boWvO7Ah+7Zw1dd+m1WCL2PLHVOaxj/kaJk3luE8wzSc0v/N +XxXE+Gh0CJEVQJRH6Qvsk1KW8y2eh7/eDdidHLTzWfpwJlRsBfQjrrMY3rbCKE9Zd IRPd3yBPcTztb7e9utJY55XNhkr7amSnGFGhyYEr0/LLpC4O3h4gWnBTihyISJgned AWiRpyPzcrPBdwyKOQQQz6B0TQMJpA+KcjyJ/IKjHKQHqL7dyYDiA2ysOSOXQFuh8s 0d4smHg9jSwOG5iaccwYqCC4Rzx7nCy3qNkOZaEgjaCQdrQGBdAT/KORwm/fYBChgm 4I4j4UzVqhoVw== X-Nifty-SrcIP: [209.85.210.177] Received: by mail-pf1-f177.google.com with SMTP id y205so16126796pfc.5; Tue, 02 Feb 2021 23:56:51 -0800 (PST) X-Gm-Message-State: AOAM530Z2BKO8ZRYlvEeNCG7eEePvh7wA50jiFjx8Rln4zi9VMjhEaWY ayv63Ah1TkKSpv5ccRyARU/kV8ripkAwVd+DyGc= X-Received: by 2002:a63:ff09:: with SMTP id k9mr2382791pgi.175.1612339010996; Tue, 02 Feb 2021 23:56:50 -0800 (PST) MIME-Version: 1.0 References: <20210129194318.2125748-1-ndesaulniers@google.com> <20210129194318.2125748-3-ndesaulniers@google.com> In-Reply-To: From: Masahiro Yamada Date: Wed, 3 Feb 2021 16:56:13 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 2/2] Kbuild: implement support for DWARF v5 To: Sedat Dilek Cc: Nick Desaulniers , 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 Sat, Jan 30, 2021 at 7:42 AM Sedat Dilek wrote: > > 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. Sorry for the late reply. I do not know which command you input, but this happens for deb-pkg builds for example. Please try this patch: https://lore.kernel.org/patchwork/patch/1374926/ -- Best Regards Masahiro Yamada