[Bug other/43168] New: internal compiler error for xgcc when building gcc for pdp11-unknown-aout

they dot read dot it at googlemail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 24 20:11:00 GMT 2010


Hello,

I'm trying to build a cross compiler for pdp11-aout targets.
xgcc get build, but when trying to build libs, it aborts reporting internal
compiler error:

../../../../gcc-4.4.3/libgcc/../gcc/libgcc2.c: In function '__mulDI3':
../../../../gcc-4.4.3/libgcc/../gcc/libgcc2.c:562: internal compiler error: in
init_move_cost, at reginfo.c:272
Please submit a full bug report,
with preprocessed source if appropriate.

The abort checks: gcc_assert (have_regs_of_mode[m]);
Some printf-debugging revealed that the current machine_mode is DImode
(value:8).

In gcc-4.4.3/gcc/config/pdp11/pdp11-modes.def I found the following:
CC_MODE (CCFP);
RESET_FLOAT_FORMAT (SF, pdp11_f_format);
RESET_FLOAT_FORMAT (DF, pdp11_d_format);
Does this just modify the default settings? 
I found the complete list of modes in the generated file gcc/insn-modes.h and
read some documentation  on machine modes. I'd like to help but now I'm stuck.

My target was configured as:
../gcc-4.4.3/configure --prefix=/toolchain/pdp11-aout \
                                --target=pdp11-aout \
                                --disable-nls \
                                --disable-libssp \
                                --enable-languages=c \
                               
--with-sysroot=/toolchain/pdp11-aout/newlib-1.17.0/newlib/libc/include \
                                --with-newlib

Best regards,
gerard


-- 
           Summary: internal compiler error for xgcc when building gcc for
                    pdp11-unknown-aout
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: they dot read dot it at googlemail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: pdp11-unknown-aout


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



More information about the Gcc-bugs mailing list