[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user |
Date: |
Wed, 24 Jul 2013 07:37:25 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
On 07/24/2013 06:39 AM, Peter Maydell wrote:
> On 24 July 2013 17:34, Richard Henderson <address@hidden> wrote:
>> On 07/23/2013 11:15 AM, Peter Maydell wrote:
>>> On 23 July 2013 21:27, Richard Henderson <address@hidden> wrote:
>>>> This is a refresh of a patch I wrote in 2010, and have re-posted every
>>>> 6 months thereafter. To my knowledge, it has never been reviewed.
>>>>
>>>> It supplies a replacement for the required x86-64 vdso. Anyone trying
>>>> to emulate x86_64-linux on a host other than same will quickly run into
>>>> the lack of a gettimeofday syscall, which glibc assumes is always
>>>> provided by the vdso.
>>>
>>> Do we really need to mess with building an x86 shared object
>>> and pulling it in, rather than the kind of ad-hoc way we
>>> handle the ARM commpage?
>>
>> Isn't the arm ad-hoc really the much larger and uglier hack?
>
> Maaaybe, but it doesn't require a cross-compiler :-)
The 7k binary is checked in to the repository, so a cross-compiler
(or host compiler for x86_64, which is easier to come by) would
only be needed when the source changes. ;-)
r~