From nobody Thu Oct 30 15:20:10 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 152581026866976.73781373475413; Tue, 8 May 2018 13:11:08 -0700 (PDT) Received: from localhost ([::1]:53177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG8wy-0005QX-Sq for importer@patchew.org; Tue, 08 May 2018 16:11:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG8vK-0003tv-2u for qemu-devel@nongnu.org; Tue, 08 May 2018 16:09:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fG8vJ-0004z8-1n for qemu-devel@nongnu.org; Tue, 08 May 2018 16:09:22 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:38035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fG8vI-0004z0-QM for qemu-devel@nongnu.org; Tue, 08 May 2018 16:09:20 -0400 Received: by mail-pf0-x243.google.com with SMTP id o76so24474681pfi.5 for ; Tue, 08 May 2018 13:09:20 -0700 (PDT) Received: from localhost.localdomain (122-58-167-38-fibre.bb.spark.co.nz. [122.58.167.38]) by smtp.gmail.com with ESMTPSA id g16-v6sm205171pgn.51.2018.05.08.13.09.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 May 2018 13:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d8vGgQ2oEwhhaiNtir+Jqb/btuYqdp9h0m8TRKn8Kfw=; b=fQEYNRPywfIprp+xOQKnwzu8MZIeCeiRt5XBInEzlb0NpeJrIhFjKQ5egUw6Ts52/J /p5HGByKyYKVGsf5KYkFWAZ/IxmqSRgu8qz3bMANgKB4OrjeZQCxaXJhXUz+b5YXJSSA 1L54iPhbtHwZV3EsdWLelqyDCmPtXS5eoudOAdbH6RtW31crnWL022WRS6vRNIEhUaXu fZscYtPZFx6gcLkDl5GdJEpi5DFvcgH0QefaH07XT4xwThVDFA1RBBxogXubT38/jjvJ 9cfo6wEnAKTnOVSpqnB+k3A7QtxMiaGxp7M94G5ANSNFKYZBccaBL968uDaoyxYG0sl+ du7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d8vGgQ2oEwhhaiNtir+Jqb/btuYqdp9h0m8TRKn8Kfw=; b=Hap1Lfl9HXbFF/86MT3vEBB+DC0Q7IabjaAWdqjm/OiOsJS8SACtCymlaKB0YQoaSM P6ho13i/pRdJjJ/x9B2oVrxrQWhfc2pZXWw8XhLl2cOdMHLAkRD7A089TRyFxrvVXqeV 5sUMnpO+UvlGJiX0taYlgCch3Ut0ymtlIyg7EBpPk0Ka1lF18p8oUP3mJoUcE52Q5VBv +BxaoQacl17H2xchjyEeIA4n79gd6IDWm+rGPasMLtgUH6L8obnKFOLBXvuphOfgpXvc O5QQsdMYpe3CdSIx+Qpbi9Lo9Bp8vrThyKvnzpVEyQb71N9LQm6g4meAeQ6nRCM8kbi8 sz3Q== X-Gm-Message-State: ALQs6tBKXbyHOjOQNlBLd3bYhCCzx1ZlEbofblUfLMiGkJkLr1wARLn9 SuVYnK4Ld86cyiB9m1tunW3XxeHWH8c= X-Google-Smtp-Source: AB8JxZpNCC84m0zS+9mQF8yB0LONx0GgbeypkN01oQFaWMVt8v9vFOzR0XwdO1VSHek4wozClToa7g== X-Received: by 2002:a63:b908:: with SMTP id z8-v6mr33714683pge.436.1525810159785; Tue, 08 May 2018 13:09:19 -0700 (PDT) From: Michael Clark To: qemu-devel@nongnu.org Date: Wed, 9 May 2018 08:07:40 +1200 Message-Id: <1525810060-36690-4-git-send-email-mjc@sifive.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1525810060-36690-1-git-send-email-mjc@sifive.com> References: <1525810060-36690-1-git-send-email-mjc@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PULL 3/3] riscv: requires libfdt X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: patches@groups.riscv.org, KONRAD Frederic , Michael Clark Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 From: KONRAD Frederic When compiling on a machine without libfdt installed the configure script should try to get libfdt from the git or should die because otherwise CONFIG_LIBFDT is not set and the build process end in an error in the link phase.. eg: hw/riscv/virt.o: In function `riscv_virt_board_init': qemu/src/hw/riscv/virt.c:317: undefined reference to `qemu_fdt_setprop_cell' qemu/src/hw/riscv/virt.c:319: undefined reference to `qemu_fdt_setprop_cell' qemu/src/hw/riscv/virt.c:345: undefined reference to `qemu_fdt_dumpdtb' collect2: error: ld returned 1 exit status make[1]: *** [qemu-system-riscv64] Error 1 make: *** [subdir-riscv64-softmmu] Error 2 Reviewed-by: Bastian Koppelmann Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Michael Clark Signed-off-by: KONRAD Frederic Signed-off-by: Michael Clark Message-Id: <1525360636-18229-4-git-send-email-frederic.konrad@adacore.com> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 1443422e83f1..479e9a787e6e 100755 --- a/configure +++ b/configure @@ -3761,7 +3761,7 @@ fi fdt_required=3Dno for target in $target_list; do case $target in - aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64e= l-softmmu) + aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64e= l-softmmu|riscv*-softmmu) fdt_required=3Dyes ;; esac --=20 2.7.0