From nobody Sun Feb 8 22:08:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594894428; cv=none; d=zohomail.com; s=zohoarc; b=b+twue6Y+RL/oEefTcAyQWowifh2ZnpJv5tyBqRsdJgq/NnsevIX7fnyYtVIJ3lryLrIlN6sFhqGsuQmqqbFMS0LkwnzNUVBTdlC3cvOHXpb3N5McK084RY49DQGv08OQzNqm4KVQnK6OOUJZghi3utesV7SE7EOujITPpWWVj0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894428; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XJoBzr4MJC6vM43kYvD7THylfzgyISPcfOPZ85EIcqU=; b=N5PA0WPtvTgM5CeqPhgIg1n5pK7KCsF8rFjmxqbSFDqBXNpaAZSP8gMV4WjlctGT78s5kIjZ8gB0EI3UDYnacYYLlsilknIqJhAEx0z1BYSd5iZh62wfhxxIYlf5B/c+ehYcXLOaCKmSDQQMQyxlQXO/tZJL81fpJWDuk87uViY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594894428751481.02490771112764; Thu, 16 Jul 2020 03:13:48 -0700 (PDT) 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-313-gx0HMtvsNyybm2dwWTvcLA-1; Thu, 16 Jul 2020 06:13:44 -0400 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 5C97D805723; Thu, 16 Jul 2020 10:13:39 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3D73E72E4A; Thu, 16 Jul 2020 10:13:39 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 09464730EA; Thu, 16 Jul 2020 10:13:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA5xlq018814 for ; Thu, 16 Jul 2020 06:05:59 -0400 Received: by smtp.corp.redhat.com (Postfix) id E10452B6DC; Thu, 16 Jul 2020 10:05:59 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5B5842B6DB for ; Thu, 16 Jul 2020 10:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894427; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=XJoBzr4MJC6vM43kYvD7THylfzgyISPcfOPZ85EIcqU=; b=Kq+Ia/B/atg+stOFzpD/6MIpDRcy9/Zt4OrlkFG5pMaahpCs7/dmpXTHDVUypaThQ6Ducy 6YAG/7uNknz/oKv4m60gsp7d2Ij4YMkcVYvN8tQPlzn9deGnp1Jrz0rKbFgLnL9vE8tJr0 +jo0BdeBhBfPwTW764mFtoDZG7dufJU= X-MC-Unique: gx0HMtvsNyybm2dwWTvcLA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 240/351] meson: src: add check-symfile test Date: Thu, 16 Jul 2020 11:57:56 +0200 Message-Id: <0118f685b9118114d120be299853a2aebda0f1ed.1594891445.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- src/Makefile.am | 11 +---------- src/meson.build | 12 ++++++++++++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 18cc33185a0..0e0fc621e53 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -47,15 +47,6 @@ include secret/Makefile.inc.am include storage/Makefile.inc.am =20 =20 -# .libs/libvirt.so is built by libtool as a side-effect of the Makefile -# rule for libvirt.la. However, checking symbols relies on Linux ELF layo= ut -if WITH_LINUX -check-symfile: libvirt.syms libvirt.la - $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-symfile.py \ - libvirt.syms .libs/libvirt.so -else ! WITH_LINUX -check-symfile: -endif ! WITH_LINUX check-symsorting: $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-symsorting.py= \ $(srcdir) $(SYM_FILES) @@ -147,7 +138,7 @@ check-aclperms: $(srcdir)/access/viraccessperm.h \ $(srcdir)/access/viraccessperm.c =20 -check-local: check-protocol check-symfile check-symsorting \ +check-local: check-protocol check-symsorting \ check-drivername check-driverimpls check-aclrules \ check-aclperms check-admin .PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=3Dstruct) diff --git a/src/meson.build b/src/meson.build index b8e356d8b0e..0c94483965d 100644 --- a/src/meson.build +++ b/src/meson.build @@ -790,3 +790,15 @@ virt_install_dirs +=3D [ ] =20 meson.add_install_script(install_dirs_prog.path(), virt_install_dirs) + + +# Check driver files + +if host_machine.system() =3D=3D 'linux' + test( + 'check-symfile', + python3_prog, + args: [ check_symfile_prog.path(), libvirt_syms, libvirt_lib ], + env: runutf8, + ) +endif --=20 2.26.2