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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250126192748.30c36ddd@canb.auug.org.au>
Date: Sun, 26 Jan 2025 19:27:48 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>, Uros Bizjak
 <ubizjak@...il.com>, linux-mm@...ck.org, mm-commits@...r.kernel.org,
 linux-kernel@...r.kernel.org, Dan Carpenter <dan.carpenter@...aro.org>,
 Anders Roxell <anders.roxell@...aro.org>, Naresh Kamboju
 <naresh.kamboju@...aro.org>
Subject: Re: [GIT PULL] MM updates for 6.14-rc1

Hi all,

On Sat, 25 Jan 2025 21:00:16 -0800 Andrew Morton <akpm@...ux-foundation.org> wrote:
>
> On Sat, 25 Jan 2025 14:09:16 -0800 Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> 
> > On Fri, 24 Jan 2025 at 16:22, Andrew Morton <akpm@...ux-foundation.org> wrote:  
> > >
> > > Linus, please merge the MM updates for the 6.14 development cycle,  
> > 
> > This does not build at all for me.
> > 
> > I get
> > 
> >     ./arch/x86/include/asm/current.h:49:9: error: call to undeclared
> > function '__typeof_unqual__'; ISO C99 and later do not support
> > implicit function declarations [-Wimplicit-function-declaration]
> > 
> > when running the Rust 'bindgen', and what seems to be going on is that
> > my version of *gcc* does support __typeof_unqual__, so I end up with
> > 
> >     CONFIG_CC_HAS_TYPEOF_UNQUAL=y
> > 
> > in my kernel config, but I think that 'bindgen' that generates the
> > Rust bindings is based on LLVM, and clearly does not understand
> > __typeof_unqual__.
> > 
> > I have bindgen 0.69.5 (plain F40 install), in case somebody wants to test.
> > 
> > Apparently few people test linux-next with Rust enabled, and the
> > reports that I find on lkml were ignored.

I don't recall seeing them ... were they cc'd to linux-next@...r or me?

> > I do see reports of this failure on lkml from mid-December, so it's
> > not like I'm the first person ever to see this.
> 
> Well dang, nobody told me, and I assume Stephen didn't find out.

I did not get any errors in my builds.  I am running Debian Testing on
a PowerPC LE machine (so my x86_64 allmodconfig builds are cross
builds).

$ gcc --version
gcc (Debian 14.2.0-12) 14.2.0
$ bindgen --version
bindgen 0.70.1
~/next/x86_64_allmodconfig$ grep -E '(CONFIG_CC_HAS_TYPEOF_UNQUAL|_RUST)' .config 
CONFIG_RUSTC_VERSION=108300
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=190104
CONFIG_CC_HAS_TYPEOF_UNQUAL=y
CONFIG_RUST=y
CONFIG_RUSTC_VERSION_TEXT="rustc 1.83.0 (90b35a623 2024-11-26) (built from a source tarball)"
CONFIG_HAVE_RUST=y
CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y
CONFIG_BLK_DEV_RUST_NULL=m
CONFIG_SAMPLES_RUST=y
CONFIG_SAMPLE_RUST_MINIMAL=m
CONFIG_SAMPLE_RUST_MISC_DEVICE=m
CONFIG_SAMPLE_RUST_PRINT=m
CONFIG_SAMPLE_RUST_DRIVER_PCI=m
CONFIG_SAMPLE_RUST_DRIVER_PLATFORM=m
CONFIG_SAMPLE_RUST_HOSTPROGS=y
CONFIG_RUST_DEBUG_ASSERTIONS=y
CONFIG_RUST_OVERFLOW_CHECKS=y
CONFIG_RUST_BUILD_ASSERT_ALLOW=y

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ