From: kbuild test robot <fengguang.wu@intel.com>
To: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
Date: Fri, 16 Sep 2016 19:57:14 +0800 [thread overview]
Message-ID: <201609161909.OOBFUdbq%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3355 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 024c7e3756d8a42fc41fe8a9488488b9b09d1dcc
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization for constant divisor on 32-bit machines
date: 10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
scripts/link-vmlinux.sh: line 52: 198800 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} --start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
vim +204 net/sunrpc/stats.c
840210fc Weston Andros Adamson 2014-06-24 188 &stats[task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24 189 }
0a702195 Weston Andros Adamson 2012-02-17 190 EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever 2006-03-20 191
ec535ce1 Adrian Bunk 2006-04-18 192 static void _print_name(struct seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk 2006-04-18 193 struct rpc_procinfo *procs)
cc0175c1 Chuck Lever 2006-03-20 194 {
cc0175c1 Chuck Lever 2006-03-20 195 if (procs[op].p_name)
cc0175c1 Chuck Lever 2006-03-20 196 seq_printf(seq, "\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever 2006-03-20 197 else if (op == 0)
cc0175c1 Chuck Lever 2006-03-20 198 seq_printf(seq, "\t NULL: ");
cc0175c1 Chuck Lever 2006-03-20 199 else
cc0175c1 Chuck Lever 2006-03-20 200 seq_printf(seq, "\t%12u: ", op);
cc0175c1 Chuck Lever 2006-03-20 201 }
cc0175c1 Chuck Lever 2006-03-20 202
11c556b3 Chuck Lever 2006-03-20 203 void rpc_print_iostats(struct seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever 2006-03-20 @204 {
11c556b3 Chuck Lever 2006-03-20 205 struct rpc_iostats *stats = clnt->cl_metrics;
2446ab60 Trond Myklebust 2012-03-01 206 struct rpc_xprt *xprt;
11c556b3 Chuck Lever 2006-03-20 207 unsigned int op, maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever 2006-03-20 208
11c556b3 Chuck Lever 2006-03-20 209 if (!stats)
11c556b3 Chuck Lever 2006-03-20 210 return;
11c556b3 Chuck Lever 2006-03-20 211
11c556b3 Chuck Lever 2006-03-20 212 seq_printf(seq, "\tRPC iostats version: %s ", RPC_IOSTATS_VERS);
:::::: The code at line 204 was first introduced by commit
:::::: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for collecting stats in the RPC client
:::::: TO: Chuck Lever <cel@netapp.com>
:::::: CC: Trond Myklebust <Trond.Myklebust@netapp.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 11783 bytes --]
next reply other threads:[~2016-09-16 11:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-16 11:57 kbuild test robot [this message]
2016-09-22 3:52 kbuild test robot
2016-09-23 21:11 ` Nicolas Pitre
2016-10-04 4:33 ` Fengguang Wu
2016-10-04 13:08 ` Nicolas Pitre
2016-10-05 23:57 ` Fengguang Wu
2016-10-06 2:43 ` Nicolas Pitre
2016-10-06 11:27 ` Fengguang Wu
2016-10-01 23:44 kbuild test robot
2016-10-04 4:06 ` Nicolas Pitre
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=201609161909.OOBFUdbq%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.pitre@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®