rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gary Guo <gary@garyguo.net>
To: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Cc: "Boqun Feng" <boqun.feng@gmail.com>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Andreas Hindborg" <a.hindborg@samsung.com>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Dirk Behme" <dirk.behme@de.bosch.com>,
	rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] kbuild: rust: auto generate rust helper exports
Date: Mon, 19 Aug 2024 00:56:37 +0100	[thread overview]
Message-ID: <20240819005637.47e7045f.gary@garyguo.net> (raw)
In-Reply-To: <CANiq72k81VrS+3Skh7gfYzkcxTsGscUJOhroV4MXH-LZgroZFg@mail.gmail.com>

On Mon, 19 Aug 2024 01:40:44 +0200
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> wrote:

> On Sun, Aug 18, 2024 at 2:49 AM Boqun Feng <boqun.feng@gmail.com> wrote:
> >
> > Reviewed-by: Boqun Feng <boqun.feng@gmail.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

  reply	other threads:[~2024-08-18 23:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-17 16:51 [PATCH v2] kbuild: rust: auto generate rust helper exports Gary Guo
2024-08-18  0:47 ` Boqun Feng
2024-08-18 23:40   ` Miguel Ojeda
2024-08-18 23:56     ` Gary Guo [this message]
2024-08-19  0:17       ` Miguel Ojeda
2024-08-19  0:27         ` Boqun Feng
2024-08-19  0:57     ` Boqun Feng
2024-08-19 13:03 ` Miguel Ojeda
2024-09-25 20:49   ` Sami Tolvanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240819005637.47e7045f.gary@garyguo.net \
    --to=gary@garyguo.net \
    --cc=a.hindborg@samsung.com \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dirk.behme@de.bosch.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=wedsonaf@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).