From nobody Fri Aug 28 00:49:35 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=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1786631770; cv=none; d=zohomail.com; s=zohoarc; b=TNtOtyXrsSiFycsBaHVIW6obUHUmfuDaFpfzNplszDr8yKnW2WqKAK64Rp/dcz02YAySaLix2m72xLkbkTDS7yXH6NB/OMvfgwgxwAhBW8h9MrTn9fIHaeJCIkHR5DWDqiEJj3pXGyqmoVYgwUTxepq7tFi89RdD1561U9GYipM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1786631770; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=XHifLB69AMRTLIpKxXHstN48NDghgiv9aUOhYqCq+fI=; b=gNvl3YSIEc35+MIn2zxAjXf2wAQhA4w+vTW4+FO7F6SFGUSRkHn2lCvSh1bey7Ljn5XTp3Oozgx3Lbyp6ZGDIe09BZvRmtZZKBmlKZc7NKSxFbXmI+RdG31sK4C4JypvQU+7RXKAzJMzsjw2XoxYZXL4GEberf2HRenx0g66syk= 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=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1786631770781805.7314565463034; Thu, 13 Aug 2026 07:36:10 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1390108.1630656 (Exim 4.92) (envelope-from ) id 1wuWXA-0001lM-3Y; Thu, 13 Aug 2026 14:35:52 +0000 Received: by outflank-mailman (output) from mailman id 1390108.1630656; Thu, 13 Aug 2026 14:35:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wuWXA-0001l0-0H; Thu, 13 Aug 2026 14:35:52 +0000 Received: by outflank-mailman (input) for mailman id 1390108; Thu, 13 Aug 2026 14:35:50 +0000 Received: from mx.expurgate.net ([194.145.224.20]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wuWX8-0001kZ-NE; Thu, 13 Aug 2026 14:35:50 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wuWX7-0004VE-NA; Thu, 13 Aug 2026 16:35:49 +0200 Received: from [10.42.69.2] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6a7dd633-2eae-0a2a0a5409dd-0a2a4502d682-18 for ; Thu, 13 Aug 2026 16:35:49 +0200 Received: from [195.135.223.131] (helo=smtp-out2.suse.de) by tlsNG-720697.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6a7dd645-6ca4-0a2a45020019-c387df838a24-3 for ; Thu, 13 Aug 2026 16:35:49 +0200 Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 9B1273E9E; Thu, 13 Aug 2026 14:35:40 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 7930477E7A; Thu, 13 Aug 2026 14:35:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id Ha1uHDzWfWrJSQAAD6G6ig (envelope-from ); Thu, 13 Aug 2026 14:35:40 +0000 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" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=susede1 header.d=suse.com header.i="@suse.com" header.h="From:Date:Message-ID:To:Cc:MIME-Version:Content-Transfer-Encoding"; dkim=pass header.s=susede1 header.d=suse.com header.i="@suse.com" header.h="From:Date:Message-ID:To:Cc:MIME-Version:Content-Transfer-Encoding" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1786631744; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XHifLB69AMRTLIpKxXHstN48NDghgiv9aUOhYqCq+fI=; b=XvZZDZKtQSkSBkCyGAFOdT+lQquq2J7JWAb5ZaYobwN/3qpM+JmPKLjHG+k1FDuYyWOvvZ EvIV0RsgeP20GJQXJbzGVBVC2yiScSIuG1EiislZmHmozHTx4IU8Y4MucdFEvjc+NF3juI eO7r7/L+pMMGFNvJ1Idrm7Z+K1fkV3I= Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b=bSiAhVrY DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1786631740; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XHifLB69AMRTLIpKxXHstN48NDghgiv9aUOhYqCq+fI=; b=bSiAhVrYX0JnOkA7W2YJHCtO3XGqJj6cAQ3a3TbbKJoyUax5QoJG6k4myiWTH33cNOCqpU EERQ3jJGU5Zf9tVfy2t0svItXdAh9xqtJ2od4vIOxg+J2gDag234gS+oHgDP12nM5jtUT9 0m8E1pCS0I/esvtn2GehGJlFW88ptjI= From: Juergen Gross To: minios-devel@lists.xenproject.org, xen-devel@lists.xenproject.org Cc: samuel.thibault@ens-lyon.org, Juergen Gross Subject: [MINI-OS PATCH] build: don't add -lm -lpci -lz to APP_LDLIBS Date: Thu, 13 Aug 2026 16:35:36 +0200 Message-ID: <20260813143536.3607406-1-jgross@suse.com> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email,suse.com:mid,suse.com:dkim,imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; RCPT_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[suse.com:+] X-Spam-Flag: NO X-Spam-Score: -3.01 X-Spam-Level: X-Rspamd-Queue-Id: 9B1273E9E X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Action: no action X-purgate-ID: tlsNG-720697/1786631749-303C42AC-4F976244/0/0 X-purgate-type: clean X-purgate-size: 768 X-ZohoMail-DKIM: pass (identity @suse.com) (identity @suse.com) X-ZM-MESSAGEID: 1786631773372158500 Content-Type: text/plain; charset="utf-8" libm, libpci and libz are not always needed, so don't add them to APP_LDLIBS just because libc is selected. In case they will be needed by someone, they should be added via a dedicated CONFIG option. Note that none of the currently supported Xen stubdoms is using them. Signed-off-by: Juergen Gross Reviewed-by: Samuel Thibault --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index a64913a..7510d5d 100644 --- a/Makefile +++ b/Makefile @@ -164,9 +164,6 @@ ifeq ($(CONFIG_LIBXENMANAGE),y) APP_LDLIBS +=3D -L$(MANAGE_PATH) -whole-archive -lxenmanage -no-whole-arch= ive LIBS +=3D $(MANAGE_PATH)/libxenmanage.a endif -APP_LDLIBS +=3D -lpci -APP_LDLIBS +=3D -lz -APP_LDLIBS +=3D -lm LDLIBS +=3D -lc endif =20 --=20 2.55.0