From nobody Wed Feb 11 02:08:54 2026 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=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1666897524; cv=none; d=zohomail.com; s=zohoarc; b=GbpFUUp82Khij8OBNRO3VRiHfrRglJUP5JHupiA3DN0HmU6rM37z7/h35LDEq3JQZlOjiY55VvPjo2wG0nUpgsC/VO4bS6H1s+fTQ8T0dYj4l0FkTEF0eTOZqBbs0CkI++5J5QB2vwfCTANBIDl+KSTWXLkz8hzniaOfchK5Blg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1666897524; h=Content-Type:Content-Transfer-Encoding:Cc: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=aiqxcURpWemXtfy2ejkjSFGPBju8Q9jPUI6+wXEAfhU=; b=lqFei2HI35JVnZsAXdl87LnfNDFuiNd/hBFycgVarZ8DDYmmmk+4cDXXnCnqVQ+wiON/tJnIqT0I6ifZ1fGTKNQPWGdMnb2Y4pUD+kYhX9iw4U8JgIkqJLd+yRrTE69+SZmK3AeYv4uL+VaSSbJGuwijC/aWVjqOQbEBGU4Oyxs= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTP id 1666897524150557.9766332129699; Thu, 27 Oct 2022 12:05:24 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo7tI-0005lK-Bj; Thu, 27 Oct 2022 14:46:08 -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 1oo7sI-0005UN-B4 for qemu-devel@nongnu.org; Thu, 27 Oct 2022 14:45:07 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo7sC-0004lG-Mn for qemu-devel@nongnu.org; Thu, 27 Oct 2022 14:45:05 -0400 Received: by mail-wm1-x333.google.com with SMTP id jb18so1580064wmb.4 for ; Thu, 27 Oct 2022 11:44:59 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id c12-20020a05600c0a4c00b003c83465ccbfsm5531994wmq.35.2022.10.27.11.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 11:44:54 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D530C1FFD1; Thu, 27 Oct 2022 19:36:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aiqxcURpWemXtfy2ejkjSFGPBju8Q9jPUI6+wXEAfhU=; b=xOisjE0I5JXGfjzH+yHuCBWRy1dbvPNbjs/vCMACJjuOjUohO/KWe23dxYSQKZFTMY gKYWcsRyehIaOUDdYerAx98i7CBhcetgAePD+uGmhECJlJoSE7Hr83uiwhBsx65NBMSq FA9cIV5IgirFSYQN+dtzrLKqZDhE43gA48GC02EHIgTgPr6usZ286KjNSLPJvkUAt1mk Q2NBcVLviBcy3qIhbCtb1NDrkV1WJ3UfDlSuWfF3YnaIX7n7beJkE/pg++WOjYLwnpTT S2a2U0VbihfvOI+FZc08nca0Guth2bfFuimDaOsd8mRWapeXNDOkevXXXSOr5bFYDI/v 18pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=aiqxcURpWemXtfy2ejkjSFGPBju8Q9jPUI6+wXEAfhU=; b=aJhPyfYF/5J/UclKeZGy3u4daZBSMvnnnv+STlprD/c6DIyYM7kZMDmSvQ6B6EG9j2 nLMYfHsvdFGUMJCTXljzocmm0kmBp8XNH8xb1SjSq/zsGW5dhf4kZtVEckuY9cdyOYsr Osn298iDNencOoiZEfiII6n+wlmHwewayVvLw8oL7JKiJyWlP7KTi9VQfaS3fqJI8YcD RJYe+45XiLdJG6vIbS6BZ02721nogPfrpoQt0v2YqroR7E6wBJ0NxMylZIvPenn9h1g1 d9V5GedIhoiBPVp4aeGVwgDUgcqcHub0Fn6o13KkJXApc4nHrZL1t9HuNVkcn+qRVuMY RUdg== X-Gm-Message-State: ACrzQf3PrPIMiV3DGJ+wqpSo0RfXTm853CgxAJ/RWtqAoQeKmy3NGOTP P4eiSYihLkUXPJzCh4ewJ9FByG9nCRQ6DA== X-Google-Smtp-Source: AMsMyM5+YtAYpvwlT+TgCU5EV1IymM2W1egvaq5lavxRVCUZzyqLJydYez+WkU3atts3EVs7gn7vMw== X-Received: by 2002:a05:600c:4e11:b0:3cf:452a:2bcf with SMTP id b17-20020a05600c4e1100b003cf452a2bcfmr6867487wmq.108.1666896298555; Thu, 27 Oct 2022 11:44:58 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Alexandre Iooss , Mahmoud Mandour Subject: [PATCH v4 27/30] contrib/plugins: enable debug on CONFIG_DEBUG_TCG Date: Thu, 27 Oct 2022 19:36:33 +0100 Message-Id: <20221027183637.2772968-28-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221027183637.2772968-1-alex.bennee@linaro.org> References: <20221027183637.2772968-1-alex.bennee@linaro.org> 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=2a00:1450:4864:20::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.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: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1666897526547100003 We used to rely on QEMU_CFLAGS to expose the debug flags but now this is synthesised by meson and only available to the main build. Add our own flags if we detect the build has been enabled with CONFIG_DEBUG_TCG (which is the default for --enable-debug anyway). Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Cc: Paolo Bonzini --- contrib/plugins/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile index df3499f4f2..23e0396687 100644 --- a/contrib/plugins/Makefile +++ b/contrib/plugins/Makefile @@ -29,6 +29,7 @@ SONAMES :=3D $(addsuffix .so,$(addprefix lib,$(NAMES))) CFLAGS =3D $(GLIB_CFLAGS) CFLAGS +=3D -fPIC -Wall $(filter -W%, $(QEMU_CFLAGS)) CFLAGS +=3D $(if $(findstring no-psabi,$(QEMU_CFLAGS)),-Wpsabi) +CFLAGS +=3D $(if $(CONFIG_DEBUG_TCG), -ggdb -O0) CFLAGS +=3D -I$(SRC_PATH)/include/qemu =20 all: $(SONAMES) --=20 2.34.1