Re: [PATCH] objtool: Add missing endian conversion to read_annotate()
From: Peter Zijlstra
Date: Mon Jun 30 2025 - 09:22:21 EST
On Mon, Jun 30, 2025 at 03:12:30PM +0200, Heiko Carstens wrote:
> Trying to compile an x86 kernel on big endian results in this error:
>
> net/ipv4/netfilter/iptable_nat.o: warning: objtool: iptable_nat_table_init+0x150: Unknown annotation type: 50331648
> make[5]: *** [scripts/Makefile.build:287: net/ipv4/netfilter/iptable_nat.o] Error 255
>
> Reason is a missing endian conversion in read_annotate().
> Add the missing conversion to fix this.
>
> Fixes: 2116b349e29a ("objtool: Generic annotation infrastructure")
> Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
Thanks!