Hi Miguel, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e5071887cd2296a7704dbcd10c1cedf0f11cdbd5 commit: e2e7cf27b58760b39038bcbf8e8f512dc2f9bf67 [12379/15002] Kbuild: add Rust support config: powerpc64-randconfig-s031-20220403 (https://download.01.org/0day-ci/archive/20220403/202204030402.Ps8X1oHd-lkp@xxxxxxxxx/config) compiler: powerpc64le-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e2e7cf27b58760b39038bcbf8e8f512dc2f9bf67 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout e2e7cf27b58760b39038bcbf8e8f512dc2f9bf67 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc prepare If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> include/linux/random.h:29:39: error: use of undeclared identifier 'latent_entropy' include/linux/random.h:30:17: error: use of undeclared identifier 'latent_entropy' >> include/linux/random.h:29:39: error: use of undeclared identifier 'latent_entropy', err: true include/linux/random.h:30:17: error: use of undeclared identifier 'latent_entropy', err: true thread 'main' panicked at 'Unable to generate bindings: ()', /opt/cross/rustc-1.59.0-bindgen-0.56.0/cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.56.0/src/main.rs:54:36 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace make[2]: *** [rust/Makefile:287: rust/bindings_generated.rs] Error 1 make[2]: *** Deleting file 'rust/bindings_generated.rs' make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1285: prepare] Error 2 make: *** [Makefile:226: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/latent_entropy +29 include/linux/random.h 38addce8b600ca Emese Revfy 2016-06-20 25 7e756f423af808 Vasily Gorbik 2019-05-07 26 #if defined(LATENT_ENTROPY_PLUGIN) && !defined(__CHECKER__) 38addce8b600ca Emese Revfy 2016-06-20 27 static inline void add_latent_entropy(void) 38addce8b600ca Emese Revfy 2016-06-20 28 { 38addce8b600ca Emese Revfy 2016-06-20 @29 add_device_randomness((const void *)&latent_entropy, 38addce8b600ca Emese Revfy 2016-06-20 30 sizeof(latent_entropy)); 38addce8b600ca Emese Revfy 2016-06-20 31 } 38addce8b600ca Emese Revfy 2016-06-20 32 #else 38addce8b600ca Emese Revfy 2016-06-20 33 static inline void add_latent_entropy(void) {} 38addce8b600ca Emese Revfy 2016-06-20 34 #endif 38addce8b600ca Emese Revfy 2016-06-20 35 :::::: The code at line 29 was first introduced by commit :::::: 38addce8b600ca335dc86fa3d48c890f1c6fa1f4 gcc-plugins: Add latent_entropy plugin :::::: TO: Emese Revfy <re.emese@xxxxxxxxx> :::::: CC: Kees Cook <keescook@xxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://01.org/lkp