This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/6953: xgcc fails to compile part of libgcc2
- From: Frederic dot Petrot at lip6 dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 7 Jun 2002 12:51:36 -0000
- Subject: bootstrap/6953: xgcc fails to compile part of libgcc2
- Reply-to: Frederic dot Petrot at lip6 dot fr
>Number: 6953
>Category: bootstrap
>Synopsis: xgcc fails to compile part of libgcc2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 07 05:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Frederic Petrot
>Release: gcc-3.1, snapshot 20020603
>Organization:
>Environment:
building a mips cross compiler on a linux box
>Description:
Here is the command line (taken from the makefile execution)
that issued the error:
/dsk/l1/fred/disydent/objects/i686-pc-linux-gnu/gnu/gcc-3.1/gcc/xgcc -B/dsk/l1/fred/disydent/objects/i686-pc-linux-gnu/gnu/gcc-3.1/gcc/ -B/dsk/l1/fred/disydent/latest/i686-pc-linux-gnu/mipsel-cass-ecoff/bin/ -B/dsk/l1/fred/disydent/latest/i686-pc-linux-gnu/mipsel-cass-ecoff/lib/ -isystem /dsk/l1/fred/disydent/latest/i686-pc-linux-gnu/mipsel-cass-ecoff/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -G 0 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/dsk/l1/fred/disydent/current/gnu/gcc-3.1/gcc -I/dsk/l1/fred/disydent/current/gnu/gcc-3.1/gcc/. -I/dsk/l1/fred/disydent/current/gnu/gcc-3.1/gcc/config -I/dsk/l1/fred/disydent/current/gnu/gcc-3.1/gcc/../include -DL_divdi3 -c /dsk/l1/fred/disydent/current/gnu/gcc-3.1/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
/dsk/l1/fred/disydent/current/gnu/gcc-3.1/gcc/libgcc2.c:64: Internal compiler error in assemble_integer, at varasm.c:2011
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
$curdir/gnu/${GCC}/configure --prefix=$prefix/$host \
--srcdir=$curdir/gnu/${GCC} \
--target=mipsel-cass-ecoff \
--enable-languages=c \
--with-gnu-as \
--with-gnu-ld \
--disable-shared \
--disable-multilib \
--disable-threads \
--disable-libgcj \
--disable-nls \
--with-newlib
>Fix:
I would say workaround: Skip the building of libgcc in
target all.cross and install!
The generated compiler seems to work fine :)
>Release-Note:
>Audit-Trail:
>Unformatted: