On 23 November 2015 at 13:41, Jakub Jelinek <ja...@redhat.com> wrote:
> On Mon, Nov 23, 2015 at 03:33:57PM +0300, Maxim Ostapenko wrote:
>> + Adhemerval
>>
>> Christophe, it looks like your kernel headers (asm/ptrace.h) don't contain
>> ARM_VFPREGS_SIZE. Do you use old kernel version?
>

Yes, I do use old kernel headers.
I could upgrade them, but I tend to avoid changing versions (binutils,
glibc, newlib, kernel headers) unless really necessary.

> Unlike LLVM, we do care to support older kernel headers.
> So, if it is say a define, you could add
> libsanitizer/include/system/linux/ptrace.h
> or
> libsanitizer/include/system/asm/ptrace.h
> that would #include_next the original header and ifdef __arm__ and
> that define is not defined (or some other condition, kernel version etc.),
> define it.
>
>         Jakub

So, given Jakub's answer I'll not upgrade them yet on my side :-)

Reply via email to