[PATCH] configure: Check for "struct esr_context" used on ARM64

Martin Storsjö martin at martin.st
Tue Apr 21 14:37:40 CDT 2020


On Tue, 21 Apr 2020, Alexandre Julliard wrote:

> Martin Storsjo <martin at martin.st> writes:
>
>> If not found, use the old codepath from before
>> 85c01202ac70af0c83f894d7a8986adf66983459.
>>
>> Signed-off-by: Martin Storsjo <martin at martin.st>
>> ---
>>  configure.ac              |  3 +++
>>  dlls/ntdll/signal_arm64.c | 27 ++++++++++++++++++++++++++-
>>  2 files changed, 29 insertions(+), 1 deletion(-)
>
> What Linux version is missing this?  If it's for another platform, it
> should provide its own definition instead of doing a configure check.

I'm using an old Linaro GCC sysroot 
(gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux) for building things that 
runs on the devboard (which itself runs Debian Jessie). In this particular 
case, the Linaro sysroot lacks esr_context, while the real Debian Jessie 
headers do contain esr_context. Not really sure exactly which kernel 
version the asm/sigcontext.h header in this sysroot comes from though.

If you don't want this, I guess I could just patch the sigcontext.h header 
in the sysroot as well.

// Martin




More information about the wine-devel mailing list