[aa:master 20/25] mm/util.c:759:6: error: implicit declaration of function 'page_mapcount_seq_begin_irqsafe'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git master
head: 4dd3c2c518d5a32ed6609e786ea5c722c4ef4cd6
commit: 1028838451c64d57c196e33e39f511eb29e884d8 [20/25] gup: FOLL_UNSHARE: copy-on-read fault
config: arm-randconfig-r026-20210118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 95d146182fdf2315e74943b93fb3bb0cbafc5d89)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git/commit/?id=...
git remote add aa https://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git
git fetch --no-tags aa master
git checkout 1028838451c64d57c196e33e39f511eb29e884d8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> mm/util.c:759:6: error: implicit declaration of function 'page_mapcount_seq_begin_irqsafe' [-Werror,-Wimplicit-function-declaration]
if (page_mapcount_seq_begin_irqsafe(page, &seqcount, true))
^
mm/util.c:759:6: note: did you mean 'page_mapcount_seq_begin'?
include/linux/huge_mm.h:561:29: note: 'page_mapcount_seq_begin' declared here
static inline unsigned long page_mapcount_seq_begin(struct page *page)
^
>> mm/util.c:767:6: error: implicit declaration of function 'page_mapcount_seq_retry_irqsafe' [-Werror,-Wimplicit-function-declaration]
if (page_mapcount_seq_retry_irqsafe(page, seqcount, true))
^
mm/util.c:767:6: note: did you mean 'page_mapcount_seq_begin_irqsafe'?
mm/util.c:759:6: note: 'page_mapcount_seq_begin_irqsafe' declared here
if (page_mapcount_seq_begin_irqsafe(page, &seqcount, true))
^
2 errors generated.
vim +/page_mapcount_seq_begin_irqsafe +759 mm/util.c
750
751 bool __page_anon_shared_irqsafe(struct page *page)
752 {
753 unsigned long seqcount;
754 int ret;
755
756 if (!PageAnon(page) && !PageHuge(page))
757 return atomic_read(&page->_mapcount) > 0;
758 page = compound_head(page);
> 759 if (page_mapcount_seq_begin_irqsafe(page, &seqcount, true))
760 return true;
761
762 ret = atomic_read(&page->_mapcount);
763 ret += atomic_read(compound_mapcount_ptr(page)) + 1;
764 if (PageDoubleMap(page))
765 ret--;
766
> 767 if (page_mapcount_seq_retry_irqsafe(page, seqcount, true))
768 return true;
769 return ret > 0;
770 }
771
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [PATCH V6 02/13] sbitmap: maintain allocation round_robin in sbitmap
by kernel test robot
Hi Ming,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on mkp-scsi/for-next]
[also build test ERROR on scsi/for-next block/for-next v5.11-rc4 next-20210115]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Ming-Lei/blk-mq-scsi-tracking-de...
base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
config: sh-allmodconfig (attached as .config)
compiler: sh4-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
# https://github.com/0day-ci/linux/commit/16943bc0fa2683fd8d8554745fffe6239...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ming-Lei/blk-mq-scsi-tracking-device-queue-depth-via-sbitmap/20210118-085444
git checkout 16943bc0fa2683fd8d8554745fffe62394a42ec9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/vhost/scsi.c: In function 'vhost_scsi_get_cmd':
>> drivers/vhost/scsi.c:617:8: error: too many arguments to function 'sbitmap_get'
617 | tag = sbitmap_get(&svq->scsi_tags, 0, false);
| ^~~~~~~~~~~
In file included from include/target/target_core_base.h:7,
from drivers/vhost/scsi.c:43:
include/linux/sbitmap.h:185:5: note: declared here
185 | int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint);
| ^~~~~~~~~~~
drivers/vhost/scsi.c: In function 'vhost_scsi_setup_vq_cmds':
>> drivers/vhost/scsi.c:1514:6: error: too few arguments to function 'sbitmap_init_node'
1514 | if (sbitmap_init_node(&svq->scsi_tags, max_cmds, -1, GFP_KERNEL,
| ^~~~~~~~~~~~~~~~~
In file included from include/target/target_core_base.h:7,
from drivers/vhost/scsi.c:43:
include/linux/sbitmap.h:153:5: note: declared here
153 | int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
| ^~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +/sbitmap_get +617 drivers/vhost/scsi.c
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 597
1a1ff8256af679c8 drivers/vhost/scsi.c Nicholas Bellinger 2015-01-31 598 static struct vhost_scsi_cmd *
25b98b64e28423b0 drivers/vhost/scsi.c Mike Christie 2020-11-09 599 vhost_scsi_get_cmd(struct vhost_virtqueue *vq, struct vhost_scsi_tpg *tpg,
95e7c4341b8e28da drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 600 unsigned char *cdb, u64 scsi_tag, u16 lun, u8 task_attr,
95e7c4341b8e28da drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 601 u32 exp_data_len, int data_direction)
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 602 {
25b98b64e28423b0 drivers/vhost/scsi.c Mike Christie 2020-11-09 603 struct vhost_scsi_virtqueue *svq = container_of(vq,
25b98b64e28423b0 drivers/vhost/scsi.c Mike Christie 2020-11-09 604 struct vhost_scsi_virtqueue, vq);
1a1ff8256af679c8 drivers/vhost/scsi.c Nicholas Bellinger 2015-01-31 605 struct vhost_scsi_cmd *cmd;
1a1ff8256af679c8 drivers/vhost/scsi.c Nicholas Bellinger 2015-01-31 606 struct vhost_scsi_nexus *tv_nexus;
b1935f687bb93b20 drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 607 struct scatterlist *sg, *prot_sg;
3aee26b4ae91048c drivers/vhost/scsi.c Nicholas Bellinger 2013-06-21 608 struct page **pages;
25b98b64e28423b0 drivers/vhost/scsi.c Mike Christie 2020-11-09 609 int tag;
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 610
9871831283e79575 drivers/vhost/scsi.c Asias He 2013-05-06 611 tv_nexus = tpg->tpg_nexus;
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 612 if (!tv_nexus) {
1a1ff8256af679c8 drivers/vhost/scsi.c Nicholas Bellinger 2015-01-31 613 pr_err("Unable to locate active struct vhost_scsi_nexus\n");
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 614 return ERR_PTR(-EIO);
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 615 }
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 616
25b98b64e28423b0 drivers/vhost/scsi.c Mike Christie 2020-11-09 @617 tag = sbitmap_get(&svq->scsi_tags, 0, false);
4a47d3a1ff10e564 drivers/vhost/scsi.c Nicholas Bellinger 2013-09-23 618 if (tag < 0) {
1a1ff8256af679c8 drivers/vhost/scsi.c Nicholas Bellinger 2015-01-31 619 pr_err("Unable to obtain tag for vhost_scsi_cmd\n");
4a47d3a1ff10e564 drivers/vhost/scsi.c Nicholas Bellinger 2013-09-23 620 return ERR_PTR(-ENOMEM);
4a47d3a1ff10e564 drivers/vhost/scsi.c Nicholas Bellinger 2013-09-23 621 }
4a47d3a1ff10e564 drivers/vhost/scsi.c Nicholas Bellinger 2013-09-23 622
25b98b64e28423b0 drivers/vhost/scsi.c Mike Christie 2020-11-09 623 cmd = &svq->scsi_cmds[tag];
3aee26b4ae91048c drivers/vhost/scsi.c Nicholas Bellinger 2013-06-21 624 sg = cmd->tvc_sgl;
b1935f687bb93b20 drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 625 prot_sg = cmd->tvc_prot_sgl;
3aee26b4ae91048c drivers/vhost/scsi.c Nicholas Bellinger 2013-06-21 626 pages = cmd->tvc_upages;
473f0b15a4c97d39 drivers/vhost/scsi.c Markus Elfring 2017-05-20 627 memset(cmd, 0, sizeof(*cmd));
3aee26b4ae91048c drivers/vhost/scsi.c Nicholas Bellinger 2013-06-21 628 cmd->tvc_sgl = sg;
b1935f687bb93b20 drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 629 cmd->tvc_prot_sgl = prot_sg;
3aee26b4ae91048c drivers/vhost/scsi.c Nicholas Bellinger 2013-06-21 630 cmd->tvc_upages = pages;
4824d3bfb9097ac5 drivers/vhost/scsi.c Nicholas Bellinger 2013-06-07 631 cmd->tvc_se_cmd.map_tag = tag;
95e7c4341b8e28da drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 632 cmd->tvc_tag = scsi_tag;
95e7c4341b8e28da drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 633 cmd->tvc_lun = lun;
95e7c4341b8e28da drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 634 cmd->tvc_task_attr = task_attr;
3c63f66a0dcdd6cb drivers/vhost/scsi.c Asias He 2013-05-06 635 cmd->tvc_exp_data_len = exp_data_len;
3c63f66a0dcdd6cb drivers/vhost/scsi.c Asias He 2013-05-06 636 cmd->tvc_data_direction = data_direction;
3c63f66a0dcdd6cb drivers/vhost/scsi.c Asias He 2013-05-06 637 cmd->tvc_nexus = tv_nexus;
1a1ff8256af679c8 drivers/vhost/scsi.c Nicholas Bellinger 2015-01-31 638 cmd->inflight = vhost_scsi_get_inflight(vq);
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 639
1a1ff8256af679c8 drivers/vhost/scsi.c Nicholas Bellinger 2015-01-31 640 memcpy(cmd->tvc_cdb, cdb, VHOST_SCSI_MAX_CDB_SIZE);
95e7c4341b8e28da drivers/vhost/scsi.c Nicholas Bellinger 2014-02-22 641
3c63f66a0dcdd6cb drivers/vhost/scsi.c Asias He 2013-05-06 642 return cmd;
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 643 }
057cbf49a1f08297 drivers/vhost/tcm_vhost.c Nicholas Bellinger 2012-07-18 644
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [PATCH v3 04/12] opp: Add dev_pm_opp_sync_regulators()
by kernel test robot
Hi Dmitry,
I love your patch! Yet something to improve:
[auto build test ERROR on pm/linux-next]
[also build test ERROR on linux/master linus/master v5.11-rc4 next-20210115]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Dmitry-Osipenko/OPP-API-fixes-an...
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/6bab64a141641bb0f56524763ef836d21...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Dmitry-Osipenko/OPP-API-fixes-and-improvements/20210118-090646
git checkout 6bab64a141641bb0f56524763ef836d21bdfd73d
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/opp/core.c: In function 'dev_pm_opp_sync_regulators':
>> drivers/opp/core.c:2548:9: error: implicit declaration of function 'regulator_sync_voltage'; did you mean 'regulator_set_voltage'? [-Werror=implicit-function-declaration]
2548 | ret = regulator_sync_voltage(reg);
| ^~~~~~~~~~~~~~~~~~~~~~
| regulator_set_voltage
cc1: some warnings being treated as errors
vim +2548 drivers/opp/core.c
2516
2517 /**
2518 * dev_pm_opp_sync_regulators() - Sync state of voltage regulators
2519 * @dev: device for which we do this operation
2520 *
2521 * Sync voltage state of the OPP table regulators.
2522 *
2523 * Return: 0 on success or a negative error value.
2524 */
2525 int dev_pm_opp_sync_regulators(struct device *dev)
2526 {
2527 struct opp_table *opp_table;
2528 struct regulator *reg;
2529 int i, ret = 0;
2530
2531 /* Device may not have OPP table */
2532 opp_table = _find_opp_table(dev);
2533 if (IS_ERR(opp_table))
2534 return 0;
2535
2536 /* Regulator may not be required for the device */
2537 if (!opp_table->regulators)
2538 goto put_table;
2539
2540 mutex_lock(&opp_table->lock);
2541
2542 /* Nothing to sync if voltage wasn't changed */
2543 if (!opp_table->enabled)
2544 goto unlock;
2545
2546 for (i = 0; i < opp_table->regulator_count; i++) {
2547 reg = opp_table->regulators[i];
> 2548 ret = regulator_sync_voltage(reg);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
Re: [PATCH 5/5] btrfs: add preferred_metadata mode mount option
by kernel test robot
Hi Goffredo,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on kdave/for-next]
[also build test WARNING on v5.11-rc3 next-20210115]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Goffredo-Baroncelli/Add-an-ioctl...
base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
config: arm64-randconfig-s032-20210118 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.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-208-g46a52ca4-dirty
# https://github.com/0day-ci/linux/commit/6e3781fa16beb22201a3dac33326357fc...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Goffredo-Baroncelli/Add-an-ioctl-to-set-the-device-properties/20210118-035442
git checkout 6e3781fa16beb22201a3dac33326357fc0a0b7b9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
fs/btrfs/tests/btrfs-tests.c: note: in included file:
>> fs/btrfs/tests/../volumes.h:367:33: sparse: sparse: dubious one-bit signed bitfield
--
fs/btrfs/tests/inode-tests.c: note: in included file:
>> fs/btrfs/tests/../volumes.h:367:33: sparse: sparse: dubious one-bit signed bitfield
--
fs/btrfs/tests/extent-map-tests.c: note: in included file:
>> fs/btrfs/tests/../volumes.h:367:33: sparse: sparse: dubious one-bit signed bitfield
vim +367 fs/btrfs/tests/../volumes.h
cea9e4452ebaf18d Chris Mason 2008-04-09 361
b2117a39fa96cf48 Miao Xie 2011-01-05 362 struct btrfs_device_info {
b2117a39fa96cf48 Miao Xie 2011-01-05 363 struct btrfs_device *dev;
b2117a39fa96cf48 Miao Xie 2011-01-05 364 u64 dev_offset;
b2117a39fa96cf48 Miao Xie 2011-01-05 365 u64 max_avail;
73c5de0051533cbd Arne Jansen 2011-04-12 366 u64 total_avail;
6e3781fa16beb222 Goffredo Baroncelli 2021-01-17 @367 int preferred_metadata:1;
b2117a39fa96cf48 Miao Xie 2011-01-05 368 };
b2117a39fa96cf48 Miao Xie 2011-01-05 369
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
1 year, 8 months
[iio:testing 43/50] drivers/iio/dac/ad5766.c:373:10: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'.
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head: 68059e507c6111e435d1dfee0d3bb0564ef2c698
commit: 3225e120e4ef904145dae41505285b88df55dfec [43/50] iio: dac: ad5766: add driver support for AD5766
compiler: powerpc64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
vim +373 drivers/iio/dac/ad5766.c
3225e120e4ef9041 Cristian Pop 2021-01-15 355
3225e120e4ef9041 Cristian Pop 2021-01-15 356 static ssize_t ad5766_read_ext(struct iio_dev *indio_dev,
3225e120e4ef9041 Cristian Pop 2021-01-15 357 uintptr_t private,
3225e120e4ef9041 Cristian Pop 2021-01-15 358 const struct iio_chan_spec *chan,
3225e120e4ef9041 Cristian Pop 2021-01-15 359 char *buf)
3225e120e4ef9041 Cristian Pop 2021-01-15 360 {
3225e120e4ef9041 Cristian Pop 2021-01-15 361 struct ad5766_state *st = iio_priv(indio_dev);
3225e120e4ef9041 Cristian Pop 2021-01-15 362
3225e120e4ef9041 Cristian Pop 2021-01-15 363 switch (private) {
3225e120e4ef9041 Cristian Pop 2021-01-15 364 case AD5766_DITHER_ENABLE:
3225e120e4ef9041 Cristian Pop 2021-01-15 365 return sprintf(buf, "%u\n",
3225e120e4ef9041 Cristian Pop 2021-01-15 366 !(st->dither_enable & BIT(chan->channel)));
3225e120e4ef9041 Cristian Pop 2021-01-15 367 break;
3225e120e4ef9041 Cristian Pop 2021-01-15 368 case AD5766_DITHER_INVERT:
3225e120e4ef9041 Cristian Pop 2021-01-15 369 return sprintf(buf, "%u\n",
3225e120e4ef9041 Cristian Pop 2021-01-15 370 !!(st->dither_invert & BIT(chan->channel)));
3225e120e4ef9041 Cristian Pop 2021-01-15 371 break;
3225e120e4ef9041 Cristian Pop 2021-01-15 372 case AD5766_DITHER_SOURCE:
3225e120e4ef9041 Cristian Pop 2021-01-15 @373 return sprintf(buf, "%u\n",
3225e120e4ef9041 Cristian Pop 2021-01-15 374 ad5766_get_dither_source(indio_dev, chan));
3225e120e4ef9041 Cristian Pop 2021-01-15 375 default:
3225e120e4ef9041 Cristian Pop 2021-01-15 376 return -EINVAL;
3225e120e4ef9041 Cristian Pop 2021-01-15 377 }
3225e120e4ef9041 Cristian Pop 2021-01-15 378 }
3225e120e4ef9041 Cristian Pop 2021-01-15 379
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
[linux-next:master 3947/3956] mm/secretmem.c:49:33: error: use of undeclared identifier 'PMD_PAGE_ORDER'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: b3a3cbdec55b090d22a09f75efb7c7d34cb97f25
commit: 23a501a73218142f7b1d90e7a11a9ae800d1273f [3947/3956] secretmem: use PMD-size pages to amortize direct map fragmentation
config: riscv-randconfig-r003-20210118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bfd75bdf3fd62d4f5e7028d4122f9ffa517f2a09)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
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 23a501a73218142f7b1d90e7a11a9ae800d1273f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:564:9: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return inw(addr);
^~~~~~~~~
arch/riscv/include/asm/io.h:56:76: note: expanded from macro 'inw'
#define inw(c) ({ u16 __v; __io_pbr(); __v = readw_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:88:76: note: expanded from macro 'readw_cpu'
#define readw_cpu(c) ({ u16 __r = le16_to_cpu((__force __le16)__raw_readw(c)); __r; })
^
include/uapi/linux/byteorder/little_endian.h:36:51: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
^
In file included from mm/secretmem.c:15:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:572:9: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return inl(addr);
^~~~~~~~~
arch/riscv/include/asm/io.h:57:76: note: expanded from macro 'inl'
#define inl(c) ({ u32 __v; __io_pbr(); __v = readl_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:89:76: note: expanded from macro 'readl_cpu'
#define readl_cpu(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; })
^
include/uapi/linux/byteorder/little_endian.h:34:51: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
^
In file included from mm/secretmem.c:15:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:580:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
outb(value, addr);
^~~~~~~~~~~~~~~~~
arch/riscv/include/asm/io.h:59:68: note: expanded from macro 'outb'
#define outb(v,c) ({ __io_pbw(); writeb_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:91:52: note: expanded from macro 'writeb_cpu'
#define writeb_cpu(v, c) ((void)__raw_writeb((v), (c)))
^
In file included from mm/secretmem.c:15:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:588:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
outw(value, addr);
^~~~~~~~~~~~~~~~~
arch/riscv/include/asm/io.h:60:68: note: expanded from macro 'outw'
#define outw(v,c) ({ __io_pbw(); writew_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:92:76: note: expanded from macro 'writew_cpu'
#define writew_cpu(v, c) ((void)__raw_writew((__force u16)cpu_to_le16(v), (c)))
^
In file included from mm/secretmem.c:15:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:596:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
outl(value, addr);
^~~~~~~~~~~~~~~~~
arch/riscv/include/asm/io.h:61:68: note: expanded from macro 'outl'
#define outl(v,c) ({ __io_pbw(); writel_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:93:76: note: expanded from macro 'writel_cpu'
#define writel_cpu(v, c) ((void)__raw_writel((__force u32)cpu_to_le32(v), (c)))
^
In file included from mm/secretmem.c:15:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:1005:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
~~~~~~~~~~ ^
>> mm/secretmem.c:49:33: error: use of undeclared identifier 'PMD_PAGE_ORDER'
unsigned long nr_pages = (1 << PMD_PAGE_ORDER);
^
mm/secretmem.c:156:6: error: implicit declaration of function 'mlock_future_check' [-Werror,-Wimplicit-function-declaration]
if (mlock_future_check(vma->vm_mm, vma->vm_flags | VM_LOCKED, len))
^
7 warnings and 2 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CMA
Depends on MMU
Selected by
- SECRETMEM
vim +/PMD_PAGE_ORDER +49 mm/secretmem.c
46
47 static int secretmem_pool_increase(struct secretmem_ctx *ctx, gfp_t gfp)
48 {
> 49 unsigned long nr_pages = (1 << PMD_PAGE_ORDER);
50 struct gen_pool *pool = ctx->pool;
51 unsigned long addr;
52 struct page *page;
53 int err;
54
55 page = cma_alloc(secretmem_cma, nr_pages, PMD_SIZE, gfp & __GFP_NOWARN);
56 if (!page)
57 return -ENOMEM;
58
59 err = set_direct_map_invalid_noflush(page, nr_pages);
60 if (err)
61 goto err_cma_release;
62
63 addr = (unsigned long)page_address(page);
64 err = gen_pool_add(pool, addr, PMD_SIZE, NUMA_NO_NODE);
65 if (err)
66 goto err_set_direct_map;
67
68 flush_tlb_kernel_range(addr, addr + PMD_SIZE);
69
70 return 0;
71
72 err_set_direct_map:
73 /*
74 * If a split of PUD-size page was required, it already happened
75 * when we marked the pages invalid which guarantees that this call
76 * won't fail
77 */
78 set_direct_map_default_noflush(page, nr_pages);
79 err_cma_release:
80 cma_release(secretmem_cma, page, nr_pages);
81 return err;
82 }
83
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
[linux-next:master 3945/3956] mm/secretmem.c:107:6: error: implicit declaration of function 'mlock_future_check'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: b3a3cbdec55b090d22a09f75efb7c7d34cb97f25
commit: 5577d3803e8c46cfe63791e5fd0cb2c782d4db3b [3945/3956] mm: introduce memfd_secret system call to create "secret" memory areas
config: riscv-randconfig-r003-20210118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bfd75bdf3fd62d4f5e7028d4122f9ffa517f2a09)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
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 5577d3803e8c46cfe63791e5fd0cb2c782d4db3b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:564:9: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return inw(addr);
^~~~~~~~~
arch/riscv/include/asm/io.h:56:76: note: expanded from macro 'inw'
#define inw(c) ({ u16 __v; __io_pbr(); __v = readw_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:88:76: note: expanded from macro 'readw_cpu'
#define readw_cpu(c) ({ u16 __r = le16_to_cpu((__force __le16)__raw_readw(c)); __r; })
^
include/uapi/linux/byteorder/little_endian.h:36:51: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
^
In file included from mm/secretmem.c:14:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:572:9: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return inl(addr);
^~~~~~~~~
arch/riscv/include/asm/io.h:57:76: note: expanded from macro 'inl'
#define inl(c) ({ u32 __v; __io_pbr(); __v = readl_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:89:76: note: expanded from macro 'readl_cpu'
#define readl_cpu(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; })
^
include/uapi/linux/byteorder/little_endian.h:34:51: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
^
In file included from mm/secretmem.c:14:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:580:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
outb(value, addr);
^~~~~~~~~~~~~~~~~
arch/riscv/include/asm/io.h:59:68: note: expanded from macro 'outb'
#define outb(v,c) ({ __io_pbw(); writeb_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:91:52: note: expanded from macro 'writeb_cpu'
#define writeb_cpu(v, c) ((void)__raw_writeb((v), (c)))
^
In file included from mm/secretmem.c:14:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:588:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
outw(value, addr);
^~~~~~~~~~~~~~~~~
arch/riscv/include/asm/io.h:60:68: note: expanded from macro 'outw'
#define outw(v,c) ({ __io_pbw(); writew_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:92:76: note: expanded from macro 'writew_cpu'
#define writew_cpu(v, c) ((void)__raw_writew((__force u16)cpu_to_le16(v), (c)))
^
In file included from mm/secretmem.c:14:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:596:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
outl(value, addr);
^~~~~~~~~~~~~~~~~
arch/riscv/include/asm/io.h:61:68: note: expanded from macro 'outl'
#define outl(v,c) ({ __io_pbw(); writel_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
~~~~~~~~~~ ^
arch/riscv/include/asm/mmio.h:93:76: note: expanded from macro 'writel_cpu'
#define writel_cpu(v, c) ((void)__raw_writel((__force u32)cpu_to_le32(v), (c)))
^
In file included from mm/secretmem.c:14:
In file included from include/linux/pagemap.h:11:
In file included from include/linux/highmem.h:10:
In file included from include/linux/hardirq.h:10:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/riscv/include/asm/io.h:149:
include/asm-generic/io.h:1005:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
~~~~~~~~~~ ^
>> mm/secretmem.c:107:6: error: implicit declaration of function 'mlock_future_check' [-Werror,-Wimplicit-function-declaration]
if (mlock_future_check(vma->vm_mm, vma->vm_flags | VM_LOCKED, len))
^
7 warnings and 1 error generated.
vim +/mlock_future_check +107 mm/secretmem.c
99
100 static int secretmem_mmap(struct file *file, struct vm_area_struct *vma)
101 {
102 unsigned long len = vma->vm_end - vma->vm_start;
103
104 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0)
105 return -EINVAL;
106
> 107 if (mlock_future_check(vma->vm_mm, vma->vm_flags | VM_LOCKED, len))
108 return -EAGAIN;
109
110 vma->vm_ops = &secretmem_vm_ops;
111 vma->vm_flags |= VM_LOCKED;
112
113 return 0;
114 }
115
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x36BA): unknown relocation (110) against symbol
by kernel test robot
CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin(a)gmail.com>
CC: Michael Ellerman <mpe(a)ellerman.id.au>
Hi Nicholas,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e2da783614bb8930aa89753d3c3cd53d5604665d
commit: 903dd1ff453e458fc7608ee4df42a6df16d3d1a0 powerpc/64e: remove 64s specific interrupt soft-mask code
date: 3 months ago
config: powerpc64-randconfig-r005-20210118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bfd75bdf3fd62d4f5e7028d4122f9ffa517f2a09)
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
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 903dd1ff453e458fc7608ee4df42a6df16d3d1a0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x22FE): unknown relocation (110) against symbol interrupt_base_book3e
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2316): unknown relocation (110) against symbol __end_interrupts
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x248A): unknown relocation (110) against symbol interrupt_base_book3e
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x24A2): unknown relocation (110) against symbol __end_interrupts
>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x36BA): unknown relocation (110) against symbol
ld.lld: error: undefined symbol: .early_setup
>>> referenced by arch/powerpc/kernel/head_64.o:(.ref.text+0x8E)
>>> did you mean: early_setup
>>> defined in: arch/powerpc/built-in.a(kernel/setup_64.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months
ld.lld: error: debug_core.c:(.init.text+0x9C): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
by kernel test robot
CC: linux-kernel(a)vger.kernel.org
TO: Douglas Anderson <dianders(a)chromium.org>
CC: Daniel Thompson <daniel.thompson(a)linaro.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a1339d6355ac42e1bf4fcdfce8bfce61172f8891
commit: b18b099e04f450cdc77bec72acefcde7042bd1f3 kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"
date: 4 months ago
config: riscv-randconfig-r031-20210118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bfd75bdf3fd62d4f5e7028d4122f9ffa517f2a09)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b18b099e04f450cdc77bec72acefcde7042bd1f3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x8): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2C20): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2C32): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2C90): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x2F1A): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x302C): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3098): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x30D4): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x30FE): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x314E): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3170): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3186): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x31D4): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3230): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.text+0x3250): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
>> ld.lld: error: debug_core.c:(.init.text+0x9C): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: debug_core.c:(.init.text+0x104): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: undefined symbol: stpcpy
>>> referenced by tty_io.c
>>> tty/tty_io.o:(tty_line_name) in archive drivers/built-in.a
>>> referenced by scsi_transport_sas.c
>>> scsi/scsi_transport_sas.o:(get_sas_device_type_names) in archive drivers/built-in.a
>>> referenced by scsi_transport_sas.c
>>> scsi/scsi_transport_sas.o:(get_sas_linkspeed_names) in archive drivers/built-in.a
>>> referenced 18 more times
>>> did you mean: strcpy
>>> defined in: lib/lib.a(string.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 8 months