net/core/rtnetlink.c:1234:1: internal compiler error: output_operand: unrecognized address

From: kbuild test robot
Date: Sat Apr 29 2017 - 16:18:38 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0060e79a1f5231940ef38e6621745c0c808065cb
commit: 9af15c38254d81c9991eba89335ca7c537d7f2c3 device: Implement a bus agnostic dev_num_vf routine
date: 3 months ago
config: cris-artpec_3_defconfig (attached as .config)
compiler: cris-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9af15c38254d81c9991eba89335ca7c537d7f2c3
# save the attached .config to linux build tree
make.cross ARCH=cris

All errors (new ones prefixed by >>):

(post_inc:SI (reg:SI 15 acr))
net/core/rtnetlink.c: In function 'rtnl_fill_vfinfo':
>> net/core/rtnetlink.c:1234:1: internal compiler error: output_operand: unrecognized address
}
^
0x6f7b1f output_operand_lossage(char const*, ...)
/c/gcc/gcc/final.c:3409
0x6f7dc3 output_address(machine_mode, rtx_def*)
/c/gcc/gcc/final.c:3859
0x6f7d1c output_operand(rtx_def*, int)
/c/gcc/gcc/final.c:3843
0x6f81df output_asm_insn(char const*, rtx_def**)
/c/gcc/gcc/final.c:3759
0x6f9c8c output_asm_insn(char const*, rtx_def**)
/c/gcc/gcc/final.c:3010
0x6f9c8c final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
/c/gcc/gcc/final.c:3015
0x6fa189 final(rtx_insn*, _IO_FILE*, int)
/c/gcc/gcc/final.c:2045
0x6fa697 rest_of_handle_final
/c/gcc/gcc/final.c:4441
0x6fa697 execute
/c/gcc/gcc/final.c:4516
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:1625: Warning: end of file not at end of a line; newline inserted
{standard input}:1626: Error: Illegal operands

vim +1234 net/core/rtnetlink.c

79aab093 Moshe Shemesh 2016-09-22 1228
79aab093 Moshe Shemesh 2016-09-22 1229 nla_put_vf_failure:
79aab093 Moshe Shemesh 2016-09-22 1230 nla_nest_cancel(skb, vf);
79aab093 Moshe Shemesh 2016-09-22 1231 nla_put_vfinfo_failure:
79aab093 Moshe Shemesh 2016-09-22 1232 nla_nest_cancel(skb, vfinfo);
79aab093 Moshe Shemesh 2016-09-22 1233 return -EMSGSIZE;
b22b941b Hannes Frederic Sowa 2015-11-17 @1234 }
b22b941b Hannes Frederic Sowa 2015-11-17 1235
b22b941b Hannes Frederic Sowa 2015-11-17 1236 static int rtnl_fill_link_ifmap(struct sk_buff *skb, struct net_device *dev)
b22b941b Hannes Frederic Sowa 2015-11-17 1237 {

:::::: The code at line 1234 was first introduced by commit
:::::: b22b941b2c253a20e1d000c671594c4f3f0a3858 rtnetlink: fix frame size warning in rtnl_fill_ifinfo

:::::: TO: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip