Errors building libgcc for powerpc64le-linux-gnu

Ian Lance Taylor via gcc gcc@gcc.gnu.org
Sat Dec 14 18:52:00 GMT 2019


I'm seeing compiler crashes building libgcc for powerpc64le-linux-gnu,
cross-compiling from x86_64-pc-linux-gnu.  I'm at SVN revision 279830.
I'm seeing the following.  Is anybody else seeing this crash?  Thanks.

Ian

/tmp/go-build-release/gccgo-objdir/ppc/./gcc/xgcc
-B/tmp/go-build-release/gccgo-objdir/ppc/./gcc/
-B/tmp/go-build-release/gccgo-installdir/ppc/powerpc64le-linux-gnu/bin/
-B/tmp/go-build-release/gccgo-installdir/ppc/powerpc64le-linux-gnu/lib/
-isystem /tmp/go-build-release/gccgo-installdir/ppc/powerpc64le-linux-gnu/include
-isystem /tmp/go-build-release/gccgo-installdir/ppc/powerpc64le-linux-gnu/sys-include
--sysroot=/google/src/files/285475989/depot/google3/third_party/grte/v5_ppc/release/usr/grte/v5
  -g -O2 -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag
-Wstrict-prototypes -Wmissing-prototypes -Wno-error=format-diag
-Wold-style-definition  -isystem ./include   -fPIC -mlong-double-128
-mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fPIC -mlong-double-128 -mno-minimal-toc -I.
-I. -I../.././gcc -I/tmp/go-build-release/gccgo-srcdir/libgcc
-I/tmp/go-build-release/gccgo-srcdir/libgcc/.
-I/tmp/go-build-release/gccgo-srcdir/libgcc/../gcc
-I/tmp/go-build-release/gccgo-srcdir/libgcc/../include
-I/tmp/go-build-release/gccgo-srcdir/libgcc/../libdecnumber/dpd
-I/tmp/go-build-release/gccgo-srcdir/libgcc/../libdecnumber
-DHAVE_CC_TLS  -o decNumber.o -MT decNumber.o -MD -MP -MF
decNumber.dep -c
/tmp/go-build-release/gccgo-srcdir/libgcc/../libdecnumber/decNumber.c
/tmp/go-build-release/gccgo-srcdir/libgcc/../libdecnumber/decNumber.c:
In function 'decToString':
/tmp/go-build-release/gccgo-srcdir/libgcc/../libdecnumber/decNumber.c:3760:3:
error: unrecognizable insn:
 3760 |   } /* decToString */
      |   ^
(insn/f 1592 1591 1593 145 (set (reg:CC 104 4)
        (unspec:CC [
                (reg:SI 12 12)
                (const_int 8 [0x8])
            ] UNSPEC_MOVESI_TO_CR))
"/tmp/go-build-release/gccgo-srcdir/libgcc/../libdecnumber/decNumber.c":3760:3
-1
     (expr_list:REG_DEAD (reg:SI 12 12)
        (expr_list:REG_CFA_RESTORE (reg:SI 104 4)
            (nil))))
during RTL pass: cprop_hardreg
/tmp/go-build-release/gccgo-srcdir/libgcc/../libdecnumber/decNumber.c:3760:3:
internal compiler error: in extract_insn, at recog.c:2294
0xb95832 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
/tmp/go-build-release/gccgo-srcdir/gcc/rtl-error.c:108
0xb9585b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/tmp/go-build-release/gccgo-srcdir/gcc/rtl-error.c:116
0xb63ec2 extract_insn(rtx_insn*)
/tmp/go-build-release/gccgo-srcdir/gcc/recog.c:2294
0xb67995 extract_constrain_insn(rtx_insn*)
/tmp/go-build-release/gccgo-srcdir/gcc/recog.c:2193
0xb6a552 copyprop_hardreg_forward_1(basic_block_def*, value_data*)
/tmp/go-build-release/gccgo-srcdir/gcc/regcprop.c:802
0xb6e207 (anonymous namespace)::pass_cprop_hardreg::execute(function*)
/tmp/go-build-release/gccgo-srcdir/gcc/regcprop.c:1367
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://go.ext.google.com/go/> for instructions.
make: *** [Makefile:645: decNumber.o] Error 1



More information about the Gcc mailing list