This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14166] New: GCC-3.3.3 build fails with internal compiler error


Hello. I am getting the following error trying to build a cross compiler for 
arm-elf under CygWin. It seems there is an error in the dp-bit.c file with 
THUMB mode.

 Please, tell me if you need more information.

 Regards.

make[1]: Entering directory `/c/gabuild/gcc-build/libiberty'
make[2]: Entering directory `/c/gabuild/gcc-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gabuild/gcc-build/libiberty/testsuite'
make[1]: Leaving directory `/c/gabuild/gcc-build/libiberty'
make[1]: Entering directory `/c/gabuild/gcc-build/gcc'
(cd intl && make all)
make[2]: Entering directory `/c/gabuild/gcc-build/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gabuild/gcc-build/gcc/intl'
make GCC_FOR_TARGET="/c/gabuild/gcc-build/gcc/xgcc -B/c/gabuild/gcc-
build/gcc/ -B/c/gnuarm-3.3.3/arm-elf/bin/ -B/c/gnuarm-3.3.3/arm-elf/lib/ -
isystem /c/gnuarm-3.3.3/arm-elf/include" \
  BUILD_PREFIX="" BUILD_PREFIX_1="loser-" \
  AR_FOR_TARGET="arm-elf-ar" \
  AR_CREATE_FOR_TARGET="arm-elf-ar  rc" \
  AR_FLAGS_FOR_TARGET="" \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wtraditional -pedantic -Wno-long-long " \
  RANLIB_FOR_TARGET="arm-elf-ranlib" \
  RANLIB_TEST_FOR_TARGET="[ -f arm-elf-ranlib ] || ( [ "i686-pc-cygwin" = "arm-
unknown-elf" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
  NM_FOR_TARGET="/c/gnuarm-3.3.3/arm-elf/bin/nm.exe" AWK="gawk" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc -
fno-inline -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc" \
  INCLUDES="-I. -I. -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-
3.3.3/gcc/config -I../../gcc-3.3.3/gcc/../include" \
  CONFIG_H="config.h auto-host.h ../../gcc-
3.3.3/gcc/../include/ansidecl.h ../../gcc-3.3.3/gcc/config/i386/xm-
cygwin.h ../../gcc-3.3.3/gcc/config/dbxelf.h ../../gcc-
3.3.3/gcc/config/elfos.h ../../gcc-3.3.3/gcc/config/arm/unknown-
elf.h ../../gcc-3.3.3/gcc/config/arm/elf.h ../../gcc-
3.3.3/gcc/config/arm/aout.h ../../gcc-3.3.3/gcc/config/arm/arm.h ../../gcc-
3.3.3/gcc/defaults.h ../../gcc-3.3.3/gcc/defaults.h insn-constants.h insn-
flags.h" MACHMODE_H="machmode.h machmode.def ../../gcc-
3.3.3/gcc/config/arm/arm-modes.def" \
  LIB1ASMSRC='arm/lib1funcs.asm' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[2]: Entering directory `/c/gabuild/gcc-build/gcc'
for d in libgcc thumb libgcc/thumb be libgcc/be fpu libgcc/fpu interwork 
libgcc/interwork nofmult libgcc/nofmult fpu/interwork libgcc/fpu/interwork 
fpu/nofmult libgcc/fpu/nofmult be/fpu libgcc/be/fpu be/interwork 
libgcc/be/interwork be/nofmult libgcc/be/nofmult be/fpu/interwork 
libgcc/be/fpu/interwork be/fpu/nofmult libgcc/be/fpu/nofmult thumb/be 
libgcc/thumb/be thumb/interwork libgcc/thumb/interwork thumb/be/interwork 
libgcc/thumb/be/interwork; do \
  if [ -d $d ]; then true; else /bin/sh ../../gcc-3.3.3/gcc/mkinstalldirs $d; 
fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/c/gabuild/gcc-build/gcc/xgcc -B/c/gabuild/gcc-build/gcc/ -B/c/gnuarm-
3.3.3/arm-elf/bin/ -B/c/gnuarm-3.3.3/arm-elf/lib/ -isystem /c/gnuarm-3.3.3/arm-
elf/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc -fno-
inline -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -
I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config -
I../../gcc-3.3.3/gcc/../include -DFINE_GRAINED_LIBRARIES -mthumb -DL_pack_df -
c dp-bit.c -o libgcc/thumb/_pack_df.o
dp-bit.c: In function `__pack_d':
dp-bit.c:411: error: insn does not satisfy its constraints:
(insn:HI 333 331 561 0xa12a1b0 (set (reg:HI 3 r3 [109])
        (mem:HI (label_ref 584) [0 S2 A16])) 169 {*thumb_movhi_insn} 
(insn_list:REG_DEP_ANTI 330 (insn_list:REG_DEP_OUTPUT 329 (nil)))
    (expr_list:REG_EQUIV (const_int 2047 [0x7ff])
        (nil)))
dp-bit.c:411: internal compiler error: in extract_constrain_insn_cached, at 
recog.c:2090
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [libgcc/thumb/_pack_df.o] Error 1
make[2]: Leaving directory `/c/gabuild/gcc-build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/c/gabuild/gcc-build/gcc'
make: *** [all-gcc] Error 2

-- 
           Summary: GCC-3.3.3 build fails with internal compiler error
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pbleyer at embedded dot cl
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-cygwin
GCC target triplet: arm-unknown-elf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]