lkml.org 
[lkml]   [2022]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-06-09 00:58    [W:0.041 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site