public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: preverdy@ifrance.com
To: gcc-gnats@gcc.gnu.org
Subject: libgcj/2999: Compilation error
Date: Wed, 30 May 2001 04:36:00 -0000	[thread overview]
Message-ID: <20010530112940.18243.qmail@sourceware.cygnus.com> (raw)

>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:


             reply	other threads:[~2001-05-30  4:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-30  4:36 preverdy [this message]
2001-08-16 15:48 tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010530112940.18243.qmail@sourceware.cygnus.com \
    --to=preverdy@ifrance.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).