Comment 4 for bug 1344320

Revision history for this message
Richard Henderson (rth) wrote : Re: [Qemu-devel] [Bug 1344320] [NEW] qemu-aarch64 cannot execute glibc

On 07/19/2014 12:54 AM, Peter Maydell wrote:
> On 18 July 2014 21:30, Andreas Schwab <email address hidden> 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~