[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 1344320] Re: qemu-aarch64 cannot execute glibc
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [Bug 1344320] Re: qemu-aarch64 cannot execute glibc |
Date: |
Tue, 22 Jul 2014 23:22:15 +0100 |
On 22 July 2014 20:46, Richard Henderson <address@hidden> wrote:
> On 07/21/2014 10:37 AM, Peter Maydell wrote:
>>> 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).
>
> Even better.
In any case the kernel guys say you can't guarantee they
exist unless you get them to define an ELF hwcap for
"timers exist and have a sane value in the 'what frequency
are they' register". So this is a glibc bug and I'm
not fixing QEMU...
-- PMM
- [Qemu-devel] [PATCH v2 0/7] modify boot order of guest, and take effect after rebooting, arei.gonglei, 2014/07/25
- [Qemu-devel] [PATCH v2 2/7] bootindex: add del_boot_device_path function, arei.gonglei, 2014/07/25
- [Qemu-devel] [PATCH v2 7/7] spapr: fix possible memory leak, arei.gonglei, 2014/07/25
- [Qemu-devel] [PATCH v2 1/7] bootindex: add modify_boot_device_path function, arei.gonglei, 2014/07/25
- [Qemu-devel] [PATCH v2 5/7] qmp: add set-bootindex command, arei.gonglei, 2014/07/25
- [Qemu-devel] [PATCH v2 3/7] fw_cfg: add fw_cfg_machine_reset function, arei.gonglei, 2014/07/25
- [Qemu-devel] [PATCH v2 4/7] bootindex: delete bootindex when device is removed, arei.gonglei, 2014/07/25
- [Qemu-devel] [PATCH v2 6/7] qemu-monitor: HMP set-bootindex wrapper, arei.gonglei, 2014/07/25