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 java/13933] New: error generating libgcj-3.3.1.jar (cygwin)


Hi,

I downloaded the fully-featured cygwin
from mirrors.rcn.net using defaults
(near fully, I had to add some components like g++...).

I decided to switch to compile 'cause I got
this error and in fact the libgcj-3.3.1.jar misses
some classes, important classes...

...
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.awt.g
tk.GtkToolkit not found in [file:.\, core:/]
*** Got java.lang.NullPointerException while trying to print stack trace.
...

After a little pain setting environment to be able
to compile (after ./configure I've seen in Makefile "classpath ''"<- why blank?)
I tried to generate libgcj-3.3.1.jar.
I had to rename a file Configuration.java.in to Configuration.java
in /usr/src/gcc-3.3.1-3/libjava/gnu/classpath (why the .in extension ?)
I manually created /usr/src/gcc-3.3.1-3/libjava/fastjar
and put jar.exe from /bin to that directory so make didn't stop.

After "make" and usual compile messages, I got this error:

/bin/sh ./libtool --tag=GCJ --mode=compile gcj -B/usr/src/gcc-3.3.1-3/libjava/bu
ild/ --encoding=UTF-8 -fclasspath=/usr/src/gcc-3.3.1-3/libjava/build/.. -fbootcl
asspath=/usr/src/gcc-3.3.1-3/libjava/build -ffloat-store -g -O2 -MD -MT java/awt
/Container.lo -MF java/awt/Container.d -c -o java/awt/Container.lo ../java/awt/C
ontainer.java
gcj -B/usr/src/gcc-3.3.1-3/libjava/build/ --encoding=UTF-8 -fclasspath=/usr/src/
gcc-3.3.1-3/libjava/build/.. -fbootclasspath=/usr/src/gcc-3.3.1-3/libjava/build
-ffloat-store -g -O2 -MD -MT java/awt/Container.lo -MF java/awt/Container.d -c .
./java/awt/Container.java -o java/awt/Container.o
../java/awt/Container.java:1270: internal compiler error: in expand_expr, at exp
r.c:7386
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [java/awt/Container.lo] Error 1
make[1]: Leaving directory `/usr/src/gcc-3.3.1-3/libjava/build'
make: *** [all-recursive] Error 1

Later,

Davide

-- 
           Summary: error generating libgcj-3.3.1.jar (cygwin)
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: scaccopardo at tiscali dot it
                CC: gcc-bugs at gcc dot gnu dot org


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


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