Re: [PATCH] x86/mm: Fix RESERVE_BRK() for older binutils

From: Josh Poimboeuf
Date: Wed Jun 08 2022 - 19:33:39 EST


On Wed, Jun 08, 2022 at 03:57:27PM -0700, Josh Poimboeuf wrote:
> On Thu, Jun 09, 2022 at 01:12:09AM +0300, Joe Damato wrote:
> > I applied the patch on top of commit 58f9d52ff689 ("Merge tag
> > 'net-5.19-rc1' of
> > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net") and the kernel
> > now builds successfully for me.
> >
> > The resulting kernel boots fine on the machine, as well.
> >
> > Tested-by: Joe Damato <jdamato@xxxxxxxxxx>
>
> Thanks. Unfortunately, the LLVM linker doesn't like the patch...

I've discovered that if you put a variable in ".bss..whatever", the
section will magically be made NOBITS. Will try that for v2.

--
Josh