Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp48529pxk; Tue, 15 Sep 2020 17:25:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzurF+2vOPaByrUvQLAbYJ3R1HhqCxo8CuCJ1/uwUuM/GZLgk/g9hP0DAF12YbEFXJoQX7S X-Received: by 2002:a17:906:fb84:: with SMTP id lr4mr23841793ejb.282.1600215924185; Tue, 15 Sep 2020 17:25:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600215924; cv=none; d=google.com; s=arc-20160816; b=vMvjUC+4rh9olfjMW1hnypLfL9KD2kbfzIivBWWtxGt6G1JPz+Iiix91tg6zLoykqY JXbmgSQM44iu+E4dGzV/BRs5arqBC2a3dEq5tkfsE0Mbm/9TUuICHi/6UqvAnoiUR5OT CNAOpM99h3VgVKiU7CmgmPoj10LDRprrVj6QcdE6omg5mopzhguV3WfFOrXwUBz4wDOb CeEmjG84FpoyJJQRzjv35se1edkyN27++FvZGsi5eTFFhccwFIiufpOSwVMBqHhHJkd9 k1ivsr+0Lbzfq1Pq9fgbgsuXw0auTThSb/bcHZATWXX7xtnyT/3egd/r0TIyYR/lb4FF oByA== 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=n3aUX7mu7tx6gj7x1oFhz0vW3IscnXgty1qPqJGepZ4=; b=01HQRizIaAkZBDhRGcNaqfLQgrahEBtomz/yj9o/TKMy5Bixu8wA6zbwvfvnsVxj6h ZcxlLxk37izEHciwVFNubf9tngj6H7JXInQhCYPdA8kOAe+aC7gR6tmeoOnXGc9iBqzD ZuEVmSNyWmOgzr7V5xLWE6BG7zc6Gfs6Wqake9d0WSOaib+Nlf4Raj5wg/vy7acsU+pV tbN+vHxbeLcz6qH5BvfLIA88OxZLTTKXYGhnVe+xFDut6PLIL9egeBgDPKSxjq9HL5CX EU368R4y0WKqJKk0ZY9Pvj/jV7Im6g0KyNaNgFyRszUFPKCscWilymzwEpBtM2yAHKJA TrJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g3ys2ycL; 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 qt16si10244989ejb.352.2020.09.15.17.25.01; Tue, 15 Sep 2020 17:25:24 -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=g3ys2ycL; 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 S1726992AbgIPAYe (ORCPT + 99 others); Tue, 15 Sep 2020 20:24:34 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:32241 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726835AbgIOOTx (ORCPT ); Tue, 15 Sep 2020 10:19:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600179553; 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=n3aUX7mu7tx6gj7x1oFhz0vW3IscnXgty1qPqJGepZ4=; b=g3ys2ycLPN16rSWrkmHvDOK7w5072vXPd9YWgjHjbGdQa52McJ8nWDXCdWoqTcEz/L/h58 mz8nMaLFdj3nQZW68VxUGoO9UsaAjbRorzOlfzXEOaYq4UT2LJPhwnajZ1AVX8o+/AtJRZ hjXIlNvYJxcUHYwXkBUfwY9cScvn988= 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-523-YGq3duzSPTOF0IWEcsmPZA-1; Tue, 15 Sep 2020 10:17:06 -0400 X-MC-Unique: YGq3duzSPTOF0IWEcsmPZA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A75D381F026; Tue, 15 Sep 2020 14:17:04 +0000 (UTC) Received: from treble (ovpn-112-136.rdu2.redhat.com [10.10.112.136]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E252960FC2; Tue, 15 Sep 2020 14:17:03 +0000 (UTC) Date: Tue, 15 Sep 2020 09:17:01 -0500 From: Josh Poimboeuf To: Mark Wielaard Cc: peterz@infradead.org, Hugh Dickins , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: Static call dependency on libelf version? Message-ID: <20200915141701.j5fnir63trpwqbfp@treble> References: <20200915093016.GV1362448@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2020 at 01:24:17PM +0200, Mark Wielaard wrote: > But all this is for ancient versions of elfutils libelf. So it is hard > to say and my memory might be failing. If someone can confirm 0.158 > (which is 6 years old) works fine I would pick that as minimum version, > otherwise simply go with 0.168 which is 4 years old and should be on > most systems by now. I just discovered elf_version(), I assume that would allow us to check and enforce the libelf version? -- Josh