From patchwork Mon Jul 23 20:17:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 10541013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 40510112B for ; Mon, 23 Jul 2018 21:10:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E45F284DC for ; Mon, 23 Jul 2018 21:10:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F3B728538; Mon, 23 Jul 2018 21:10:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F2E028538 for ; Mon, 23 Jul 2018 21:10:47 +0000 (UTC) Received: from localhost ([::1]:36659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhi6Q-0006i7-92 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 23 Jul 2018 17:10:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhhK5-0003IX-Fo for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:20:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhhK4-0004zu-Eq for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:20:49 -0400 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]:37279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhhK4-0004zQ-92; Mon, 23 Jul 2018 16:20:48 -0400 Received: by mail-oi0-x241.google.com with SMTP id k81-v6so3479879oib.4; Mon, 23 Jul 2018 13:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wftTN7C1RQmcZIvig4W3x+qttIO4fwbtikiMRlzpnWM=; b=ra9lWKlTbtwGLMdXNeLETsYCLF6mFVCAUeE/lXuVrwlk4dlruvJ4Y4cg6ux9ZiHW1f yW/CuAGMYs75YSXCZQ0r9rPZWsQwmxkUraTt8c2rEs3x3S3vXvUhqGXbxSF5FGkfHq9t PQjlpj3yCOzZ8D0iTtAz28QqtMHwCOxweZ7oBrYLgJWfl/SubGYV13/gXFm5hYhkLrtj 0nKFsYGd7NIny4mY1Sap7mt1ZrqftAwS1Q7uw1S61mo1HY8GvS0TVBSm/Wnzd7rXFXMg SURLWrwPvs66mOB+CrdgWLnbGl0BsNBT9XLK7kIPIaGavUi/jHs31P7ie2TBSF4NP2LG 6ybw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=wftTN7C1RQmcZIvig4W3x+qttIO4fwbtikiMRlzpnWM=; b=Jx0+nAXklbS9tzpjwuHCG9Dw56bntS3BN+G0ZaceUxBS6LiD35BJ6P6ug+JagRf4Kq 3kxe7u2jo4f4rJnsfSAVf2yeKEMmVKRGU7KSDW1+lyBRIzdkkuWVp1ImvvmLlhIpdax6 8eFD7tMmcp31ltdkS+AHHaUzfdLLBQDLE5qz+m9a0dErpcbrE5HNXwww03nYpUz4XtTl 2sIOC+p6RHZsotZy15SxMxCLfuYSIwtttsa8MRuj4psyl0UXOddnwVTShpdQJ6+zCq3+ h1suj/Fivo1CSLNl69LRqUK5FFxtiSW6kGq2gFZQyX5sQbwesontFw2Ua31JPcbKkMam sA3Q== X-Gm-Message-State: AOUpUlG3N6710HeFj2wfDRjkqOflYnh7zxY5oauSURDBTcGQGeE5xaxn L/h8KKiRJuhQN9Ao84VVKCSza/jwu2uLoQ== X-Google-Smtp-Source: AAOMgpegcI9mjRUQrLkcPp4A2bvn4Y5OCpPOw6KshtQEAfUce+kUYjyfpltTcWf+XwYw3bSMGiNMUA== X-Received: by 2002:aca:34d6:: with SMTP id b205-v6mr277868oia.77.1532377247124; Mon, 23 Jul 2018 13:20:47 -0700 (PDT) Received: from localhost (76-251-165-188.lightspeed.austtx.sbcglobal.net. [76.251.165.188]) by smtp.gmail.com with ESMTPSA id v202-v6sm9030607oie.47.2018.07.23.13.20.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 13:20:46 -0700 (PDT) From: Michael Roth To: qemu-devel@nongnu.org Date: Mon, 23 Jul 2018 15:17:11 -0500 Message-Id: <20180723201748.25573-63-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> References: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::241 Subject: [Qemu-devel] [PATCH 62/99] 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: KONRAD Frederic , Michael Clark , qemu-stable@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: qemu-stable@nongnu.org Reviewed-by: Bastian Koppelmann Reviewed-by: Philippe Mathieu-Daudé 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> (cherry picked from commit a666409f0df5dce113a5bd2c4c144a0792f2a4a3) Signed-off-by: Michael Roth --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 44bf1fef04..457684a7e6 100755 --- a/configure +++ b/configure @@ -3734,7 +3734,7 @@ fi fdt_required=no for target in $target_list; do case $target in - aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu) + aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu|riscv*-softmmu) fdt_required=yes ;; esac