From: kernel test robot <lkp@intel.com>
To: cgel.zte@gmail.com, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, yong.yiran@zte.com.cn,
Zeal Robot <zealci@zte.com.cn>
Subject: Re: [PATCH linux-next] scripts/sorttable: remove duplicate include in sorttable.c
Date: Fri, 6 Aug 2021 18:33:23 +0800 [thread overview]
Message-ID: <202108061834.DUqZEANN-lkp@intel.com> (raw)
In-Reply-To: <20210806072945.636611-1-yong.yiran@zte.com.cn>
[-- Attachment #1: Type: text/plain, Size: 3616 bytes --]
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on next-20210805]
url: https://github.com/0day-ci/linux/commits/cgel-zte-gmail-com/scripts-sorttable-remove-duplicate-include-in-sorttable-c/20210806-153154
base: 18aeb561e3fdbd385379d82b079c3dec1f57793e
config: powerpc-randconfig-s032-20210804 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.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.3-348-gf0e6938b-dirty
# https://github.com/0day-ci/linux/commit/c9d4c7820745856a5b314bf2149ae80176674daa
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review cgel-zte-gmail-com/scripts-sorttable-remove-duplicate-include-in-sorttable-c/20210806-153154
git checkout c9d4c7820745856a5b314bf2149ae80176674daa
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.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@intel.com>
All error/warnings (new ones prefixed by >>):
scripts/sorttable.c: In function 'do_file':
>> scripts/sorttable.c:379:8: warning: implicit declaration of function 'do_sort_64'; did you mean 'do_sort_32'? [-Wimplicit-function-declaration]
379 | rc = do_sort_64(ghdr, fname, custom_sort);
| ^~~~~~~~~~
| do_sort_32
/usr/bin/ld: /tmp/cc1eeVKJ.o: in function `main':
>> sorttable.c:(.text.startup+0x618): undefined reference to `do_sort_64'
collect2: error: ld returned 1 exit status
--
scripts/sorttable.c: In function 'do_file':
>> scripts/sorttable.c:379:8: warning: implicit declaration of function 'do_sort_64'; did you mean 'do_sort_32'? [-Wimplicit-function-declaration]
379 | rc = do_sort_64(ghdr, fname, custom_sort);
| ^~~~~~~~~~
| do_sort_32
/usr/bin/ld: /tmp/cc8dIuyE.o: in function `main':
>> sorttable.c:(.text.startup+0x618): undefined reference to `do_sort_64'
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:95: scripts/sorttable] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1295: scripts] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:227: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
scripts/sorttable.c: In function 'do_file':
>> scripts/sorttable.c:379:8: warning: implicit declaration of function 'do_sort_64'; did you mean 'do_sort_32'? [-Wimplicit-function-declaration]
379 | rc = do_sort_64(ghdr, fname, custom_sort);
| ^~~~~~~~~~
| do_sort_32
/usr/bin/ld: /tmp/ccikgeur.o: in function `main':
>> sorttable.c:(.text.startup+0x618): undefined reference to `do_sort_64'
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:95: scripts/sorttable] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1295: scripts] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:227: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39622 bytes --]
prev parent reply other threads:[~2021-08-06 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-06 7:29 [PATCH linux-next] scripts/sorttable: remove duplicate include in sorttable.c cgel.zte
2021-08-06 10:33 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108061834.DUqZEANN-lkp@intel.com \
--to=lkp@intel.com \
--cc=cgel.zte@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yong.yiran@zte.com.cn \
--cc=zealci@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox