public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/27127] New: internal compiler error when compiling libjava with jc1
@ 2006-04-12 8:37 rainer-gccbugzilla at 7val dot com
2006-04-12 8:38 ` [Bug java/27127] " rainer-gccbugzilla at 7val dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rainer-gccbugzilla at 7val dot com @ 2006-04-12 8:37 UTC (permalink / raw)
To: java-prs
I'm trying to build gcc on solaris8 sparc. after the command below, Class.d is
0 bytes in size. I don't see any other temporary files left behind by
-save-temps
rainer@arinna:~/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libjava$
/export/home/rainer/gcc-3.4.6/gcc/gcj -v -save-temps
-B/export/home/rainer/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libjava/
-B/export/home/rainer/gcc-3.4.6/gcc/ --encoding=UTF-8 -Wno-deprecated
-fclasspath=
-fbootclasspath=/export/home/rainer/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libjava
-g -O2 -m64 -MD -MT java/lang/Class.lo -MF java/lang/Class.d -c
../../.././libjava/java/lang/Class.java -fPIC -o java/lang/.libs/Class.o
Reading specs from /export/home/rainer/gcc-3.4.6/gcc/specs
Reading specs from
/export/home/rainer/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libjava/libgcj.spec
rename spec lib to liborig
Configured with: ./configure --prefix=/usr/local/gcc-4.1.0
--program-suffix=4.1.0 --with-gnu-ld=/usr/local/bin/ld
--with-gnu-as=/usr/local/bin/as
Thread model: posix
gcc version 3.4.6
/export/home/rainer/gcc-3.4.6/gcc/jc1 ../../.././libjava/java/lang/Class.java
-fuse-divide-subroutine -fcheck-references -fuse-boehm-gc
-fkeep-inline-functions -mptr64 -mstack-bias -mno-v8plus -mcpu=v9 -quiet
-dumpbase Class.java -m64 -auxbase-strip java/lang/.libs/Class.o -g -O2
-Wno-deprecated -version -fencoding=UTF-8 -fclasspath=
-fbootclasspath=/export/home/rainer/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libjava
-fPIC -MD_ -MT java/lang/Class.lo -MF java/lang/Class.d -o Class.s
GNU Java version 3.4.6 (sparc-sun-solaris2.8)
compiled by GNU C version 3.4.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Class path starts here:
./
/export/home/rainer/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libjava/
(system)
../../.././libjava/java/lang/Class.java: In class `java.lang.Class':
../../.././libjava/java/lang/Class.java: In method
`java.lang.Class.getDeclaredFields()':
../../.././libjava/java/lang/Class.java:85: internal compiler error: in
size_binop, at fold-const.c:1601
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: internal compiler error when compiling libjava with jc1
Product: gcc
Version: 3.4.6
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rainer-gccbugzilla at 7val dot com
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27127
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/27127] internal compiler error when compiling libjava with jc1
2006-04-12 8:37 [Bug java/27127] New: internal compiler error when compiling libjava with jc1 rainer-gccbugzilla at 7val dot com
@ 2006-04-12 8:38 ` rainer-gccbugzilla at 7val dot com
2006-04-12 9:06 ` ebotcazou at gcc dot gnu dot org
2006-04-13 12:25 ` [Bug bootstrap/27127] " rainer-gccbugzilla at 7val dot com
2 siblings, 0 replies; 4+ messages in thread
From: rainer-gccbugzilla at 7val dot com @ 2006-04-12 8:38 UTC (permalink / raw)
To: java-prs
------- Comment #1 from rainer-gccbugzilla at 7val dot com 2006-04-12 08:38 -------
Created an attachment (id=11247)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11247&action=view)
Class.s, as built by gcj/jc1 before failure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27127
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/27127] internal compiler error when compiling libjava with jc1
2006-04-12 8:37 [Bug java/27127] New: internal compiler error when compiling libjava with jc1 rainer-gccbugzilla at 7val dot com
2006-04-12 8:38 ` [Bug java/27127] " rainer-gccbugzilla at 7val dot com
@ 2006-04-12 9:06 ` ebotcazou at gcc dot gnu dot org
2006-04-13 12:25 ` [Bug bootstrap/27127] " rainer-gccbugzilla at 7val dot com
2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-04-12 9:06 UTC (permalink / raw)
To: java-prs
------- Comment #2 from ebotcazou at gcc dot gnu dot org 2006-04-12 09:06 -------
This is known to work, please make sure to read carefully the instructions at
http://gcc.gnu.org/install/specific.html#x-x-solaris2
In particular, use the recommended config shell and do not build in the source
directory. And --with-gnu-as=/usr/local/bin/as --with-gnu-ld=/usr/local/bin/ld
is not the correct syntax, please see
http://gcc.gnu.org/install/configure.html.
Also make sure to bootstrap ("gmake bootstrap") and not simply build the
compiler.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27127
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/27127] internal compiler error when compiling libjava with jc1
2006-04-12 8:37 [Bug java/27127] New: internal compiler error when compiling libjava with jc1 rainer-gccbugzilla at 7val dot com
2006-04-12 8:38 ` [Bug java/27127] " rainer-gccbugzilla at 7val dot com
2006-04-12 9:06 ` ebotcazou at gcc dot gnu dot org
@ 2006-04-13 12:25 ` rainer-gccbugzilla at 7val dot com
2 siblings, 0 replies; 4+ messages in thread
From: rainer-gccbugzilla at 7val dot com @ 2006-04-13 12:25 UTC (permalink / raw)
To: java-prs
------- Comment #3 from rainer-gccbugzilla at 7val dot com 2006-04-13 12:25 -------
make bootstrap succeeded after setting -L and -D to the directory where
libiconv was installed. Setting CONFIG_SHELL might have helped.
--
rainer-gccbugzilla at 7val dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27127
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-13 12:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-12 8:37 [Bug java/27127] New: internal compiler error when compiling libjava with jc1 rainer-gccbugzilla at 7val dot com
2006-04-12 8:38 ` [Bug java/27127] " rainer-gccbugzilla at 7val dot com
2006-04-12 9:06 ` ebotcazou at gcc dot gnu dot org
2006-04-13 12:25 ` [Bug bootstrap/27127] " rainer-gccbugzilla at 7val dot com
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).