From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Iki-00025x-06 for qemu-devel@nongnu.org; Mon, 21 Jul 2014 14:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9Ikc-0003ku-00 for qemu-devel@nongnu.org; Mon, 21 Jul 2014 14:55:59 -0400 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:52694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Ikb-0003kh-OB for qemu-devel@nongnu.org; Mon, 21 Jul 2014 14:55:53 -0400 Received: by mail-pa0-f48.google.com with SMTP id et14so10254771pad.7 for ; Mon, 21 Jul 2014 11:55:51 -0700 (PDT) Sender: Richard Henderson Message-ID: <53CD622E.1060905@twiddle.net> Date: Mon, 21 Jul 2014 08:55:42 -1000 From: Richard Henderson MIME-Version: 1.0 References: <20140718203004.20624.43575.malonedeb@wampee.canonical.com> <20140718203004.20624.43575.malonedeb@wampee.canonical.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1344320] [NEW] qemu-aarch64 cannot execute glibc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Bug 1344320 <1344320@bugs.launchpad.net> Cc: QEMU Developers On 07/19/2014 12:54 AM, Peter Maydell wrote: > On 18 July 2014 21:30, Andreas Schwab wrote: >> qemu: uncaught target signal 4 (Illegal instruction) - core dumped >> Illegal instruction >> $ objdump -d /daten/build/build-root/home/abuild/rpmbuild/BUILD/glibc-2.19.90/cc-base/elf/ld-linux-aarch64.so.1 | grep ' 4828:' >> 4828: d53be040 mrs x0, cntvct_el0 > > That's awkward, it looks like glibc has started reading the > generic timer from userspace, and our implementation is > #ifndef CONFIG_USER_ONLY. > > Do we have any current implementations of timers/counters > used by linux-user? Yes, several. We pass through to cpu_get_real_ticks. r~