From nobody Mon Feb 9 12:15:20 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1614948630; cv=none; d=zohomail.com; s=zohoarc; b=C5QXZNwQcTfDlXzDvFIHghw4Ayf6iNpJf05eJYIRtTR+1x8vn2vVMNgmOcrtyFNneu+CJFttEmaHq1FtArZQfkCyiTw1xUHK2pL6IL2yPQGi4vJGO+N6G6fxWDcFTdu8N29UHi2w0K3QMQns8xAFbcyLOvixmJb9MHqTwcB41Tc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614948630; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=T52fMLE3sI3ikas7DdFuFg/FKGcX9hDIJKrg5Cwmn54=; b=mq5GMZULdVPzD4G9Axo0UZvCHEfcszJzL4Ip3rSv5m32hVomdCqGokVlyr6cHbBosBXWNIXOt83C8OrAKunmZ1xicnyU/blGWOZgP4dtl6Caeae0I9Wegcwl/KW6Piaw8JeGRQyxUDPUCe2oHkYy0ZOq1E2Qq+inTmpw9ONSRXE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 161494863019810.100508759895774; Fri, 5 Mar 2021 04:50:30 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.93665.176679 (Exim 4.92) (envelope-from ) id 1lI9uF-0002rH-Ir; Fri, 05 Mar 2021 12:50:11 +0000 Received: by outflank-mailman (output) from mailman id 93665.176679; Fri, 05 Mar 2021 12:50:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lI9uF-0002rA-Fq; Fri, 05 Mar 2021 12:50:11 +0000 Received: by outflank-mailman (input) for mailman id 93665; Fri, 05 Mar 2021 12:50:09 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lI9uD-0002r5-Lz for xen-devel@lists.xenproject.org; Fri, 05 Mar 2021 12:50:09 +0000 Received: from esa1.hc3370-68.iphmx.com (unknown [216.71.145.142]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 58939bb7-5fb3-4810-b2a2-4fd69d64229f; Fri, 05 Mar 2021 12:50:08 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 58939bb7-5fb3-4810-b2a2-4fd69d64229f DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1614948608; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=z1HelTmkuc3f0yOSIADiJ3232SVzO1AEpOdakbI14q0=; b=DdmbTNu6WcqpNwD81A5kIxSGJkkd69XFOpA9yeen0aOY4lyE5GIqZTlz NBJH/3UUpBToNuoKLfhe+XVWGW3QuN3kprQfr2Hflf1RN8l2k1qObhKQd XxeY84/ZD7Qdkk70e2PSYgcZZf8YaZvReYF8Q8aoa2oqo19yizFPCH8iw c=; Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: zV1m6LxsVZsEQc4Xjcsct9N3n2ffybb6svSYUFZtgaPA2rMjfLg6YhZ4XBM+FkVxsqci7+wO5Y t8BH7KDyoOPEHKDSUWikshYRvNwurdLFjOi8xAUn4wQoUge+ZbhbkFOHWx1OVPvIch69ZrBLuB ugJFKIupiREzsfdqHfHEfZ5ZTRePtlhwz+zvpoOSOinxMo3v1wmSpZml7wCr85XpT9ZkwKOIuu 0GieGKmwyG0h0ORXNaRhoxF+3a33NIxg1MLlqJ+iou7kYGt+UEVK9fQpVAiCueLiWSzk+GmDXB 7WY= X-SBRS: 5.1 X-MesageID: 38997299 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.81,224,1610427600"; d="scan'208";a="38997299" From: Andrew Cooper To: Xen-devel CC: Andrew Cooper , Ian Jackson , Wei Liu , Juergen Gross Subject: [PATCH 1/3] tools/libxentoolcore: Fill in LIBHEADERS Date: Fri, 5 Mar 2021 12:49:47 +0000 Message-ID: <20210305124949.6719-2-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210305124949.6719-1-andrew.cooper3@citrix.com> References: <20210305124949.6719-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 X-ZohoMail-DKIM: pass (identity @citrix.com) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" c/s 4664034cd replaced a glob over include/*.h with an expectation that LIBHEADER was suitably set for libraries which didn't have a single, consistently named, header file. This wasn't true for xentoolcore, which lost xentoolcore_internal.h as a consequence, and failed an API/ABI check vs 4.14 Fixes: 4664034cd ("tools/libs: move official headers to common directory") Signed-off-by: Andrew Cooper Reviewed-by: Juergen Gross --- CC: Ian Jackson CC: Wei Liu CC: Juergen Gross For 4.15. This is a regression from 4.14, even if AFAICT it only impacts t= he ABI checking at this point. I *think* this is the only impacted library, but I would appreciate a second pair of eyes. I did experiment with this: +ifeq ($(LIBHEADER),) +$(warning $(LIBNAME) - No headers) +endif LIBHEADER ?=3D $(LIB_FILE_NAME).h LIBHEADERS =3D $(foreach h, $(LIBHEADER), $(XEN_INCLUDE)/$(h)) which yields: andrewcoop@andrewcoop:/local/xen.git$ make -j4 -s -C tools/libs/ /local/xen.git/tools/libs/toollog/../../../tools/libs/libs.mk:50: toollog= - No headers /local/xen.git/tools/libs/evtchn/../../../tools/libs/libs.mk:50: evtchn -= No headers /local/xen.git/tools/libs/gnttab/../../../tools/libs/libs.mk:50: gnttab -= No headers /local/xen.git/tools/libs/call/../../../tools/libs/libs.mk:50: call - No = headers /local/xen.git/tools/libs/foreignmemory/../../../tools/libs/libs.mk:50: f= oreignmemory - No headers /local/xen.git/tools/libs/devicemodel/../../../tools/libs/libs.mk:50: dev= icemodel - No headers ../libs.mk:50: hypfs - No headers /local/xen.git/tools/libs/stat/../../../tools/libs/libs.mk:50: stat - No = headers /local/xen.git/tools/libs/stat/../../../tools/libs/libs.mk:50: stat - No = headers Headers aside for a moment, there are two bugs here. hypfs doesn't use the same include pattern as the others, and stat is entered twice. --- tools/libs/toolcore/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libs/toolcore/Makefile b/tools/libs/toolcore/Makefile index 1cf30733c9..3550786491 100644 --- a/tools/libs/toolcore/Makefile +++ b/tools/libs/toolcore/Makefile @@ -5,6 +5,8 @@ MAJOR =3D 1 MINOR =3D 0 AUTOINCS :=3D $(XEN_INCLUDE)/_xentoolcore_list.h =20 +LIBHEADER :=3D xentoolcore.h xentoolcore_internal.h + SRCS-y +=3D handlereg.c =20 include $(XEN_ROOT)/tools/libs/libs.mk --=20 2.11.0