Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #86880
| From | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> |
|---|---|
| Newsgroups | linux.debian.kernel |
| Subject | Re: Package for development of out-of-tree kernel modules written in Rust |
| Date | 2025-04-13 18:40 +0200 |
| Message-ID | <KB8xb-dghd-3@gated-at.bofh.it> (permalink) |
| References | (7 earlier) <KxAs2-aRlS-5@gated-at.bofh.it> <KyFSF-bDwQ-7@gated-at.bofh.it> <KAMdj-d1Gi-1@gated-at.bofh.it> <KB3QR-ddhw-15@gated-at.bofh.it> <KB7B7-dfGP-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Apr 13, 2025 at 5:36 PM NoisyCoil <noisycoil@disroot.org> wrote: > > 1. Native build on arm64. Installed the build on amd64, replaced the > Rust files (rmeta and libmacros) with ones obtained by cross-compiling > the same kernel with the same config on amd64. Pointing KDIR to the > natively-built /usr/src/linux-headers with the replaced Rust files > correctly builds the OOT module, and the module correctly loads on arm64. > > 2. Cross-build on amd64. Installed the build on arm64, replaced the Rust > files with those from the twin native build. Same as above, the module > builds and correctly loads on arm64. I am not sure I am following correctly the tests, but are you referring to rebuilding all the Rust artifacts (and not just the host ones)? I think that would still be not generally supported by the kernel, since you still used a different host/target pair (i.e. different toolchains/binaries) -- if I understand correctly, your out-of-tree module ends up using `.rmeta`s that are different than those used for the main kernel since they come from a different build, even if they are all accepted by the Rust compiler since it built them all. Nice to hear that worked here, though :) Thanks a lot for all the tests you performed! I really appreciate it. Cheers, Miguel
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 01:30 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-02-26 12:50 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 13:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 14:00 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 15:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 19:30 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 22:00 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-27 18:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Ben Hutchings <ben@decadent.org.uk> - 2025-02-26 19:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 19:30 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 20:10 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 20:20 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-27 18:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-02 23:00 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-02 23:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-02 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-03 00:50 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-03 16:50 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-03 19:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-03 21:00 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-03 23:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-03 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-06 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-12 18:50 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-13 13:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-13 17:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-13 18:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-04-13 20:30 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Ben Hutchings <ben@decadent.org.uk> - 2025-04-16 17:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-05-03 17:10 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-04-04 11:20 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-04-06 23:40 +0200
Re: Package for development of out-of-tree kernel modules written in Rust Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2025-02-26 19:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust NoisyCoil <noisycoil@disroot.org> - 2025-02-26 14:40 +0100
Re: Package for development of out-of-tree kernel modules written in Rust Bastian Blank <waldi@debian.org> - 2025-02-26 14:40 +0100
csiph-web