Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp554266pxa; Wed, 19 Aug 2020 08:36:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEipoJJJe/G7vNdk56BFer9IIQ479g10CE4twqI1ovqJFbSFp81AdfreHew211LQH7qeN1 X-Received: by 2002:a05:6402:12c4:: with SMTP id k4mr24673757edx.358.1597851367059; Wed, 19 Aug 2020 08:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597851367; cv=none; d=google.com; s=arc-20160816; b=C0s+xFDPbUd1E9JU3IaCDxjB1FF5WtE6pg/1oJOmPjQqbxUDO0BNnm42d/O+RDsUjK ID+p7h0hDHkOTTZu6135Sp+WAYa5dK+T2d7VCUf5QCTwJw+wPmFZ4Ni1VFN8TpboeKiV QU4Ni9U4+AsxZDlPLDT2ZLVHGgE/42/A0rtCI0SItPjUzEz98Q4lxYLJAI4vCxdhqkMG JLbNgNm5yw5uNd3gosG63VQ9HJtkv9BepZxYR0Hwly6/KvjjyOhjhd0eDFlEw5b7Ui9n a93NqHg6Eo8qNEcOE1LCfpH46syYQhHF2MMHh/gqmQgRYV6d3REaibdM8gZQl0bBjd6i w8Cg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:from:references:cc:to:subject :dkim-signature; bh=ooA3o5vq6YM8Ef9YopTxN6Ikb2/hAbxiMviClb1Hatc=; b=uyXPYPQTuxMcXi6fd8ueWVHN3UftOaXxQcHVm7/8AwyMlofHM0F8mk/LgVDbt85ZJV azUxv69N8tPZGd2wlcw4dRUOSZMAeHXOEQbR6GQZgFLCLVOPJVa9AogBSc9s1CkM2oeI D0PASFTn22rgcNXOxlkBjCn0nCZE8e8+UERkOxGqU7zgIXMuzeDudb5LdMPwutnJ9/FP B859cC/iOU19VbJfQbXp1sUwTdE/YgT7XMwYT+H0oFm4ckR0H1yWw8s56J8rlwf0SvNX 0l8kuT4XpLE7MUZ34QJgKCHTU2g1o6b9RQGIQ2E/nL48c7NZzngYygaHJy1lXjV6kFfW ukAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=K2Fg1f12; 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 be25si15540240edb.124.2020.08.19.08.35.41; Wed, 19 Aug 2020 08:36:07 -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=K2Fg1f12; 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 S1728259AbgHSPep (ORCPT + 99 others); Wed, 19 Aug 2020 11:34:45 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:33955 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726809AbgHSPem (ORCPT ); Wed, 19 Aug 2020 11:34:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597851280; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=ooA3o5vq6YM8Ef9YopTxN6Ikb2/hAbxiMviClb1Hatc=; b=K2Fg1f12zLslypzEa6Gn8RbStq8EqfXdPZD9DXoS4wDk6QepHy1+Yz06jSnSeirnRXBzGF sG4YNV0HP1c9QGhvByL5xJ9SFXdeskYB+QN8uNKWdAFtQqTzx/ghSHncNbAcB/o1tuPRsz /Wy/elBNi0lddV7tVynaUoeyDegY7YU= 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-160-3FxzB86DPAew_9bkbVZ7Gg-1; Wed, 19 Aug 2020 11:34:38 -0400 X-MC-Unique: 3FxzB86DPAew_9bkbVZ7Gg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 15440186A56B; Wed, 19 Aug 2020 15:34:37 +0000 (UTC) Received: from [10.36.113.110] (ovpn-113-110.ams2.redhat.com [10.36.113.110]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE688600E4; Wed, 19 Aug 2020 15:34:32 +0000 (UTC) Subject: Re: Kernel build error on BTFIDS vmlinux To: Mark Wielaard , Jesper Dangaard Brouer , Jiri Olsa Cc: "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , sdf@google.com, andriin@fb.com References: <20200818105555.51fc6d62@carbon> <20200818091404.GB177896@krava> <20200818105602.GC177896@krava> <20200818134543.GD177896@krava> <20200818183318.2c3fe4a2@carbon> From: Nick Clifton Autocrypt: addr=nickc@redhat.com; prefer-encrypt=mutual; keydata= mQINBFm/2cUBEADkvRqMWfAryJ52T4J/640Av5cam9ojdFih9MjcX7QWFxIzJfTFYq2z+nb4 omdfZosdCJL2zGcn6C0AxpHNvxR9HMDkEyFHKrjDh4xWU+pH4z9azQEqJh331X7UzbZldqQo 16VkuVavgsTJaHcXm+nGIBTcUbl2oiTtHhmuaYx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lwHeABYstoK8dpopTcJGE3dZGL3JNz 1YWxQ5AV4uyqBn5N8RubcA8NzR6DQP+OGPIwzMketvVC/cbbKDZqf0uTDy3jP65OFhSkTEIy nYv1Mb4JJl3Sq+haUbfWLAV5nboSuHmiZE6Bz2+TjdoVkNwHBfpqxu6MlWka+P98SUcmY8iV hPy9QC1XFOGdFDFf1kYgHW27mFwds35NQhNARgftAVz9FZXruW6tFIIfisjr3rVjD9R8VgL7 l5vMr9ylOFpepnI6+wd2X1566HW7F1Zw1DIrY2NHL7kL5635bHrJY4n7o/n7Elk/Ca/MAqzd IZxz6orfXeImsqZ6ODn4Y47PToS3Tr3bMNN9N6tmOPQZkJGHDBExbhAi/Jp8fpWxMmpVCUl6 c85cOBCR4s8tZsvGYOjR3CvqKrX4bb8GElrhOvAJa6DdmZXc7AyoVMaTvhpq3gJYKmC64oqt 7zwIHwaCxTbP6C6oUp9ENRV7nHnXN3BlvIgCo4QEs6HkDzkmgYlCEOKBiDyVMSkPDZdsspa+ K4GlU2Swi/BDJMjtDxyo+K0M81LXXxOeRfEIfPtZ3ddxBKPva1uSsuz+pbN9d1JY8Ko5T/h1 6susi2ReUyNJEJaSnjO5z13TQ1U= Organization: Red Hat Message-ID: <0ddf7bc5-be05-cc06-05d7-2778c53d023b@redhat.com> Date: Wed, 19 Aug 2020 16:34:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, > Adding Nick, the binutils maintainer, so we can make sure > binutils/elfutils agree on some ELF section compression corner case. Thanks for doing this. > But it would obviously be better if that wasn't necessary. So I'll try > to fix libelf so that if it fixes up the alignment when reading the > compressed data, it also does that when writing out the data again. But > that would only help for a new version of elfutils. > > So it would be nice if binutils ld could also be fixed to write out > compressed sections with the correct alignment. OK, I will look into doing this. By any chance is there a small test case that you are using to check this behaviour ? If so, please may I have a copy for myself ? Cheers Nick