public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/2999: Compilation error
@ 2001-05-30 4:36 preverdy
0 siblings, 0 replies; 2+ messages in thread
From: preverdy @ 2001-05-30 4:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 2999
>Category: libgcj
>Synopsis: Compilation error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 30 04:36:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: preverdy@ifrance.com
>Release: unknown-1.0
>Organization:
>Environment:
i686-pc-cygwin
>Description:
When compiling all gcc 3.0 with latest sources, it seems to be impossible to compile some java files.
The first one is java/lang/ClassLoader.java
>How-To-Repeat:
* Launch Cygwin 1.3.1
* create a "compile" folder and go into it:
$ mkdir compile
$ cd compile
* download latest sources with cvs:
$ cvs -d:pserver:anoncvs@gcc.gnu.org:/cvs/gcc login
(password: anoncvs)
$ cvs -z 9 -d:pserver:anoncvs@gcc.gnu.org:/cvs/gcc co gcc
* Create a "objdir" folder:
$ mkdir objdir
$ cd objdir
* Launch the compilation and make bootstrap
$ ../gcc/configure --enable-threads=posix -- prefix=/home/joerg/gcc \
--enable-shared --enable-languages=c++,java \
--with-as=/opt/gnu/bin/as --with-ld=/opt/gnu/bin/ld \
--enable-libgcj
$ make bootstrap
The first error is when compiling java/lang/ClassLoader.java
The last echo is:
/home/preverdy/compile/objdir/gcc/gcj -B/home/preverdy/compile/objdir/i686-pc-cy
gwin/libjava/ -B/home/preverdy/compile/objdir/gcc/ --encoding=UTF-8 -C -g -class
path /home/preverdy/compile/objdir/i686-pc-cygwin/libjava:/home/preverdy/compile
/gcc/libjava -d /home/preverdy/compile/objdir/i686-pc-cygwin/libjava java/lang/C
lassLoader.java
/home/preverdy/compile/gcc/libjava/gnu/java/security/provider/gnu.java:31: Class
`gnu.java.security.provider.Gnu' already defined in /home/preverdy/compile/gcc/
libjava/gnu/java/security/provider/Gnu.java:31.
public final class Gnu extends Provider
^
/home/preverdy/compile/gcc/libjava/gnu/java/security/provider/gnu.java:34: confu
sed by earlier errors, bailing out
make[2]: *** [libgcj.jar] Error 1
make[2]: Leaving directory `/home/preverdy/compile/objdir/i686-pc-cygwin/libjava
'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/preverdy/compile/objdir'
make: *** [bootstrap] Error 2
Note: when modifying ClassLoader.java in order to compile, some other java files do not compile too.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libgcj/2999: Compilation error
@ 2001-08-16 15:48 tromey
0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2001-08-16 15:48 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, java-prs, nobody, preverdy, tromey
Synopsis: Compilation error
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Aug 16 15:48:11 2001
Responsible-Changed-Why:
I'm handling this.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Thu Aug 16 15:48:11 2001
State-Changed-Why:
The problem here is simply that gcj and libgcj have
not yet been ported to Cygwin. I'm closing this PR since
it is a known problem. People are slowly working on the port.
I think there is no point in having the PR open until the
port is actually complete.
Thanks.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2999&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-16 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-30 4:36 libgcj/2999: Compilation error preverdy
2001-08-16 15:48 tromey
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).