Re: [PATCH] lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option

From: Feng Tang
Date: Thu Mar 03 2022 - 21:11:08 EST


On Thu, Mar 03, 2022 at 05:45:50PM -0800, Andrew Morton wrote:
> On Thu, 3 Mar 2022 16:20:48 +0800 Feng Tang <feng.tang@xxxxxxxxx> wrote:
>
> > 0Day robots reported there is compiling issue for 'csky' ARCH
> > when CONFIG_DEBUG_FORCE_DATA_SECTION_ALIGNED is enabled [1]:
> >
> > ...
> >
> > --- a/lib/Kconfig.debug
> > +++ b/lib/Kconfig.debug
> > @@ -401,8 +401,8 @@ config SECTION_MISMATCH_WARN_ONLY
> > If unsure, say Y.
> >
> > config DEBUG_FORCE_FUNCTION_ALIGN_64B
> > - bool "Force all function address 64B aligned" if EXPERT
> > - depends on PPC || ARM || X86
>
> I cannot find a kernel which contains the above line?

Sorry. I generated the patch while forgetting to revert the older version
https://lore.kernel.org/lkml/20220228022022.GG4548@xxxxxxxxxxxxxxxxxxxxxxx/

Here is the correct versin, thanks!

---