public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/6542: Internal compiler error when building libgcc for sparc-elf
@ 2002-05-03  6:16 jakub
  0 siblings, 0 replies; 3+ messages in thread
From: jakub @ 2002-05-03  6:16 UTC (permalink / raw)
  To: cheng, gcc-bugs, gcc-prs, jakub, nobody

Synopsis: Internal compiler error when building libgcc for sparc-elf

Responsible-Changed-From-To: unassigned->jakub
Responsible-Changed-By: jakub
Responsible-Changed-When: Fri May  3 06:16:34 2002
Responsible-Changed-Why:
    Mine.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6542


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: target/6542: Internal compiler error when building libgcc for sparc-elf
@ 2002-05-03 14:44 davem
  0 siblings, 0 replies; 3+ messages in thread
From: davem @ 2002-05-03 14:44 UTC (permalink / raw)
  To: cheng, gcc-bugs, gcc-prs, jakub

Synopsis: Internal compiler error when building libgcc for sparc-elf

State-Changed-From-To: open->closed
State-Changed-By: davem
State-Changed-When: Fri May  3 14:44:27 2002
State-Changed-Why:
    Fixed, see audit trail.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6542


^ permalink raw reply	[flat|nested] 3+ messages in thread

* target/6542: Internal compiler error when building libgcc for sparc-elf
@ 2002-05-02 16:46 cheng
  0 siblings, 0 replies; 3+ messages in thread
From: cheng @ 2002-05-02 16:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6542
>Category:       target
>Synopsis:       Internal compiler error when building libgcc for sparc-elf
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 02 16:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     cheng@powertv.com
>Release:        3.1 (04-23-2002)
>Organization:
>Environment:
Cygwin with Cygwin1.dll version 1.3.2.
Compiler used for building - GCC 2.95.3
Build machine used - HP Vectra VLI8 with 256 MB of memory and 60 GB of hard drive space.
Operating system - Windows 2000 Professional with service pack 2.
>Description:
I am trying to build a cross compiler for sparc-elf with the GCC 3.1 source snapshot (04-23-2002).  I use the following configure options to configure the build.

../src/configure --build=i686-pc-cygwin32 --host=i686-pc-cygwin32 --target=sparc-elf --nfp --with-cpu=v8 --prefix=../bin/sparc-elf

I also modified the Makefile generated by configure for GCC by using the following line (while TARGET_LIBGCC2_CFLAGS is empty in the original Makefile created by configure).  I do this due to our special needs at work.

TARGET_LIBGCC2_CFLAGS = -mflat -mv8 -fleading-underscore

The GCC backends and frontends build without any problems until when the process gets to the point of building libgcc.  Then the following error comes up.  I get the same result if I switch to use an older release of the GCC 3 source (like version 3.0.4).  Only if I leave TARGET_LIBGCC2_CFLAGS equal to empty within the GCC Makefile will libgcc be built successfully.

./xgcc -B./ -B/e/gcc31/bin/sparc-elf/sparc-elf/bin/ -isystem /e/gcc31/bin/sparc-
elf/sparc-elf/include -isystem /e/gcc31/bin/sparc-elf/sparc-elf/sys-include -O2
 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
ng-prototypes -isystem ./include  -mflat -mv8 -fleading-underscore -g  -DIN_LIBG
CC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../src/gcc -I../../.
./src/gcc/. -I../../../src/gcc/config -I../../../src/gcc/../include  -DL_floatdi
tf -c ../../../src/gcc/libgcc2.c -o libgcc/./_floatditf.o
./xgcc -B./ -B/e/gcc31/bin/sparc-elf/sparc-elf/bin/ -isystem /e/gcc31/bin/sparc-
elf/sparc-elf/include -isystem /e/gcc31/bin/sparc-elf/sparc-elf/sys-include -O2
 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
ng-prototypes -isystem ./include  -mflat -mv8 -fleading-underscore -g  -DIN_LIBG
CC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../src/gcc -I../../.
./src/gcc/. -I../../../src/gcc/config -I../../../src/gcc/../include  -DL_clear_c
ache -c ../../../src/gcc/libgcc2.c -o libgcc/./_clear_cache.o
../../../src/gcc/libgcc2.c: In function `__clear_cache':
../../../src/gcc/libgcc2.c:1608: Internal compiler error in leaf_renumber_regs_i
nsn, at final.c:3975
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [libgcc/./_clear_cache.o] Error 1
>How-To-Repeat:
This can be duplicated consistenly as long as TARGET_LIBGCC2_CFLAGS is set to "-mflat -mv8 -fleading-underscore" when building a GCC 3.x cross compiler for sparc-elf.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-03 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-03  6:16 target/6542: Internal compiler error when building libgcc for sparc-elf jakub
  -- strict thread matches above, loose matches on Subject: below --
2002-05-03 14:44 davem
2002-05-02 16:46 cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).