From patchwork Wed Mar 22 14:29:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 665895 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d08:0:0:0:0:0 with SMTP id z8csp183260wrt; Wed, 22 Mar 2023 07:29:26 -0700 (PDT) X-Google-Smtp-Source: AK7set8UkBgrUOHmi8+6O8wQ9ooE5XkJjd5JmFh42ZteoWvLVNC2RsBWIZBBYVshJuK3WE0oufz2 X-Received: by 2002:a05:622a:b:b0:3bf:d950:efc4 with SMTP id x11-20020a05622a000b00b003bfd950efc4mr6237813qtw.26.1679495365754; Wed, 22 Mar 2023 07:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679495365; cv=none; d=google.com; s=arc-20160816; b=ZCQjPueA0AzL8xt79r3Mz0bOnXFooN0yV4YMnNti6RNfwHo41v3298oUVPDwV3QNCg VToql8CHIv7C5qbGMcl0BDqsOgZX6tmaIomsnW0WRPOh83wOEAgefDLHu6Nk/wVFu6Jw oq4LPGND8blStqT+HH6zMJrwQcGSaak5o1y3+IT5u9GkWCwebgkzBxtr4VYmnVK5rPAN m0NR1rxEKxPYo4GjvREUq/eJVulajUb2llP4xMcukBeUOoEJWY/wTi/YyJbCDAJ8aN6Z +A7HndFG8zMTFc0C8JnLCbVC92bIF+c5UlhvI4g6XKXYLUUW0SWj99IznA8pbHn4ooB9 X2Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=hXmwYHo1gPcSAkkXS7unYoWJnodWmu733MTvi8aYqgI=; b=P7RuLyjuaokKItOnTgKUU8Lx4LcofJegDwXG2IPMXoVfaowKvI3XHc/8TwEtY3pYd/ JY7HFURNOjlW7hOd8XkAMst0r0J0+KIZxdqHno8eWVWADsXcplcedIMsGH86nyOX5hov pwTeCB2V5TpTinuwbc4EDKfXA4DRF7qMPXwMjCw1zkbh0r41zP2eMmZbAsEjc6Y5o9c6 Vtz4wrRJxBDAHpNIZL6WDiPiS1fPSZVoeq0KhTpJPa4k042bpPTXa8OeMmf4it5KOSRg Ioa12epkFrddW9PPlW0i2TNsVW+lAQQfgWsyp86v7Z1QqdrpW+D9WsApmDlGRj6Bwla0 64zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gOxAYGDz; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t123-20020ae9df81000000b00745ea737248si9649457qkf.159.2023.03.22.07.29.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Mar 2023 07:29:25 -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=gOxAYGDz; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pezSg-0003sW-Hf; Wed, 22 Mar 2023 10:29:10 -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 1pezSe-0003mR-BZ for qemu-devel@nongnu.org; Wed, 22 Mar 2023 10:29:08 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pezSc-0001x8-LV for qemu-devel@nongnu.org; Wed, 22 Mar 2023 10:29:08 -0400 Received: by mail-wr1-x430.google.com with SMTP id r29so17263815wra.13 for ; Wed, 22 Mar 2023 07:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679495345; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hXmwYHo1gPcSAkkXS7unYoWJnodWmu733MTvi8aYqgI=; b=gOxAYGDzG/q+RX5JCf979qb+uyEflliQe9IsFbNOfoO7t47af8yVeIWlHkM9hE2UDH 5ADvUJJxiDEnE+pcA6S5Yg5pyHvzche1Fyb+zlJVJhjOHxAy5POnlZF90LLm4bG1d/Pc g/qSzo0bx3jB/jLWb2JVr6eGt8l2dAkKZH1/2NxQrmmI8fUqItmWlBjMmq0OMWTSq4Y5 oTUEdZf2FFN1ejRGl1WVjQfaDx+878yWSKWrf6rDxoJ/MNUgYSa6ybZGGacFv3oStsj/ fy45Md+meQnhHYCjm+eHL9zKqFGTKZSuc0ftGmpnsamdenR1/iyrgElyhbk5ji3JnFGw aCkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679495345; 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=hXmwYHo1gPcSAkkXS7unYoWJnodWmu733MTvi8aYqgI=; b=SnjtqM/+8q8kZ+iH4VSmUBSWL2QIHDz9buIk2cOEyC0LZnr8B4933l508FbRgebv5y C/dCzjalkBsxpG/uTCqLFgxB9DB1Jw45zDoBZl7XSDtN6d1D4p79xDtMA34sTUkNpSna X68DbqQUTsCJdKC2Gx/moxpyBEN2T3Uuww9Ua60K9NDLcW5g9OQbxhSGs+W93e2mEeYJ ARvuEj5M+h8c727plIdyUEAJtD6JZzpjLjn0fRa6p2Djvo+pTpS4ruPA1U/irDSIyaoH UM+3BCSlIllnkNDEUcTa0DFN9uisVKmaBpbYBry4WuqO8kWuHbmTxiDwKcKwOQfBUAOy o3CQ== X-Gm-Message-State: AAQBX9em5GqaWuPYYHpGIzkEBOORex0Kfnf04qqnZWmSIVBVrgFftX8d KPJEMDJT22VLq5t52N0rI7dg4B4kKmLQTNv0jHJvxg== X-Received: by 2002:a5d:5956:0:b0:2da:f0b5:258a with SMTP id e22-20020a5d5956000000b002daf0b5258amr95282wri.0.1679495344783; Wed, 22 Mar 2023 07:29:04 -0700 (PDT) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id h13-20020a5d430d000000b002d75ef32032sm7020469wrq.68.2023.03.22.07.29.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 22 Mar 2023 07:29:04 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Richard Henderson Cc: Peter Maydell , Fabiano Rosas , Claudio Fontana , qemu-arm@nongnu.org, =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 0/2] target/arm/gdbstub: Fix builds when TCG is disabled Date: Wed, 22 Mar 2023 15:29:00 +0100 Message-Id: <20230322142902.69511-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=philmd@linaro.org; helo=mail-wr1-x430.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=unavailable 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 Fix when building QEMU configured with --disable-tcg: Undefined symbols for architecture arm64: "_arm_v7m_get_sp_ptr", referenced from: _m_sysreg_get in target_arm_gdbstub.c.o "_arm_v7m_mrs_control", referenced from: _arm_gdb_get_m_systemreg in target_arm_gdbstub.c.o "_pauth_ptr_mask", referenced from: _aarch64_gdb_get_pauth_reg in target_arm_gdbstub64.c.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Philippe Mathieu-Daudé (2): target/arm/gdbstub: Restrict aarch64_gdb_get_pauth_reg() to CONFIG_TCG target/arm/gdbstub: Only advertise M-profile features if TCG available target/arm/gdbstub.c | 7 ++++--- target/arm/gdbstub64.c | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-)