On 10/03/2024 02:05, Ian Rogers wrote: > compiler.h - synced from include/linux/compiler.h, guards were > added to definitions to avoid redefinition of macros > in libc. ftrace, CONFIG_OBJTOOL and kentry logic was removed as > redundant. > Hi Ian, This commit breaks the Arm build (and cross compilation for Arm on x86): $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Something like this, but I won't paste the whole output because it's huge: tools/include/linux/ring_buffer.h: In function ‘ring_buffer_read_head’: tools/include/asm/../../arch/arm64/include/asm/barrier.h:72:35: error: ‘__u8_alias_t’ undeclared (first use in this function) 72 | : "=r" (*(__u8_alias_t *)__u.__c) \ | ^~~~~~~~~~~~ tools/include/linux/ring_buffer.h:59:16: note: in expansion of macro ‘smp_load_acquire’ 59 | return smp_load_acquire(&base->data_head); | ^~~~~~~~~~~~~~~~ Thanks James
- [PATCH v1 04/13] perf expr: Add missing stdbool.h... Ian Rogers
- [PATCH v1 05/13] perf expr: Tidy up header guard Ian Rogers
- [PATCH v1 06/13] perf debug: Add missing linux/ty... Ian Rogers
- [PATCH v1 07/13] perf cacheline: Add missing linu... Ian Rogers
- [PATCH v1 08/13] perf arm-spe: Add missing linux/... Ian Rogers
- [PATCH v1 09/13] tools headers: Rewrite linux/ato... Ian Rogers
- [PATCH v1 10/13] asm-generic: Avoid transitive de... Ian Rogers
- [PATCH v1 11/13] tools headers: Sync linux/overfl... Ian Rogers
- [PATCH v1 12/13] tools headers: Sync compiler.h h... Ian Rogers
- Re: [PATCH v1 12/13] tools headers: Sync com... Miguel Ojeda
- Re: [PATCH v1 12/13] tools headers: Sync com... James Clark
- Re: [PATCH v1 12/13] tools headers: Sync... Ian Rogers
- Re: [PATCH v1 12/13] tools headers: ... Arnaldo Carvalho de Melo
- [PATCH v1 13/13] tools headers: Rename noinline t... Ian Rogers
- Re: [PATCH v1 13/13] tools headers: Rename n... Miguel Ojeda
- Re: [PATCH v1 13/13] tools headers: Rena... Nick Desaulniers
- Re: [PATCH v1 13/13] tools headers: Rename n... Michael S. Tsirkin
- Re: [PATCH v1 13/13] tools headers: Rena... Nick Desaulniers