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: 134698 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3531266lji; Mon, 30 Apr 2018 02:18:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo6l72s9Wx3ZIy33Ovu8tfSolHFZDMmMYrcIuon3wOwNf6nNK+aqqnQvBbMBg5bYPmFfhdU X-Received: by 2002:a0c:ad07:: with SMTP id u7-v6mr10628043qvc.160.1525079915760; Mon, 30 Apr 2018 02:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525079915; cv=none; d=google.com; s=arc-20160816; b=q2J+7zJeu5TQFlGexMIlJLq8vPPEv4zn6miGguo4UEfg0Djw+L0Eck/2Yfs64Y7AR1 3XAZicFFf0y4BU35ZTiWo78+2ts9SLXjQdwDBFzvqSOvW88t7g3WD5wwwrfZ3aK9vRAv xaQxWL//XBiovkQouYig9oGzCsj/rKWiHmyy5rGsg3iqxTb3BxkygYtuSUQloCJi6Snh 7O1IwGH5OomSWl541ujK7Cm6s0JTJ6pAtwoqNm57zZXxIGcSZBxODbKPEyBhmzsAlGu6 Fvd/ekEwI9BJX6zslXCK1sThgyGt2cgk+ZcwEFWtsUeVZW3dkrpN9dmd1SRriCJ6fE2k GJLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:arc-authentication-results; bh=YSw97K15FyPROPYB6eP2/ZmsZp+c34RzcH/xfwND3tc=; b=CajiYaXm4mipAE48vXf0oTVZX9Mh+um2Gpksrn1UUYNpAflccOUpj95XiBR6QUp3xe vW6NWV28UnKw8GhI6FjXThusHIv4Lq3pE3cp9AB2K8h51u47TPw4/0EULkgTtOICaMHD lTyqcLy1axdoyJGRO4FRD5XpJSCbPCG81vPZYFlxKG7Z8S6qaOj0KRr8vsqGsqnOGUJh dIN/ufm6loSORB0PBpnB6VAQ31IptXkRJp7EX1cewesFwBMmp4cSyKDkF98JdkBqUfPH 1tqZ3bHlYyY5VDn3H+bNcQCRu5Og3HTtd5uEc6kmTZFxgGHtz6xGllBZ0mWbnFF/4fUw 9h5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 124si1058658qkf.342.2018.04.30.02.18.35 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 30 Apr 2018 02:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:58549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fD4x9-0003IA-6s for patch@linaro.org; Mon, 30 Apr 2018 05:18:35 -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?Ale?= =?utf-8?b?eCBCZW5uw6ll?= , Laurent Vivier , Cornelia Huck Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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(-) -- 2.14.3 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