Received: from eggs.gnu.org ([208.118.235.92]:55046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UX4Eb-0007AJ-Pp for qemu-devel@nongnu.org; Tue, 30 Apr 2013 02:40:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UX4EY-00052X-QT for qemu-devel@nongnu.org; Tue, 30 Apr 2013 02:40:17 -0400 Received: from mail-da0-x232.google.com ([2607:f8b0:400e:c00::232]:45422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UX4EY-00052R-Ik for qemu-devel@nongnu.org; Tue, 30 Apr 2013 02:40:14 -0400 Received: by mail-da0-f50.google.com with SMTP id a4so106151dad.23 for ; Mon, 29 Apr 2013 23:40:13 -0700 (PDT) From: John Rigby Date: Tue, 30 Apr 2013 00:39:25 -0600 Message-Id: <1367303965-9914-1-git-send-email-john.rigby@linaro.org> Subject: [Qemu-devel] [PATCH v2 12/12] linux-user: AArch64 requires at least 3.8.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Peter Maydell , John Rigby , Alexander Graf , Riku Voipio From: Alexander Graf Glibc 1.17 checks for the host kernel version on startup. Unfortunately, it also checks whether the host kernel version is recent enough for the target to run at all. Since AArch64 support only got introduced in 3.8.0, that means that glibc refuses to run on any older kernel version than that. To allow for execution of linux-user guests even on older host kernels, let's always fake the kernel version to 3.8.0 on AArch64 guests. Do this by forcing CONFIG_UNAME_RELEASE=3.8.0 in config_target_mak for aarch64. Signed-off-by: Alexander Graf Signed-off-by: John Rigby --- Changes in v2: - Moved from 7/12 to 12/12 because it now changes configure which only gets aarch64 added in 11/12 configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 87ed42d..8aa9526 100755 --- a/configure +++ b/configure @@ -4192,6 +4192,7 @@ case "$target_arch2" in target_nptl="yes" gdb_xml_files="aarch64-core.xml aarch64-fpu.xml" target_long_alignment=8 + echo "CONFIG_UNAME_RELEASE=\"3.8.0\"" >> $config_target_mak ;; cris) target_nptl="yes" -- 1.7.9.5