From patchwork Fri Mar 14 10:23:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 873432 Delivered-To: patch@linaro.org Received: by 2002:a5d:4308:0:b0:38f:210b:807b with SMTP id h8csp623819wrq; Fri, 14 Mar 2025 03:23:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWPKGm/VfihluIVimDcpHhQm+AmmAv+vB49OxwOE2JcNZR2E7238cKKhQfzegkcJakM23ZFfg==@linaro.org X-Google-Smtp-Source: AGHT+IGyB3FrQNoP0xs0zxJ4gEOhh9fm7HyuwABOnX2PNq5l43vJz4NBPk3UBk7L+kThmj78ywoi X-Received: by 2002:a05:6214:412:b0:6e8:f4e2:26ef with SMTP id 6a1803df08f44-6eaeaae34fcmr27545306d6.31.1741947836974; Fri, 14 Mar 2025 03:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1741947836; cv=none; d=google.com; s=arc-20240605; b=cR/IHEkw64pYjeKPjAA5ZQDiWWEB2QaQvceTem6KBm5LIL+VWm8M7BumRRcFP6G0l9 KBO8cfDiwXkxl7RaduIGZOaDJsOlKtJD7U2cQp2fDPXrg4jRypYRHzQslox+IxmSXRkr ER0cf+E1gm8ReeI3tYB1DLD/zOJ5b4w2tCw6y2OanSBtuuAc8MT9SNnsEj9icZpp82kM +SWd9SiH0B4qA2A7vcAVAk4Sqk0xf4MruzFS+WHrMZ9ruKgwXXyhSZ+LJwxTMC/PiXOg fpREL0n4pwvrBsVM/Panqxn5dfoth5uM7EuuwaqDk970QwjWy+Q5OFcJyhwbIZNDrEt1 IJHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=DMcvt7EpRcI2s9UrvwL2kMVfzGjB4NRcTQ9ZyhSq6JU=; fh=DlonXWw+BPCbj6WesF1+P0A56hviXtAspgj7tvtK3G8=; b=HshLX3isdDcw0Ur/eguzrPIs8rjGYN7D7g7SuKR3Psnjgm3DrzqHkpoCPSeDDcGVMK vXuLX+xmifYi+wIJUFqshzM3gEBNBg8RTv44Wa0TjMIm/KqwFWKgfkJ8shZx6Rw1Mjsn 2nKcCWBHL8bePuhnJQBBBJ3Sk85q+aiH0K8Sk48lnwghRD3KEYCRqw1DH4R8ybQbWYtt qAzu5y2g+QR5iaqtPDhBNVrViEV8HcbyuPsnX/Un0Xbbj1jqy9Aq233SwH9scenH5liY XZaju3JWy60ykxfg9vKCuegurLJGR2VpwJl/i2gKcaYSckl/tvjSLX2/XoaSRVR5M4g1 92Yw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=is5dh1YE; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6eade33ca87si35492036d6.265.2025.03.14.03.23.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Mar 2025 03:23:56 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=is5dh1YE; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tt2CL-0002Ko-LL; Fri, 14 Mar 2025 06:23:25 -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 1tt2CH-0002KB-BL for qemu-devel@nongnu.org; Fri, 14 Mar 2025 06:23:22 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tt2CB-0004X1-LU for qemu-devel@nongnu.org; Fri, 14 Mar 2025 06:23:19 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-391342fc148so1255961f8f.2 for ; Fri, 14 Mar 2025 03:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741947791; x=1742552591; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DMcvt7EpRcI2s9UrvwL2kMVfzGjB4NRcTQ9ZyhSq6JU=; b=is5dh1YEIY6DKm2WAwECcSVVTHfKWDcHxnoiuW5xCuJeS/MtuU7IUHpqouY52dL9li ++smWJuGLuzFw8NoWXlxhqA2sBDHgCCyAa+7Lw0WtIRMhtKxUW/9/T3tvA5BVEn/zk9a 2IM4nJr340mDcahpxhkz2xgR6Vro1bfT8DTlccqW73AcsDtk34Y2jaiGL+hh8egUC65e 3wEuqX9kJRJMSrH8vLAnmPWl2IdJq3g4y2opQ+Ge1lZqu1dYI9qgXsHIsKI9XBvs+tWj pXFi3RgyADckOYB/YlOMzPvKmvsb8I9vHg8LxkUYVwdc0ueDJ7kTi4h4kS6MEYffkLUC qETA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741947791; x=1742552591; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DMcvt7EpRcI2s9UrvwL2kMVfzGjB4NRcTQ9ZyhSq6JU=; b=IuWCPJZt3PGsA1SHQPvWpkZvkOz/N1beqDPyhSzAnmIlZ00JAZn5fTkJ7MLICUy9yq U6CZWZ//HmHIy8JStkUIxtUIGTfB0SAEhvWV/HH7W9GNkLa94wPQPNUkDb8BGb5v/sA1 jcbYUfOo4YA1NGx/LkWCaA4+icz59lUKA68q50Qo/yJDWi5+9IKS6heVCLrVKXBdRhJv XdMKKlI3agvX9pL73kXqbXZtuydn03ZBYsDSWo4ZYC94MN2dPRsw+rHkuNaIBua2xPDX NUuIaUDqHGMeHLlpqqpvhPgMltcHBmhey6RzG09yxRJ4zp2dFq3ox49fh68jxsa2HGMV IeBg== X-Gm-Message-State: AOJu0Yzuk8KkIDpoCS3H94XdWwuUUTgkS9GV3i2r6i0rd3qigS8OnEg0 ybo36o+p6PCWsbJ6/q/2rZ9b6kWjauN5N7nyyVV4/NICR91yEMZLkkl0n6m0zKA= X-Gm-Gg: ASbGnctJAZhy9ANQyaUDAc1ZsBcLftBOKm/NHU7VMXde17wcp+zFERb5Ofp8p6eZsD8 JZabo7rnAmeCuRLzn0jeC4U4bRtrDfifWyDS8Sq/Q8SS+ktzLPUM7YxuF0a0yzX/8Jq37v0Vjnt P3QBWgKQSbl3BtLKMLQd1SHoAdgNg7AkIC1Gd4usy9MGh+M8xeeuvmBX5UGmKqsIwnWMaPosjPQ 4sozJoOVWLvUlEJuJDCMWzXmfJQO5jbnm6v4t5VwCVn0aJ80sRf95X/rsgBTaTI/eVWT/C6Ayuj Vgq7mL5ZWdSiNC7jfThWAjMndyaKkIaO3RFXy1V145768sg= X-Received: by 2002:a5d:64a4:0:b0:391:4999:776c with SMTP id ffacd0b85a97d-3971ee444d6mr2864526f8f.40.1741947791176; Fri, 14 Mar 2025 03:23:11 -0700 (PDT) Received: from draig.lan ([185.126.160.109]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395cb318a12sm5072038f8f.75.2025.03.14.03.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Mar 2025 03:23:10 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id DF0DC5F92C; Fri, 14 Mar 2025 10:23:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Konstantin Kostiuk , Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= Subject: [RFC PATCH] meson.build: don't bother with split-debug for windows Date: Fri, 14 Mar 2025 10:23:07 +0000 Message-Id: <20250314102307.2806696-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org It was reported this breaks the final artefacts on windows when run under Wine. Signed-off-by: Alex Bennée Cc: Konstantin Kostiuk Tested-by: Konstantin Kostiuk Reviewed-by: Konstantin Kostiuk --- meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index c2c71b6f8a..9b1af6d030 100644 --- a/meson.build +++ b/meson.build @@ -601,8 +601,10 @@ if get_option('tsan') qemu_ldflags = ['-fsanitize=thread'] + qemu_ldflags endif -if get_option('debug') and get_option('split_debug') - qemu_cflags += '-gsplit-dwarf' +if host_os != 'windows' + if get_option('debug') and get_option('split_debug') + qemu_cflags += '-gsplit-dwarf' + endif endif # Detect support for PT_GNU_RELRO + DT_BIND_NOW.