Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2274152pxb; Fri, 5 Feb 2021 13:28:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1xCm5Tl9RTjx4FGpNOZ2k65CSAR2TaQjoMvlhBjTsD0s5tzwOl6bWoEJc4RhqPFLVA1P7 X-Received: by 2002:a05:6402:34d2:: with SMTP id w18mr5740000edc.102.1612560524635; Fri, 05 Feb 2021 13:28:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612560524; cv=none; d=google.com; s=arc-20160816; b=G6gfmExc4Jp6vgFeDt2Z5Dys7A5SLvquqh5B72E2rLr3tJqqziqIbLr48wx2YfJD4X vUE6oT0tZSHl0idkYoGGviga/gEl5Hi/bAXT49M6179r2swMHAT2Fek3/SiNgAVuHkwr aTqn60XTWBa45BsWg/p9CJRzqNI+TtQtaYa5EjBA2eP5nimIeuH1+Dytw06BrrJCJXLD sX/NJRL8OW/JcthDsKBNNeWf3P34p3NqLTm5uZ4w14mKIEplZ88XJqc+58B3c5V6jLvA Xykq+IrmUsSoDhBkDXFO6kDWvrGt/nBU+56+09GaZ7iFWIklzmFHTTnRSOuby4xVtnxp F5Wg== 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=SnNRtmhDAWSQM3xrLpXKWdGaXUIh2OW900Y2bpJfut4=; b=xPA/tb0BetSG65yXDtc677MahGz9GhSP81UOa71nPtlvRvIFY1PP00Mm3sLFKkbUar zvGkPJ4Flv50EokaQ4aB7H2rrKZDxyQoNiLr7Y5qMs3WBw15+YIUWsn0KR+scEv2K6M2 LJqF/k0xX48Qqa0Dmdo2h/t4Kjn7bIEuPS3kc0hiL4KTc9oHEad7h45NlwUsovCyLbza okSWi7WqArF/YyGT9QdxdWlEKJTBa2rtshuKlTprjP5klHWGvFOCsSMbG9Ghzn6ABbwN yF/mRQBH/5zGRdRQAiS4Nieuy4sOv54hqFS1J9QdDZaTx/TXUZ1WMPftRpCaYOv21V8j NZ1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UY+PP84l; 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 v4si6027250edy.79.2021.02.05.13.28.19; Fri, 05 Feb 2021 13:28:44 -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=UY+PP84l; 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 S233028AbhBEV1Z (ORCPT + 99 others); Fri, 5 Feb 2021 16:27:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233001AbhBEPBT (ORCPT ); Fri, 5 Feb 2021 10:01:19 -0500 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5521DC06178A; Fri, 5 Feb 2021 08:39:19 -0800 (PST) Received: by mail-io1-xd2a.google.com with SMTP id f6so7745141ioz.5; Fri, 05 Feb 2021 08:39:19 -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=SnNRtmhDAWSQM3xrLpXKWdGaXUIh2OW900Y2bpJfut4=; b=UY+PP84lCjsq45pPZGTUbH/YMfxSh9MqVOhpE/CKzaNDLv5xv2637woN5szF4JiPTN 3LfdNqlzQq/aKFqaExW1VXy1wuw1ASiFwibgnc7FIwRMAYgD5YKYJnoQKmXHn3bjbaDo 9q6pQzX/v5wt5JBA/SnqZ8y08l87UNeGO5UzDK4hAe+CX65+KXlIID0Vh05QfPv2rjbY Sw00FX549xWGt4WrmESzg09ikDZGXDR7QQWmYLOouF/xML46U0JX1/HHDKR2Gv0cnLzf bmNJ7SJ4YjKuhQaTm8MJgnkEUojIrN5/PNtMtfuds/lNgaRt4y8pfZvd9aZOLEutWZis tyPQ== 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=SnNRtmhDAWSQM3xrLpXKWdGaXUIh2OW900Y2bpJfut4=; b=dKmGzU2yCJp/TKjV4Hf15l+ggDDK6pQ5ZC0KpeM/wFiuuG2MQjpna1A3GQcrHCuVLq FTGzOp0F2q9LuUI3CxfOiQ+b9Xh51X5odEJ8jEDImvAMTLdM63kvI0WnFZ0+zmrTZNf1 JH0fGLhOOo9bndFDbVAJ2BSO/quIbEQExHpS5R1hwrjurTP9aDpo7hO5lT6MgNPyLou4 Y1wL0k/ClulG7shtb3TB/XVe5EVvovosVvDteSMn4XWPQrKTsPJj1/CdClzusow6YeVc CSNaqoM7iu/qRUU5c892puHtDAkuJRHcnIhh0+ytB+sKBzgootSwwzDD7Ai1Yhyx72SI 1gKA== X-Gm-Message-State: AOAM530gn8isQYH+2tB+u+Ce/wrh9K3+9wDykULsyP2X7k1uxCO8nBEG QstuX9zwk3trUEwuMEdJMwpw2XtlYEBPikUSyID/20NRyJvDIZme X-Received: by 2002:a05:6e02:d0:: with SMTP id r16mr4094604ilq.112.1612536088465; Fri, 05 Feb 2021 06:41:28 -0800 (PST) MIME-Version: 1.0 References: <20210204220741.GA920417@kernel.org> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Fri, 5 Feb 2021 15:41:17 +0100 Message-ID: Subject: Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type To: Arnaldo Carvalho de Melo Cc: dwarves@vger.kernel.org, Linux Kernel Mailing List , bpf@vger.kernel.org, Jiri Olsa , Jan Engelhardt , Domenico Andreoli , Matthias Schwarzott , Andrii Nakryiko , Yonghong Song , Mark Wieelard , Paul Moore , Ondrej Mosnacek , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Tom Stellard Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 5, 2021 at 3:37 PM Sedat Dilek wrote: > > Hi, > > when building with pahole v1.20 and binutils v2.35.2 plus Clang > v12.0.0-rc1 and DWARF-v5 I see: > ... > + info BTF .btf.vmlinux.bin.o > + [ != silent_ ] > + printf %-7s %s\n BTF .btf.vmlinux.bin.o > BTF .btf.vmlinux.bin.o > + LLVM_OBJCOPY=/opt/binutils/bin/objcopy /opt/pahole/bin/pahole -J > .tmp_vmlinux.btf > [115] INT DW_ATE_unsigned_1 Error emitting BTF type > Encountered error while encoding BTF. Grepping the pahole sources: $ git grep DW_ATE dwarf_loader.c: bt->is_bool = encoding == DW_ATE_boolean; dwarf_loader.c: bt->is_signed = encoding == DW_ATE_signed; Missing DW_ATE_unsigned encoding? - Sedat -