[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505130821.z5LcD77G-lkp@intel.com>
Date: Tue, 13 May 2025 09:59:13 +0800
From: kernel test robot <lkp@...el.com>
To: Andrew Ballance <andrewjballance@...il.com>, dakr@...nel.org,
airlied@...il.com, simona@...ll.ch, akpm@...ux-foundation.org,
ojeda@...nel.org, alex.gaynor@...il.com, boqun.feng@...il.com,
gary@...yguo.net, bjorn3_gh@...tonmail.com, benno.lossin@...ton.me,
a.hindborg@...nel.org, aliceryhl@...gle.com, tmgross@...ch.edu,
gregkh@...uxfoundation.org, rafael@...nel.org, bhelgaas@...gle.com,
kwilczynski@...nel.org, raag.jadav@...el.com,
andriy.shevchenko@...ux.intel.com, arnd@...db.de, me@...enk.dev,
fujita.tomonori@...il.com, daniel.almeida@...labora.com
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
nouveau@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, rust-for-linux@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: [PATCH 01/11] rust: helpers: io: use macro to generate io
accessor functions
Hi Andrew,
kernel test robot noticed the following build errors:
[auto build test ERROR on 92a09c47464d040866cf2b4cd052bc60555185fb]
url: https://github.com/intel-lab-lkp/linux/commits/Andrew-Ballance/rust-helpers-io-use-macro-to-generate-io-accessor-functions/20250509-111818
base: 92a09c47464d040866cf2b4cd052bc60555185fb
patch link: https://lore.kernel.org/r/20250509031524.2604087-2-andrewjballance%40gmail.com
patch subject: [PATCH 01/11] rust: helpers: io: use macro to generate io accessor functions
config: x86_64-randconfig-073-20250512 (https://download.01.org/0day-ci/archive/20250513/202505130821.z5LcD77G-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250513/202505130821.z5LcD77G-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505130821.z5LcD77G-lkp@intel.com/
All errors (new ones prefixed by >>):
***
*** Rust bindings generator 'bindgen' < 0.69.5 together with libclang >= 19.1
*** may not work due to a bug (https://github.com/rust-lang/rust-bindgen/pull/2824),
*** unless patched (like Debian's).
*** Your bindgen version: 0.65.1
*** Your libclang version: 20.1.2
***
***
*** Please see Documentation/rust/quick-start.rst for details
*** on how to set up the Rust support.
***
>> error[E0425]: cannot find function `readb` in crate `bindings`
--> rust/kernel/io.rs:221:36
|
221 | define_read!(read8, try_read8, readb -> u8);
| ^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `readw` in crate `bindings`
--> rust/kernel/io.rs:222:38
|
222 | define_read!(read16, try_read16, readw -> u16);
| ^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `writel` in crate `bindings`
--> rust/kernel/io.rs:243:41
|
243 | define_write!(write32, try_write32, writel <- u32);
| ^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `writeq` in crate `bindings`
--> rust/kernel/io.rs:248:9
|
248 | writeq <- u64
| ^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `writeb_relaxed` in crate `bindings`
--> rust/kernel/io.rs:251:55
|
251 | define_write!(write8_relaxed, try_write8_relaxed, writeb_relaxed <- u8);
| ^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `writew_relaxed` in crate `bindings`
--> rust/kernel/io.rs:252:57
|
252 | define_write!(write16_relaxed, try_write16_relaxed, writew_relaxed <- u16);
| ^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `writel_relaxed` in crate `bindings`
--> rust/kernel/io.rs:253:57
|
253 | define_write!(write32_relaxed, try_write32_relaxed, writel_relaxed <- u32);
| ^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `writeq_relaxed` in crate `bindings`
--> rust/kernel/io.rs:258:9
|
258 | writeq_relaxed <- u64
| ^^^^^^^^^^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `readl` in crate `bindings`
--> rust/kernel/io.rs:223:38
|
223 | define_read!(read32, try_read32, readl -> u32);
| ^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `readq` in crate `bindings`
--> rust/kernel/io.rs:228:9
|
228 | readq -> u64
| ^^^^^ not found in `bindings`
--
>> error[E0425]: cannot find function `readb_relaxed` in crate `bindings`
--> rust/kernel/io.rs:231:52
|
231 | define_read!(read8_relaxed, try_read8_relaxed, readb_relaxed -> u8);
| ^^^^^^^^^^^^^ not found in `bindings`
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists