From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9KL9-0004vY-15 for qemu-devel@nongnu.org; Mon, 21 Jul 2014 16:37:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9KL3-0002TI-0m for qemu-devel@nongnu.org; Mon, 21 Jul 2014 16:37:42 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:38987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9KL2-0002T0-R4 for qemu-devel@nongnu.org; Mon, 21 Jul 2014 16:37:36 -0400 Received: by mail-la0-f42.google.com with SMTP id pv20so4723415lab.1 for ; Mon, 21 Jul 2014 13:37:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <53CD6368.8050806@twiddle.net> References: <20140718203004.20624.43575.malonedeb@wampee.canonical.com> <20140721104628.8786.41123.malone@soybean.canonical.com> <53CD6368.8050806@twiddle.net> From: Peter Maydell Date: Mon, 21 Jul 2014 21:37:15 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [Bug 1344320] Re: qemu-aarch64 cannot execute glibc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Bug 1344320 <1344320@bugs.launchpad.net>, QEMU Developers On 21 July 2014 20:00, Richard Henderson wrote: > On 07/21/2014 12:46 AM, Peter Maydell wrote: >> Q: is this in a released glibc? The generic timers are strictly speaking >> optional, so this seems kind of bogus. Also looking at the glibc sources >> it never reads the counter frequency so what it is hoping to do with the >> timer values I have no idea. >> > > It's trying to measure clock cycles required to perform the startup > relocations. That's a neat trick, given that the generic timers are not cycle counters! They're a fixed frequency counter which is generally unrelated and rather slower than the CPU frequency (and which doesn't scale up and down with CPU frequency either). -- PMM