Re: [PATCH] Revert "scripts/faddr2line: Check only two symbols when calculating symbol size"
From: Carlos Llamas
Date: Tue Aug 20 2024 - 14:52:04 EST
On Tue, Aug 20, 2024 at 09:38:46AM -0700, Brian Johannesmeyer wrote:
>
> Acked-by: Brian Johannesmeyer <bjohannesmeyer@xxxxxxxxx>
>
> Good catch. Thanks for the fix.
>
> Just curious: What compiler did you use to build the kernel, where you
> hit this error with 'update_irq_load_avg'? I was unable to reproduce
> it with LLVM 14. Thanks!
>
You should be able to reproduce this issue as long as you hit a NOTYPE
symbol as the second entry. Using aarch64 and CFI_CLANG will make this
scenario more likely to happen. I believe I used the following:
$ make LLVM=1 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig
$ ./scripts/config -e CFI_CLANG
...
Cheers,
Carlos Llamas