Messages in this thread | | | Date | Wed, 8 Jun 2022 15:57:24 -0700 | From | Josh Poimboeuf <> | Subject | Re: [PATCH] x86/mm: Fix RESERVE_BRK() for older binutils |
| |
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@fastly.com>
Thanks. Unfortunately, the LLVM linker doesn't like the patch...
>> ld.lld: warning: section type mismatch for .brk_reservation >>> arch/x86/built-in.a(kernel/setup.o):(.brk_reservation): SHT_PROGBITS >>> output section .brk: SHT_NOBITS -- >> ld.lld: warning: section type mismatch for .brk_reservation >>> arch/x86/built-in.a(mm/init.o):(.brk_reservation): SHT_PROGBITS >>> output section .brk: SHT_NOBITS >> ld.lld: warning: section type mismatch for .brk_reservation >>> arch/x86/built-in.a(kernel/setup.o):(.brk_reservation): SHT_PROGBITS >>> output section .brk: SHT_NOBITS -- >> ld.lld: warning: section type mismatch for .brk_reservation >>> arch/x86/built-in.a(mm/init.o):(.brk_reservation): SHT_PROGBITS >>> output section .brk: SHT_NOBITS
-- Josh
| |