[tip:locking/core 46/49] drivers/scsi/fcoe/fcoe_ctlr.c:3097:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
From: kbuild test robot
Date: Sun Feb 12 2017 - 07:24:42 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
head: bc88c10d7e6900916f5e1ba3829d66a9de92b633
commit: 10383aea2f445bce9b2a2b308def08134b438c8e [46/49] kref: Implement 'struct kref' using refcount_t
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
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 10383aea2f445bce9b2a2b308def08134b438c8e
# save the attached .config to linux build tree
make.cross ARCH=openrisc
All errors (new ones prefixed by >>):
drivers/scsi/fcoe/fcoe_ctlr.c: In function 'fcoe_ctlr_vn_disc':
drivers/scsi/fcoe/fcoe_ctlr.c:3097:1: error: insn does not satisfy its constraints:
(call_insn/j 178 177 179 28 drivers/scsi/fcoe/fcoe_ctlr.c:3096 (parallel [
(call (mem:SI (mem/c:SI (reg/f:SI 1 r1) [0 %sfp+-20 S4 A32]) [0 S4 A32])
(const_int 0 [0x0]))
(use (reg:SI 9 r9))
]) 5 {sibcall_internal} (nil)
(expr_list:REG_DEP_TRUE (use (reg:SI 4 r4))
(expr_list:REG_DEP_TRUE (use (reg:SI 3 r3))
(nil))))
>> drivers/scsi/fcoe/fcoe_ctlr.c:3097:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
vim +3097 drivers/scsi/fcoe/fcoe_ctlr.c
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3081 mutex_lock(&disc->disc_mutex);
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3082 callback = disc->pending ? disc->disc_callback : NULL;
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3083 disc->pending = 0;
a407c593 drivers/scsi/fcoe/fcoe_ctlr.c Hannes Reinecke 2016-09-30 3084 mutex_unlock(&disc->disc_mutex);
a407c593 drivers/scsi/fcoe/fcoe_ctlr.c Hannes Reinecke 2016-09-30 3085 rcu_read_lock();
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3086 list_for_each_entry_rcu(rdata, &disc->rports, peers) {
a407c593 drivers/scsi/fcoe/fcoe_ctlr.c Hannes Reinecke 2016-09-30 3087 if (!kref_get_unless_zero(&rdata->kref))
a407c593 drivers/scsi/fcoe/fcoe_ctlr.c Hannes Reinecke 2016-09-30 3088 continue;
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3089 frport = fcoe_ctlr_rport(rdata);
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3090 if (frport->time)
05d7d3b0 drivers/scsi/fcoe/fcoe_ctlr.c Hannes Reinecke 2016-10-18 3091 fc_rport_login(rdata);
944ef968 drivers/scsi/fcoe/fcoe_ctlr.c Hannes Reinecke 2016-10-18 3092 kref_put(&rdata->kref, fc_rport_destroy);
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3093 }
a407c593 drivers/scsi/fcoe/fcoe_ctlr.c Hannes Reinecke 2016-09-30 3094 rcu_read_unlock();
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3095 if (callback)
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3096 callback(lport, DISC_EV_SUCCESS);
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 @3097 }
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3098
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3099 /**
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3100 * fcoe_ctlr_vn_timeout - timer work function for VN2VN mode.
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3101 * @fip: The FCoE controller
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3102 */
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3103 static void fcoe_ctlr_vn_timeout(struct fcoe_ctlr *fip)
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3104 {
e10f8c66 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2010-07-20 3105 unsigned long next_time;
:::::: The code at line 3097 was first introduced by commit
:::::: e10f8c667b874a57512c936089092a3d1ef7ab8a [SCSI] libfcoe: fcoe: fnic: add FIP VN2VN point-to-multipoint support
:::::: TO: Joe Eykholt <jeykholt@xxxxxxxxx>
:::::: CC: James Bottomley <James.Bottomley@xxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip