Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3103937pxa; Tue, 18 Aug 2020 06:47:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOn5NWImmdVO1ipsyTVYJIXFPTi2dvrDf3dMaMUXrjshAP5H8NSCvxcKnJ04aIfnzEvV2j X-Received: by 2002:a17:906:b213:: with SMTP id p19mr19912838ejz.39.1597758420167; Tue, 18 Aug 2020 06:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597758420; cv=none; d=google.com; s=arc-20160816; b=texYzYggxs1tqNqkOw6Two5gd1/TGzKA20TbkbBWlzugL4R/N/TA7HrOdW39CtB0GF jn/odbmhWci2rFBFqVB/zXWfRhQEOymlrvkv/cCkzLSPveydqmQBt9AoQgPZF+7XifnL fi+9mu/zNT4+3B8b9ctZLXtPB6zu34zzjW9NpPybNBjjWeN/8lhRgHRu/wYA2ykQMxt4 6v7PEtBfGyhvFZ9oTr6ZMJw67ti2f0slzOr/mL0US3ZzsQA0TUKXoF3ymyBslZ79rafN WYdxNazKrrM8jUzegyofljIPNGp8RBRh0eDXGa3PiKh4hRoR+QtINc8eAwo/jKzveBFL 6dAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CZRumnYOrFgt3qoT6t+nLLJKuANtNAnklm5YHpJrh+8=; b=lcgPQkQ7Se4ilIjbM74RRDxTU231hrgboNeUtKGCEMeodR11TnP2V3EKgRVUFeAaBZ y8CkYhK6XSs3XMoVjVknYMxc/0sV1uDg55E6hNjDJ249+d62dTS7mA6fpK4LFHIKyIru Ju3iOnVSHyyps/M9zg6dxygTsCZ1t6adrliaknB2zGhTp7Sth3kXkSsISB18ancqMKme 6/rbRORvG8182Ak/pf1VU6cZqPkm6M/W/hhVbpmoIOkZ8VWhqkUMvhStg8l3ELXBOUwn 5DHbZ1fyClSzLvrP9oAk7ZZ/4jtSCGRKfNR79du2UexlsndG/7Z8LOlAJecJp7uTWrUM zXbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SH63MKzY; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd9si13547197edb.340.2020.08.18.06.46.35; Tue, 18 Aug 2020 06:47:00 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=SH63MKzY; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726681AbgHRNp7 (ORCPT + 99 others); Tue, 18 Aug 2020 09:45:59 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:50224 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726480AbgHRNp4 (ORCPT ); Tue, 18 Aug 2020 09:45:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597758355; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CZRumnYOrFgt3qoT6t+nLLJKuANtNAnklm5YHpJrh+8=; b=SH63MKzYz7r2sN/Wyk5h769y2OcKXiKXQ1q6NaWGVLFIExR0/Zutdnh7ACdj/1ahehyQHm GtvIpJGukIs8tmT43j8c9lpob9/ecmgBVqCdsv+kVEilVF2Ge4O1ujBJGK086vLYDBxt31 lOsxuWr0ETgQRPxVndPQHkOMRvxN7YY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-295--bgF-J0OOsq5LKkAuenMIQ-1; Tue, 18 Aug 2020 09:45:53 -0400 X-MC-Unique: -bgF-J0OOsq5LKkAuenMIQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 261251015C92; Tue, 18 Aug 2020 13:45:52 +0000 (UTC) Received: from krava (unknown [10.40.193.152]) by smtp.corp.redhat.com (Postfix) with SMTP id AFBDE7A401; Tue, 18 Aug 2020 13:45:44 +0000 (UTC) Date: Tue, 18 Aug 2020 15:45:43 +0200 From: Jiri Olsa To: Jesper Dangaard Brouer Cc: "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , sdf@google.com, andriin@fb.com, Mark Wielaard Subject: Re: Kernel build error on BTFIDS vmlinux Message-ID: <20200818134543.GD177896@krava> References: <20200818105555.51fc6d62@carbon> <20200818091404.GB177896@krava> <20200818105602.GC177896@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200818105602.GC177896@krava> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 18, 2020 at 12:56:08PM +0200, Jiri Olsa wrote: > On Tue, Aug 18, 2020 at 11:14:10AM +0200, Jiri Olsa wrote: > > On Tue, Aug 18, 2020 at 10:55:55AM +0200, Jesper Dangaard Brouer wrote: > > > > > > On latest DaveM net-git tree (06a4ec1d9dc652), after linking (LD vmlinux) the > > > "BTFIDS vmlinux" fails. Are anybody else experiencing this? Are there already a > > > fix? (just returned from vacation so not fully up-to-date on ML yet) > > > > > > The tool which is called and error message: > > > ./tools/bpf/resolve_btfids/resolve_btfids vmlinux > > > FAILED elf_update(WRITE): invalid section alignment > > > > hi, > > could you send your .config as well? > > reproduced.. checking on fix I discussed this with Mark (cc-ed) it seems to be a problem with linker when dealing with compressed debug info data, which is enabled in your .config it works for me when I disable CONFIG_DEBUG_INFO_COMPRESSED option Mark will fix this upstream, meanwhile he suggested workaround we can do in resolve_btfids tool, that I'll try to send shortly thanks, jirka