[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240819005637.47e7045f.gary@garyguo.net>
Date: Mon, 19 Aug 2024 00:56:37 +0100
From: Gary Guo <gary@...yguo.net>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Boqun Feng <boqun.feng@...il.com>, Miguel Ojeda <ojeda@...nel.org>, Alex
Gaynor <alex.gaynor@...il.com>, Wedson Almeida Filho <wedsonaf@...il.com>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>, Benno Lossin
<benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...sung.com>, Alice
Ryhl <aliceryhl@...gle.com>, Dirk Behme <dirk.behme@...bosch.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] kbuild: rust: auto generate rust helper exports
On Mon, 19 Aug 2024 01:40:44 +0200
Miguel Ojeda <miguel.ojeda.sandonis@...il.com> wrote:
> On Sun, Aug 18, 2024 at 2:49 AM Boqun Feng <boqun.feng@...il.com> wrote:
> >
> > Reviewed-by: Boqun Feng <boqun.feng@...il.com>
> >
> > This also passed my test script (x86, arm64 and riscv build and kunit
> > tests).
>
> Hmm... I think you either tested another one, or you manually fixed
> the dependency (`$(obj)/helpers/helpers.o`).
>
> Or am I confused?
>
> > Miguel, I think it makes more sense if we take this one and the
> > helpers.c split one as early as possible, given they are treewide
> > changes ;-)
>
> Agreed, we should take it soon. I have rebased it on top of
> `rust-next` and fixed the dependency.
>
> Please take a look:
>
> https://github.com/Rust-for-Linux/linux/commit/0d6e3e8d3677ee7b5cccf9bc002e18f140c02a4e
>
> I will put it in after we confirm we are not confused :) (and after we
> get a linux-next round or two for what is currently there).
>
> Extra `Tested-by`s would be nice!
>
> Cheers,
> Miguel
Hi Miguel,
It's the mistake on my patch. I noticed the exact issue while I was
trying to rebase my helper-lto patch :)
I believe that reason that it builds fine for me previously and for
Boqun was that we didn't delete the helpers.o generated prior to
applying the helper split patch, and we know that kbuild is not
hermetic.
Your rebase and the fix is identical to the one I got locally, and I
can confirm that it compiles fine for a clean build.
Best,
Gary
Powered by blists - more mailing lists