-----Original Message-----
From: Dan Williams <dan.j.williams(a)intel.com>
Sent: 2020年7月11日 22:40
To: kernel test robot <lkp(a)intel.com>
Cc: kbuild-all(a)lists.01.org
Subject: [kbuild-all] Re: [nvdimm:libnvdimm-pending 4/22]
drivers/dax/hmem/device.c:7:6: warning: no previous prototype for
'hmem_register_device'
On Fri, Jul 10, 2020 at 2:11 PM kernel test robot <lkp(a)intel.com> wrote:
>
> tree:
https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git
libnvdimm-pending
> head: 17c5211450a8fb964757f9f51cae1dc9f973e5ee
> commit: 084a33058b0518760f04823e55fa17fd813f51fc [4/22] ACPI: HMAT:
> Refactor hmat_register_target_device to hmem_register_device
> config: arm64-allyesconfig (attached as .config)
> compiler: aarch64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1
> build):
> wget
https://raw.githubusercontent.com/intel/lkp-
tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 084a33058b0518760f04823e55fa17fd813f51fc
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross
> ARCH=arm64
This command line does not retrieve the compiler for me I need to make it:
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross
ARCH=arm64
Sorry for inconvenient.
Have you update the make.cross script by redownload it? Parameter GCC_VERSION is for old
version of make.cross.
The latest make.cross parse COMPILER=gcc-9.3.0 correctly on my side. And also set
LD_LIBRARY_PATH to find the libs.
Let me know if still have problem. Thanks.
>
>I also get failures like this:
>
>$HOME/0day/gcc-9.3.0-nolibc/aarch64-linux/bin/../libexec/gcc/aarch64-
>linux/9.3.0/cc1:
>error while loading shared libraries: libisl.so.22: cannot open shared object file:
>No such file or directory
>
>...so now the command line that works for me is:
>
>COMPILER_INSTALL_PATH=$HOME/0day
>LD_LIBRARY_PATH=$COMPILER_INSTALL_PATH/gcc-9.3.0-nolibc/aarch64-
>linux/libexec/gcc/aarch64-linux/9.3.0
>GCC_VERSION=9.3.0 make.cross ARCH=arm64
>
>...can these be fixed up in the script?
>
>This was on Fedora 30.
>_______________________________________________
>kbuild-all mailing list -- kbuild-all(a)lists.01.org To unsubscribe send an email to
>kbuild-all-leave(a)lists.01.org