http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56548

Ralf Baechle <r...@linux-mips.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r...@linux-mips.org

--- Comment #8 from Ralf Baechle <r...@linux-mips.org> ---
FWIW, I'm also hitting the same compiler bug with vanilla GCC 4.7.2 and 4.8.0
compiling a heavily patched 3.4 kernel with LTO for a mips64-linux target.

The error messages for gcc 4.7.2:

  LDFINAL  .tmp_vmlinux1
In file included from include/net/sock.h:2119:0,
                 from net/sunrpc/svcsock.c:1041,
                 from :3662:
net/sunrpc/svcsock.c: In function ‘svc_tcp_recvfrom’:
net/sunrpc/svcsock.c:935:37: internal compiler error: in emit_move_insn, at
expr.c:3435
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [/tmp/ccaNAG6q.ltrans1.ltrans.o] Error 1
make[1]: *** Waiting for unfinished jobs....
lto1: internal compiler error: in output_constructor_regular_field, at
varasm.c:4821
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [/tmp/ccaNAG6q.ltrans0.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status
/usr/lib64/gcc/mips64-lto-linux/4.7.2/../../../../mips64-lto-linux/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [.tmp_vmlinux1] Error 1

The error messages for gcc 4.8.0:

  LDFINAL  .tmp_vmlinux1
net/sunrpc/svcsock.c: In function ‘svc_tcp_recvfrom’:
net/sunrpc/svcsock.c:1104:0: internal compiler error: in emit_move_insn, at
expr.c:3486
 static int svc_tcp_recvfrom(struct svc_rqst *rqstp)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [/tmp/ccehFRUG.ltrans0.ltrans.o] Error 1
make[1]: *** Waiting for unfinished jobs....
net/unix/garbage.c: In function ‘scan_inflight’:
net/unix/garbage.c:156:13: internal compiler error: in copy_to_mode_reg, at
explow.c:641
 static void scan_inflight(struct sock *x, void (*func)(struct unix_sock *),
             ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [/tmp/ccehFRUG.ltrans1.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status
/usr/lib64/gcc/mips64-lto-linux/4.8.0/../../../../mips64-lto-linux/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [.tmp_vmlinux1] Error 1

I'm still working under the assumption that the builds are attempting to do
something stupid but even if so, an ICE is not the proper way to bail out.

Reply via email to