lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAH5fLggC88btfpe0Z+4+AB2SRWRwejCk9afVSymMDUzKE-7DvA@mail.gmail.com>
Date: Thu, 11 Dec 2025 10:26:52 +0900
From: Alice Ryhl <aliceryhl@...gle.com>
To: hev <r@....cc>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>, Huacai Chen <chenhuacai@...nel.org>, 
	WANG Xuerui <kernel@...0n.name>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
	Arve Hjønnevåg <arve@...roid.com>, 
	Todd Kjos <tkjos@...roid.com>, Christian Brauner <christian@...uner.io>, 
	Carlos Llamas <cmllamas@...gle.com>, Björn Roy Baron <bjorn3_gh@...tonmail.com>, 
	Danilo Krummrich <dakr@...nel.org>, Benno Lossin <lossin@...nel.org>, Boqun Feng <boqun.feng@...il.com>, 
	Andreas Hindborg <a.hindborg@...nel.org>, Trevor Gross <tmgross@...ch.edu>, loongarch@...ts.linux.dev, 
	rust-for-linux <rust-for-linux@...r.kernel.org>, 
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Mainline loongarch64 defconfig+Rust build error

On Thu, Dec 11, 2025 at 10:24 AM Alice Ryhl <aliceryhl@...gle.com> wrote:
>
> On Tue, Dec 09, 2025 at 08:20:46PM +0800, hev wrote:
> > On Tue, Dec 9, 2025 at 6:58 PM Miguel Ojeda
> > <miguel.ojeda.sandonis@...il.com> wrote:
> > >
> > > Hi all,
> > >
> > > I am seeing in mainline loongarch64 defconfig+Rust the following build
> > > error [1].
> > >
> > > Cheers,
> > > Miguel
> > >
> > > [1]
> > >
> > >  error[E0425]: cannot find value `compat_ptr_ioctl` in crate `bindings`
> > >      --> drivers/android/binder/rust_binder_main.rs:317:38
> > >       |
> > > 317   |         compat_ioctl: Some(bindings::compat_ptr_ioctl),
> >
> > It looks like the rust binder driver also needs to handle
> > !CONFIG_COMPAT. Here's a reference for that:
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/rust/kernel/miscdevice.rs?h=v6.18#n410
>
> Yeah, it just needs a `#[cfg(CONFIG_COMPAT)] like miscdevice. Do you
> want to add it? Otherwise I'll get to it soon.
Oh looks like there is already a patch for it.

Alice

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ