[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW432TUgzvHS7kQ0RhpzjMHhkdcrDTBV0S=+PuooVFd5WA@mail.gmail.com>
Date: Thu, 5 Sep 2024 14:34:36 -0700
From: Song Liu <song@...nel.org>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: live-patching@...r.kernel.org, linux-kernel@...r.kernel.org,
x86@...nel.org, Miroslav Benes <mbenes@...e.cz>, Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>, Jiri Kosina <jikos@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, Marcos Paulo de Souza <mpdesouza@...e.com>
Subject: Re: [RFC 00/31] objtool, livepatch: Livepatch module generation
On Thu, Sep 5, 2024 at 12:13 AM Josh Poimboeuf <jpoimboe@...nel.org> wrote:
>
> On Wed, Sep 04, 2024 at 09:14:00PM -0700, Josh Poimboeuf wrote:
>
> > + if (!!nr_objs) {
> ^^
> oops
>
> Fixed version:
The fixed version works for the following cases with gcc-12:
1. no BTF, no IBT;
2. with BTF and CONFIG_MODULE_ALLOW_BTF_MISMATCH, no IBT;
3. with BTF and CONFIG_MODULE_ALLOW_BTF_MISMATCH, with IBT;
There is still some issue with BTF, so we need
CONFIG_MODULE_ALLOW_BTF_MISMATCH here.
But it appears to be mostly working.
OTOH, there are still some issues with LLVM ("symbol 'xxx' already
defined", etc.).
Thanks,
Song
Powered by blists - more mailing lists