https://bugs.kde.org/show_bug.cgi?id=339861

Maxim P. Dementiev <m...@e-soft.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@e-soft.ru

--- Comment #9 from Maxim P. Dementiev <m...@e-soft.ru> ---
I have got the same problem

> m_coredump/coredump-elf.c:149:4: error: typedef redefinition with different 
> types ('struct Elf32_Nhdr' vs 'struct elf32_note')
> /home/xxx/Android/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/linux/elf.h:370:3:
>  note: previous definition is here

On my Gentoo:

> Linux maxmsi 5.7.19-gentoo #1 SMP Thu Sep 3 23:53:16 CEST 2020 x86_64 
> Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz GenuineIntel GNU/Linux

Building on master:

> commit 2471e0521da06200bd9d553b4d17750af2852bb0
> Author: Julian Seward <jsew...@acm.org>
> Date:   Fri Oct 30 17:34:14 2020 +0100
> 
>    arm64 front end: mark a couple of vector load/store insns as "verbose".

Solved by commenting Elf32_Nhdr typedef in coregrind/m_coredump/coredump-elf.c

The funny comment stays since:

> 0ef7dc3c2f coregrind/m_coredump/coredump-elf.c (Julian Seward       
> 2011-07-12 07:14:47 +0000 142) /* Android's libc doesn't provide a definition 
> for this.  Hence: */

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to