From patchwork Mon Apr 30 09:09:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 10371221 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1F12F6032A for ; Mon, 30 Apr 2018 09:18:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F3B9285B0 for ; Mon, 30 Apr 2018 09:18:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03723285F5; Mon, 30 Apr 2018 09:18:10 +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.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 470AD285B0 for ; Mon, 30 Apr 2018 09:18:09 +0000 (UTC) Received: from localhost ([::1]:58549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fD4wi-0003IA-Ae for patchwork-qemu-devel@patchwork.kernel.org; Mon, 30 Apr 2018 05:18:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fD4q5-0006Ji-6b for qemu-devel@nongnu.org; Mon, 30 Apr 2018 05:11:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fD4q2-0006AZ-A4 for qemu-devel@nongnu.org; Mon, 30 Apr 2018 05:11:17 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:48573) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fD4pz-00065d-6R; Mon, 30 Apr 2018 05:11:11 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0Lto5V-1eCTjZ1V5x-011Bxx; Mon, 30 Apr 2018 11:10:48 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Mon, 30 Apr 2018 11:09:56 +0200 Message-Id: <20180430091037.13878-2-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180430091037.13878-1-laurent@vivier.eu> References: <20180430091037.13878-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:msuxqVI1PnTRjwTLjeI+Wkn5AxGqWWPfPbOEURDk5x5Gu5BE7JC mcM58Ijcwe9nv09JXxAxKHrwowduwEGPbMczIKMyVMLjdbHniGl4jrPMHNzjOTVYiv3o2C2 Jr31KVyH8Fc/HwI1nm9jm+QpTbibEihlWvHKnSsJDxEPAXebaRD19oR9b1VCg0hAgMev3q+ RlSejs19Y0uVCfbGFXxcQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:ekj++4M3/M4=:Taa7beT3SbCM6QmwlVRtjw hesZnkK7KzYAKIfxP4ykQu1ieqM5possVw08Kr21eYCwE6+eWIJoPWe7Z3fgjXkrM+Az384mS 4fxkvzOrR+K/O+I9DHo2C1TEHW8Bj4ZMVqjSUaPIBu8W3pb6Al9JZgFDXbKIGM07syT/xh4fD PDE7cYtCAEGwzZf7/bKcIESEmesrvMChOrLh7+WVqws/6CvK/jM55kVwRZahg+1ptgHvvHDE0 QOSdB/rvsic0CVsIpHKcLp8nniJwN5Ds7S6NOjSYUS23bq6QlP4oXTEs6nqdM6fFZwtHE+QtR At1uslGqiAPTIdPoRpJrXKFTwxn2UBJ53VthTzdY93fyqhHZbcZZI04ZLF3Dp6gAo3Sg4tAey 3RhNy7D1xVlkMsNdTYau7KriYluFrKCRvAdWdNJbP/X7o5vIudwERrxJQ0VTzatWkaTTTo/yx LmsBzPLsH5gPk9iyZk9gJ3CmqBjk4557tyzR4xFkto63f1xxOyimkrpfDxzzs4+7HyRcS8Uwq YGGs+SCJSr/AsMjCR/7YqSmHiTT9T3yIzSOrWSjQDQjpluv5IDah3r4oFlIz5387RugoPaj6V Dsc2g1Iup+qD2ompM0k2K2REb77kS75ely7PkUKfcw8NTJCg6WtM2qnBKx6dJcFn9L9BvVd6U +FI2pVfuuEcwzwKyKsefm77SdSeotxZCOeM/tzybS4h4XZMVS0Cf2DvlhTQQMgEvgKnTmxe3r z9UoQn7X2BVBqYOq X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.10 Subject: [Qemu-devel] [PULL 01/42] linux-user: set minimum uname for RISC-V 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: qemu-s390x@nongnu.org, Riku Voipio , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier , Cornelia Huck Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Alex Bennée As support for RISC-V was only merged into the mainline kernel at 4.15 it is unlikely that glibc will be happy with a reported kernel version of 3.8.0. Indeed when I testing binaries created by the current Debian Sid compiler the tests failed with: FATAL: kernel too old Bump the version to the minimum a RISC-V glibc would expect: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/riscv/configure.ac Signed-off-by: Alex Bennée Reviewed-by: Palmer Dabbelt Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20180425100218.24785-1-alex.bennee@linaro.org> Signed-off-by: Laurent Vivier --- linux-user/riscv/target_syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_syscall.h index d4e109a27f..ee81d8bc88 100644 --- a/linux-user/riscv/target_syscall.h +++ b/linux-user/riscv/target_syscall.h @@ -45,7 +45,7 @@ struct target_pt_regs { #else #define UNAME_MACHINE "riscv64" #endif -#define UNAME_MINIMUM_RELEASE "3.8.0" +#define UNAME_MINIMUM_RELEASE "4.15.0" #define TARGET_MINSIGSTKSZ 2048 #define TARGET_MLOCKALL_MCL_CURRENT 1