Getting started with merged GCJ

Jim Mayer contact@pentastich.org
Sat Jan 27 18:45:00 GMT 2007


Andrew Haley said:
> We need to know the commands you used to configure and build your
> compiler. We need to know the system you're building on. Strangely,
> people often don't tell us this.

Mea Culpa... I was just looking for the script!
Anyway, here's the whole sad saga... I logged the console output as
well, but it's quite large. If there are any parts of it that might be
important, or if you'd like the whole thing mailed as an attachment,
just let me know.
I checked out gcc with the following command:
 svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc
I've run "svn update" a couple of times from inside the "gcc" directory.
My directory hierarchy looks like this:
 src
 compile
 gcc (created by the svn checkout command)
 objdir (created by me)
I attempted to compile based on the directions in
<http://gcc.gnu.org/java/build-snapshot.html>. The exact command I used
was:
 cd objdir
 (../gcc/configure --enable-threads=posix --prefix=/opt/gcc
--enable-shared --enable-languages=c++,java && make bootstrap && make &&
make install) 2>&1 | tee compile.log
uname -a reports:
 Linux perdita.danbury.local 2.6.18-1.2868.fc6 #1 SMP Fri Dec 15
17:32:54 EST 2006 i686 i686 i386 GNU/Linux
and also:
[jim@perdita objdir]$ cat /proc/cpuinfo 
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 797.458
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov
pat pse36 mmx fxsr sse up
bogomips : 1595.65
It's an old computer... the newer ones play games for the kids :-)
-- Jim
On Sat, 2007年01月27日 at 17:34 +0000, Andrew Haley wrote:
> Jim Mayer writes:
> > Hi all,
> > 
> > First... I really, REALLY, TRULY (I promise) looked through the
> > archives, FAQs, etc. before I sent this note!!! Really.... I promise!
> > 
> > Anyway, I'd very much like to experiment with the new trunk version of
> > GCJ, but I'm not having much luck building it. I was attempting to
> > follow the directions at <http://gcc.gnu.org/java/build-snapshot.html>
> > but that resulted in compilation errors yesterday (a warning) and the
> > following messages with a version I updated last night:
> > 
> > /home/jim/src/compile/objdir/gcc/gcj
> > -B/home/jim/src/compile/objdir/i686-pc-linux-gnu/libjava/
> > -B/home/jim/src/compile/objdir/gcc/ -ffloat-store -fomit-frame-pointer
> > -fclasspath= -fbootclasspath=../../../gcc/libjava/classpath/lib
> > --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c
> > -fsource-filename=/home/jim/src/compile/objdir/i686-pc-linux-gnu/libjava/classpath/lib/classes -MT gnu/java/awt/color.lo -MD -MP -MF gnu/java/awt/color.deps @gnu/java/awt/color.list -fPIC -o gnu/java/awt/.libs/color.o
> > gnu/java/awt/color/LinearRGBConverter.java: In class
> > 'gnu.java.awt.color.LinearRGBConverter':
> > gnu/java/awt/color/LinearRGBConverter.java: In method
> > 'gnu.java.awt.color.LinearRGBConverter.toRGB(float[])':
> > gnu/java/awt/color/LinearRGBConverter.java:0: internal compiler error:
> > Illegal instruction
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > 
> > I see references in the list archives to "java maintainer mode",
> > "ecj.jar", scripts that Tom Tromey wrote, etc... but I haven't seen any
> > recommendations on how to get started.
> > 
> > Help!
>> We need to know the commands you used to configure and build your
> compiler. We need to know the system you're building on. Strangely,
> people often don't tell us this.
>> Andrew.



More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /