On 5/19/20 2:18 AM, Rong Chen wrote:
On 5/19/20 3:17 PM, Rong Chen wrote:
>
>
> On 5/19/20 2:57 PM, Yonghong Song wrote:
>>
>>
>> On 5/17/20 10:26 PM, kbuild test robot wrote:
>>> tree:
>>>
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>>> master
>>> head: bdecf38f228bcca73b31ada98b5b7ba1215eb9c9
>>> commit: 138d0be35b141e09f6b267c6ae4094318d4e4491 [7243/9662] net:
>>> bpf: Add netlink and ipv6_route bpf_iter targets
>>> config: sh-randconfig-r011-20200518 (attached as .config)
>>> compiler: sh4-linux-gcc (GCC) 9.3.0
>>> reproduce:
>>> wget
>>>
https://urldefense.proofpoint.com/v2/url?u=https-3A__raw.githubuserconten...
>>> -O ~/bin/make.cross
>>> chmod +x ~/bin/make.cross
>>> git checkout 138d0be35b141e09f6b267c6ae4094318d4e4491
>>> # save the attached .config to linux build tree
>>> COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0
>>> make.cross ARCH=sh
>>>
>>> If you fix the issue, kindly add following tag as appropriate
>>> Reported-by: kbuild test robot <lkp(a)intel.com>
>>>
>>> All errors (new ones prefixed by >>, old ones prefixed by <<):
>>>
>>>>> sh4-linux-ar: net/netlink/genetlink.o: No such file or directory
>>
>> Somehow I cannot make it work.
>>
>> scripts/kconfig/conf --syncconfig Kconfig
>> /home/yhs/0day/gcc-9.3.0-nolibc/sh4-linux/bin/../libexec/gcc/sh4-linux/9.3.0/cc1:
>> error while loading shared libraries: libmpfr.so.6: cannot open
>> shared object file: No such file or directory
>> /home/yhs/0day/gcc-9.3.0-nolibc/sh4-linux/bin/../libexec/gcc/sh4-linux/9.3.0/cc1:
>> error while loading shared libraries: libmpfr.so.6: cannot open
>> shared object file: No such file or directory
>>
>> -bash-4.4$ ldd
>> /home/yhs/0day/gcc-9.3.0-nolibc/sh4-linux/bin/../libexec/gcc/sh4-linux/9.3.0/cc1
>>
>> linux-vdso.so.1 => (0x00007ffdef5ba000)
>> libisl.so.22 => not found
>> libmpc.so.3 => /lib64/libmpc.so.3 (0x00007f4b7ffa1000)
>> libmpfr.so.6 => not found
>> libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f4b7fd29000)
>> libdl.so.2 => /lib64/libdl.so.2 (0x00007f4b7fb25000)
>> libm.so.6 => /lib64/libm.so.6 (0x00007f4b7f823000)
>> libc.so.6 => /lib64/libc.so.6 (0x00007f4b7f455000)
>> /lib64/ld-linux-x86-64.so.2 (0x00007f4b801b9000)
>> libmpfr.so.4 => /lib64/libmpfr.so.4 (0x00007f4b7f1fa000)
>> -bash-4.4$
>>
>> I do have libmpfr.so.4, but no libmpfr.so.6.
>
> Hi Yonghong,
>
> You might need to install libmpfr6 and libisl22.
>
> Best Regards,
> Rong Chen
>
>>
>> Also, the error is
>> >>> sh4-linux-ar: net/netlink/genetlink.o: No such file or directory
>>
>> I double checked the commit. It is not clearly to me why my commit
>> affect the net/netlink/genetliink.c compilation. Could you send
>> me the genetlink.c compilation error message? This may make it
>> easier to debug.
Sorry for the inconvenience, it should be a false positive, this commit
influenced the build errors:
No problem. Thanks for letting me know.
Yonghong
>
> parent commit:
> build-error/18143-21532-20517-1978:sh4-linux-ld: cannot find
> net/netlink/.tmp_gl_genetlink.o: No such file or directory
> build-error/18143-21532-20517-1978:sh4-linux-objcopy:
> 'net/netlink/.tmp_mx_genetlink.o': No such file
> build-error/18143-21532-20517-1978:rm: cannot remove
> 'net/netlink/.tmp_gl_genetlink.o': No such file or directory
> build-error/18143-21532-20517-1978:rm: cannot remove
> 'net/netlink/.tmp_mx_genetlink.o': No such file or directory
>
> this commit:
> build-error/64149-65650-29918-1978:sh4-linux-ld: cannot find
> net/netlink/.tmp_gl_genetlink.o: No such file or directory
> build-error/64149-65650-29918-1978:sh4-linux-objcopy:
> 'net/netlink/.tmp_mx_genetlink.o': No such file
> build-error/64149-65650-29918-1978:rm: cannot remove
> 'net/netlink/.tmp_gl_genetlink.o': No such file or directory
> build-error/64149-65650-29918-1978:rm: cannot remove
> 'net/netlink/.tmp_mx_genetlink.o': No such file or directory
> build-error/64149-67444-8214-450:sh4-linux-ar: net/netlink/genetlink.o:
> No such file or directory
>
> Best Regards,
> Rong Chen
>
>>>
>>> Thanks!
>>>
>>>>
>>>> ---
>>>> 0-DAY CI Kernel Test Service, Intel Corporation
>>>>
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.01.org_hyperki...
>>>>
>>>>
>>> _______________________________________________
>>> kbuild-all mailing list -- kbuild-all(a)lists.01.org
>>> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org
>> _______________________________________________
>> kbuild-all mailing list -- kbuild-all(a)lists.01.org
>> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org
>