Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3685138ybb; Tue, 31 Mar 2020 09:57:34 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuPDXIq8/8xtsoakLyrCWJMZtJaCn2AYOD5bfdIzn47RB6WSPN5O7hGXEJjrjmUqRQwk152 X-Received: by 2002:a4a:e211:: with SMTP id b17mr8773667oot.79.1585673854283; Tue, 31 Mar 2020 09:57:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585673854; cv=none; d=google.com; s=arc-20160816; b=ZHJy73ibu+tEiyNf/Q+t/6TcnSVXCj51AcpVWXJk+xSTbTywdW/wJL66+ZIK3mkVPx +egrSPxhKwlD9+3h7D1J9fypYqU9sgCakJ7jzEnjZLofaczF0kE1YMXX+2M60fnf74yF s92pEVgTZGCj3MaRPDY4tMKecO/ewwFV8y/DE1x1XgFbYZkG6c/qgBKYXAK2vqf+QuzZ jNCFpzUrjpNf5P/QlObRXGi9ItQezoohr68btqIM5gKDoqqWA42v/fX05VK2DcN2ApZY BoMx/7UoNAb6QLzlvGXS8uRKb2DPn06N7Eb4HIz9W9r5Kfc9d7opqzwXnSJYStgB+j6N /mAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:dkim-signature:from; bh=DmSQ2UIhT0odCb3E+9iqnV1wCWPiNesSH1XLAgRS7Jw=; b=BdiVXL4xd1AwGx90Xw1qaqxi3zBG5LJuTgE7F492nrjYT/wq1rmChQYV7G5muZ03Ev 3Hw5dGWFqHhV7ocB4d+FYd8u0Oy3HmV986mM8lY1hVH7HvS9SIhDBcM0qer2/3EjiJZM RZPVeCIWHOU6/iuQeSnLZWDvVBAB7x5eVDf1nlowWJu9p0hWsKCS+UmPe4DvDRSyohZZ dGv7y7SVAnOpYS/KgygNltrAUyGH6PRK74ArvGRNE/Alx9BA30vBwcH5apmaeUI+W4UE tMoH5QRfQ495292wNMhOfwf8/iBy4d8he2hUF0saFMbKYvcwT3WeW6x3boEm3pSgu3he DDLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bacher09.org header.s=reg header.b=Re0+pc4f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x25si7758369otk.160.2020.03.31.09.57.21; Tue, 31 Mar 2020 09:57:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bacher09.org header.s=reg header.b=Re0+pc4f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731270AbgCaQ4n (ORCPT + 99 others); Tue, 31 Mar 2020 12:56:43 -0400 Received: from pub.regulars.win ([89.163.144.234]:60628 "EHLO pub.regulars.win" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730589AbgCaQ4m (ORCPT ); Tue, 31 Mar 2020 12:56:42 -0400 X-Greylist: delayed 462 seconds by postgrey-1.27 at vger.kernel.org; Tue, 31 Mar 2020 12:56:42 EDT From: Slava Bacherikov DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bacher09.org; s=reg; t=1585673336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=DmSQ2UIhT0odCb3E+9iqnV1wCWPiNesSH1XLAgRS7Jw=; b=Re0+pc4fcZ/9lLyWQmpJEiEuwkWiA/rcf3G5Ovd+qNiPmIJAMU0s0l2zzXj/Xo1ahMPieK WBTPVVN2hgx0dtCM96KcbSPr7bvID3Gnjcl4/tzhZZoQUSsk7JwhwmCzhj/p4nMIYH7aiJ Ao/cP94gY1ZNlL/CFxY1dNgqV6s7MHo= To: yamada.masahiro@socionext.com Cc: andriin@fb.com, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, Slava Bacherikov Subject: [PATCH] kbuild: disable DEBUG_INFO_SPLIT when BTF is on Date: Tue, 31 Mar 2020 19:47:20 +0300 Message-Id: <20200331164719.15930-1-slava@bacher09.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently turning on DEBUG_INFO_SPLIT when DEBUG_INFO_BTF is also enabled will produce invalid btf file, since gen_btf function in link-vmlinux.sh script doesn't handle *.dwo files. Signed-off-by: Slava Bacherikov --- lib/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index f61d834e02fe..a9429ef5eec8 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -223,6 +223,7 @@ config DEBUG_INFO_DWARF4 config DEBUG_INFO_BTF bool "Generate BTF typeinfo" depends on DEBUG_INFO + depends on !DEBUG_INFO_SPLIT help Generate deduplicated BTF type information from DWARF debug info. Turning this on expects presence of pahole tool, which will convert -- 2.24.1