[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220608225724.2drhxj5pt2w5gbaf@treble>
Date: Wed, 8 Jun 2022 15:57:24 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Joe Damato <jdamato@...tly.com>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Andrew Cooper <Andrew.Cooper3@...rix.com>,
jiangshanlai@...il.com, bp@...e.de, brgerst@...il.com
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@...tly.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
Powered by blists - more mailing lists