From nobody Sat Nov 15 17:48:31 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1748987241; cv=none; d=zohomail.com; s=zohoarc; b=n8XIPs+AK88ec3TH9rhs3ws6n5mj+K6oxheOzoK14sx7IzfXqbbG0aDsph33IbZdJmFIDc/551RWcf7x/MWKys6JkKtqYnnpXb6f3Ze7XdbuAoSwF3W8wof5t8sIfogYp28wLllCHHGQiy9J2Ignu4jdTezE0cSugcnIAQHDRpw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1748987241; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=wF/7AMFohajP7PDXK4wy6zTmbmhbRvXmaQ09K9UIhpc=; b=EW63q5IlAXUZsDISxMGXdYpxlKZkeCQrJsesEx1DPYgBlH2c+7FO3DdxKjCqqXSKifYF4+RfnmtQlLB3n3b+zSIllPOeIf13bMMitfJSXXCYtbJmhP+jEFgXrsN7jcKxFdWfnXvYCuNjQlbYFJJVsxzrSSy1ZfsTya2PxGTnWjo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1748987241288160.20405034644034; Tue, 3 Jun 2025 14:47:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uMZSL-0004x2-3F; Tue, 03 Jun 2025 17:46:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uMZSF-0004vv-V3 for qemu-devel@nongnu.org; Tue, 03 Jun 2025 17:45:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uMZSE-00067O-6i for qemu-devel@nongnu.org; Tue, 03 Jun 2025 17:45:55 -0400 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-373-K-98M1igM_2Ls6B2kGGl7A-1; Tue, 03 Jun 2025 17:45:52 -0400 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-450d6768d4dso32857185e9.2 for ; Tue, 03 Jun 2025 14:45:52 -0700 (PDT) Received: from [192.168.10.48] ([151.49.64.79]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-450d8000d8csm174591435e9.24.2025.06.03.14.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 14:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1748987153; 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; bh=wF/7AMFohajP7PDXK4wy6zTmbmhbRvXmaQ09K9UIhpc=; b=dKQSH3nmjNIo9JCN7vlvyp1fJUpOP3TgdqXh7fAsWgkdkft+MojoCNBCiJ23a/Kg6yAB2H mIolOU4h/km97QG/qQvp3dOY0oOdP0Ty5gza0CDJAYw+tdKaTvqtarL/0hap0EwU/Z1TeI CUjuFhN7H8nyFKedLMY6BJwOReotkWg= X-MC-Unique: K-98M1igM_2Ls6B2kGGl7A-1 X-Mimecast-MFC-AGG-ID: K-98M1igM_2Ls6B2kGGl7A_1748987151 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748987150; x=1749591950; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wF/7AMFohajP7PDXK4wy6zTmbmhbRvXmaQ09K9UIhpc=; b=oIEsC0XtH5clh0yFnbPp+cXciK/Ky0SsCU32fGrC0J4RoQoqI0VR5jgzXebK2KdpZs XX6WMatCKkvOzogaFCs/9T3mnL7wZUDoUKcbFgASRmU9K9shk3WgINn7/kBlqqpAkLdI 8MDmTBlrkYOCHvmRm/JykoA3gTTVsZ5Qpi9NnEWQ4Ei39dJt4M7+Yu0IZMoSTevEYx+x v+3u6/Y7z9dYw/WgPhpqhZ6ULuE4w06OWT8+Sqbpd3UrDR2b2ffqPyzb+HY9QS75DvH3 Je3CepdJZu86SpDIqC+UaLF5wkCmD/PYZEu8qU90EveSMAxQD/Oo6TkIlMFH6PIAZvJw sg6g== X-Gm-Message-State: AOJu0Yz+S+wOuRGqVDI46F/p4lrXRGSbqz+3p0fajVPo0arUmpQzegTQ usmKagZUT1SFW6l6JMTzVh2iObaP5w5HLpim7UEM63JKHSlEXK8CMKHsKkmEG4JAghnibnGHjYE 3aPnW4TVnVn7KHugPTkogjINa/0qYQJ4RlrnyE73M4Xhya78BY9LaMLm6Qeth1C0eSJ4azxDzYY xvcFnL74UHN4ns0UXpfJieKf2qdDZuU52D9P35QpWV X-Gm-Gg: ASbGnct4hM2jzXKxIgpLsD2cExqMy/QGp4d9xZ/p/8k3xINLrI21gre1/WRBBFuWW4u 33/IUNRweNzi8lSrZQZjoLU8GQTjUaFH2CrTs4N97zXvZQoLh9bQCu3MA6rR2XLC8hobPzuq64M Pj5vIDIY/Hn+ODGiSHgQk00MwOi5eE7n5mQgBfeDDW2GsRLlnMvNYxG3idOOUidmntp8RvwlyqO pPVrh1YfbsE5HCjqe1DX8h2+gNH3gPKK0ByVeDQ+7VWA6Hg/msHpjUUbOtIcWtBhsIb4u82xTyl hDlO1Qh61l/yYA== X-Received: by 2002:a05:600c:c87:b0:442:ccfa:18c with SMTP id 5b1f17b1804b1-451f0b482ebmr1954035e9.32.1748987150256; Tue, 03 Jun 2025 14:45:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1dBDZW8QaikG+bX0OEfGehxBWpEufJBLvkClx6rM0UcrW8GuQd5th4yi4crwhqpMGVpMzNQ== X-Received: by 2002:a05:600c:c87:b0:442:ccfa:18c with SMTP id 5b1f17b1804b1-451f0b482ebmr1953885e9.32.1748987149811; Tue, 03 Jun 2025 14:45:49 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Thomas Huth , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PULL 11/16] meson: use config_base_arch for target libraries Date: Tue, 3 Jun 2025 23:45:18 +0200 Message-ID: <20250603214523.131185-12-pbonzini@redhat.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250603214523.131185-1-pbonzini@redhat.com> References: <20250603214523.131185-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.128, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1748987243292116600 From: Pierrick Bouvier Fixed commit introduced common dependencies for target libraries. Alas, it wrongly reused the 'target' variable, which was previously set from another loop. Thus, some dependencies were missing depending on order of target list, as found here [1]. The fix is to use the correct config_base_arch instead. Kudos to Thomas Huth who had this right, before I reimplement it, and introduce this bug. [1] https://lore.kernel.org/qemu-devel/c54469ce-0385-4aea-b345-47711e9e61de= @linaro.org/ Fixes: 4fb54de823e9 (meson: build target libraries with common dependencies) Signed-off-by: Pierrick Bouvier Reviewed-by: Thomas Huth Tested-by: C=C3=A9dric Le Goater Link: https://lore.kernel.org/r/20250602233801.2699961-1-pierrick.bouvier@l= inaro.org Signed-off-by: Paolo Bonzini --- meson.build | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 651bd4f7275..967a10e80b8 100644 --- a/meson.build +++ b/meson.build @@ -4135,13 +4135,12 @@ common_all =3D static_library('common', target_common_arch_libs =3D {} target_common_system_arch_libs =3D {} foreach target_base_arch, config_base_arch : config_base_arch_mak - config_target =3D config_target_mak[target] target_inc =3D [include_directories('target' / target_base_arch)] inc =3D [common_user_inc + target_inc] =20 - target_common =3D common_ss.apply(config_target, strict: false) - target_system =3D system_ss.apply(config_target, strict: false) - target_user =3D user_ss.apply(config_target, strict: false) + target_common =3D common_ss.apply(config_base_arch, strict: false) + target_system =3D system_ss.apply(config_base_arch, strict: false) + target_user =3D user_ss.apply(config_base_arch, strict: false) common_deps =3D [] system_deps =3D [] user_deps =3D [] --=20 2.49.0