From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/mips/kernel/signal.c:141: undefined reference to `_restore_fp_context'
Date: Mon, 18 May 2020 08:49:34 +0800 [thread overview]
Message-ID: <20200518004934.GD4344@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3488 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3d1c1e5931ce45b3a3f309385bbc00c78e9951c6
commit: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
date: 7 months ago
config: mips-randconfig-r011-20200517 (attached as .config)
compiler: mips64-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
git checkout 7505576d1c1ac0cfe85fdf90999433dd8b673012
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
mips64-linux-ld: arch/mips/kernel/signal.o: in function `restore_hw_fp_context':
>> arch/mips/kernel/signal.c:141: undefined reference to `_restore_fp_context'
mips64-linux-ld: arch/mips/kernel/signal.o: in function `save_hw_fp_context':
>> arch/mips/kernel/signal.c:132: undefined reference to `_save_fp_context'
mips64-linux-ld: arch/mips/kernel/traps.o: in function `trap_init':
>> arch/mips/kernel/traps.c:2408: undefined reference to `handle_fpe'
>> mips64-linux-ld: arch/mips/kernel/traps.c:2412: undefined reference to `handle_fpe'
>> mips64-linux-ld: arch/mips/kernel/traps.c:2412: undefined reference to `handle_fpe'
vim +141 arch/mips/kernel/signal.c
4eec81d7d8b212 Paul Burton 2018-11-07 122
2db9ca0a355100 Paul Burton 2015-07-27 123 /*
2db9ca0a355100 Paul Burton 2015-07-27 124 * Wrappers for the assembly _{save,restore}_fp_context functions.
2db9ca0a355100 Paul Burton 2015-07-27 125 */
2db9ca0a355100 Paul Burton 2015-07-27 126 static int save_hw_fp_context(void __user *sc)
2db9ca0a355100 Paul Burton 2015-07-27 127 {
2db9ca0a355100 Paul Burton 2015-07-27 128 struct mips_abi *abi = current->thread.abi;
2db9ca0a355100 Paul Burton 2015-07-27 129 uint64_t __user *fpregs = sc + abi->off_sc_fpregs;
2db9ca0a355100 Paul Burton 2015-07-27 130 uint32_t __user *csr = sc + abi->off_sc_fpc_csr;
2db9ca0a355100 Paul Burton 2015-07-27 131
2db9ca0a355100 Paul Burton 2015-07-27 @132 return _save_fp_context(fpregs, csr);
2db9ca0a355100 Paul Burton 2015-07-27 133 }
2db9ca0a355100 Paul Burton 2015-07-27 134
2db9ca0a355100 Paul Burton 2015-07-27 135 static int restore_hw_fp_context(void __user *sc)
2db9ca0a355100 Paul Burton 2015-07-27 136 {
2db9ca0a355100 Paul Burton 2015-07-27 137 struct mips_abi *abi = current->thread.abi;
2db9ca0a355100 Paul Burton 2015-07-27 138 uint64_t __user *fpregs = sc + abi->off_sc_fpregs;
2db9ca0a355100 Paul Burton 2015-07-27 139 uint32_t __user *csr = sc + abi->off_sc_fpc_csr;
2db9ca0a355100 Paul Burton 2015-07-27 140
2db9ca0a355100 Paul Burton 2015-07-27 @141 return _restore_fp_context(fpregs, csr);
2db9ca0a355100 Paul Burton 2015-07-27 142 }
2db9ca0a355100 Paul Burton 2015-07-27 143
:::::: The code at line 141 was first introduced by commit
:::::: 2db9ca0a355100c40d1bef2aae3b9d9cf199cd04 MIPS: Use struct mips_abi offsets to save FP context
:::::: TO: Paul Burton <paul.burton@imgtec.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32687 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Paul Burton <paulburton@kernel.org>
Subject: arch/mips/kernel/signal.c:141: undefined reference to `_restore_fp_context'
Date: Mon, 18 May 2020 08:49:34 +0800 [thread overview]
Message-ID: <20200518004934.GD4344@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3425 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3d1c1e5931ce45b3a3f309385bbc00c78e9951c6
commit: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
date: 7 months ago
config: mips-randconfig-r011-20200517 (attached as .config)
compiler: mips64-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
git checkout 7505576d1c1ac0cfe85fdf90999433dd8b673012
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
mips64-linux-ld: arch/mips/kernel/signal.o: in function `restore_hw_fp_context':
>> arch/mips/kernel/signal.c:141: undefined reference to `_restore_fp_context'
mips64-linux-ld: arch/mips/kernel/signal.o: in function `save_hw_fp_context':
>> arch/mips/kernel/signal.c:132: undefined reference to `_save_fp_context'
mips64-linux-ld: arch/mips/kernel/traps.o: in function `trap_init':
>> arch/mips/kernel/traps.c:2408: undefined reference to `handle_fpe'
>> mips64-linux-ld: arch/mips/kernel/traps.c:2412: undefined reference to `handle_fpe'
>> mips64-linux-ld: arch/mips/kernel/traps.c:2412: undefined reference to `handle_fpe'
vim +141 arch/mips/kernel/signal.c
4eec81d7d8b212 Paul Burton 2018-11-07 122
2db9ca0a355100 Paul Burton 2015-07-27 123 /*
2db9ca0a355100 Paul Burton 2015-07-27 124 * Wrappers for the assembly _{save,restore}_fp_context functions.
2db9ca0a355100 Paul Burton 2015-07-27 125 */
2db9ca0a355100 Paul Burton 2015-07-27 126 static int save_hw_fp_context(void __user *sc)
2db9ca0a355100 Paul Burton 2015-07-27 127 {
2db9ca0a355100 Paul Burton 2015-07-27 128 struct mips_abi *abi = current->thread.abi;
2db9ca0a355100 Paul Burton 2015-07-27 129 uint64_t __user *fpregs = sc + abi->off_sc_fpregs;
2db9ca0a355100 Paul Burton 2015-07-27 130 uint32_t __user *csr = sc + abi->off_sc_fpc_csr;
2db9ca0a355100 Paul Burton 2015-07-27 131
2db9ca0a355100 Paul Burton 2015-07-27 @132 return _save_fp_context(fpregs, csr);
2db9ca0a355100 Paul Burton 2015-07-27 133 }
2db9ca0a355100 Paul Burton 2015-07-27 134
2db9ca0a355100 Paul Burton 2015-07-27 135 static int restore_hw_fp_context(void __user *sc)
2db9ca0a355100 Paul Burton 2015-07-27 136 {
2db9ca0a355100 Paul Burton 2015-07-27 137 struct mips_abi *abi = current->thread.abi;
2db9ca0a355100 Paul Burton 2015-07-27 138 uint64_t __user *fpregs = sc + abi->off_sc_fpregs;
2db9ca0a355100 Paul Burton 2015-07-27 139 uint32_t __user *csr = sc + abi->off_sc_fpc_csr;
2db9ca0a355100 Paul Burton 2015-07-27 140
2db9ca0a355100 Paul Burton 2015-07-27 @141 return _restore_fp_context(fpregs, csr);
2db9ca0a355100 Paul Burton 2015-07-27 142 }
2db9ca0a355100 Paul Burton 2015-07-27 143
:::::: The code at line 141 was first introduced by commit
:::::: 2db9ca0a355100c40d1bef2aae3b9d9cf199cd04 MIPS: Use struct mips_abi offsets to save FP context
:::::: TO: Paul Burton <paul.burton@imgtec.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
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: 32687 bytes --]
next reply other threads:[~2020-05-18 0:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 0:49 kbuild test robot [this message]
2020-05-18 0:49 ` arch/mips/kernel/signal.c:141: undefined reference to `_restore_fp_context' kbuild test robot
-- strict thread matches above, loose matches on Subject: below --
2020-09-03 22:05 kernel test robot
2020-09-03 22:05 ` kernel test robot
2020-10-25 0:30 kernel test robot
2020-10-25 0:30 ` kernel test robot
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=20200518004934.GD4344@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.