From nobody Wed Oct 29 06:36:40 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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524650659640422.2156312788958; Wed, 25 Apr 2018 03:04:19 -0700 (PDT) Received: from localhost ([::1]:35522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBHHe-0000gO-Jn for importer@patchew.org; Wed, 25 Apr 2018 06:04:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBHG6-00005a-FI for qemu-devel@nongnu.org; Wed, 25 Apr 2018 06:02:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBHG3-0007jK-Rg for qemu-devel@nongnu.org; Wed, 25 Apr 2018 06:02:42 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:37567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBHG3-0007iz-K7 for qemu-devel@nongnu.org; Wed, 25 Apr 2018 06:02:39 -0400 Received: by mail-wr0-x243.google.com with SMTP id c14-v6so12589390wrd.4 for ; Wed, 25 Apr 2018 03:02:39 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u35-v6sm24723276wrc.29.2018.04.25.03.02.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 03:02:37 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E0F383E009E; Wed, 25 Apr 2018 11:02:36 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QfI+9MtitpD4qA7MQAJZJt2IEDAxZIUOe/St5pfpFIk=; b=cWYj8yNcGEknRk087CwA3imvTjw/+hmPCLB6fE/mdCU9nO/kQAO/vQaeW6MF8IoTty S86SmvsYFGeuhl87oRT6cs9GJCT04KYeR5LPRs72TeH++jgqW7VkxJz0FGomrciEeLEr GR+UvTxQ1/4WVN/Vj4Acj/VrnT0rbrjwHkgAE= 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:mime-version :content-transfer-encoding; bh=QfI+9MtitpD4qA7MQAJZJt2IEDAxZIUOe/St5pfpFIk=; b=a20VfGgb6KLHIIJWBxip1TgRiUS7+vspqjVuPVh4PKYG3WlrdazWD6Y5czvIYwXPJw eJaBffKDsMpgWtThi+sckhdUOSft7nOBgkzEOzcr7fp1JBamlwThRyjnKh9eWlq9YMjT RlJ1omNgc31wc/RPp18H5SSna06qIngaHIF7xUI3SkREpL7Qw7h3A+8djdaIq89WAe+W XQtHFuFhKmo/xXHIKZstdTefHBwJOSyqe/vWqH0Wl7wm9xfnyI6gMFQCirfKLUPnN8m/ p+9/XosFr8I4JP4QrgTWsmgzVeTJrp18CW8y4llyWkJUKV6bVmqy0QqT623BjtxdnRzX dj4Q== X-Gm-Message-State: ALQs6tBaBGj8KfXpQKY3pViudt7JpSduhdBHz0uaGzga6zyNklaqKcHD tMkG1dufUGqHaO8dvp5VkqtTtg== X-Google-Smtp-Source: AIpwx4+DBggQWAwIJsUi/louKco9rOP87qoB5BqGNxBo4tGfavfqwrYPJ0MYBXcMyuOe0rzVmkMbBA== X-Received: by 2002:adf:86ed:: with SMTP id 42-v6mr24237060wry.158.1524650558157; Wed, 25 Apr 2018 03:02:38 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 25 Apr 2018 11:02:18 +0100 Message-Id: <20180425100218.24785-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 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: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PATCH v2] 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: Riku Voipio , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier 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 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=3Dglibc.git;a=3Dblob;f=3Dsysdeps/unix/sysv/= linux/riscv/configure.ac Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Palmer Dabbelt Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- v2 - minor tweak to wording to make clearer and add link to glibc config --- 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_sy= scall.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" =20 #define TARGET_MINSIGSTKSZ 2048 #define TARGET_MLOCKALL_MCL_CURRENT 1 --=20 2.17.0