public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jon VanAlten <jvanalte@redhat.com>
To: Matthias Klose <doko@ubuntu.com>
Cc: GCJ-patches <java-patches@gcc.gnu.org>,
	       distro-pkg-dev <distro-pkg-dev@openjdk.java.net>,
	       Stefan Ring <stefan@complang.tuwien.ac.at>
Subject: Re: icedtea6 fails to bootstrap on Fedora 17/18
Date: Tue, 05 Mar 2013 20:51:00 -0000	[thread overview]
Message-ID: <1085496988.2894239.1362516641905.JavaMail.root@redhat.com> (raw)
In-Reply-To: <513461DB.4000603@ubuntu.com>



----- Original Message -----
> From: "Matthias Klose" <doko@ubuntu.com>
> To: "Stefan Ring" <stefan@complang.tuwien.ac.at>
> Cc: "GCJ-patches" <java-patches@gcc.gnu.org>, "distro-pkg-dev" <distro-pkg-dev@openjdk.java.net>
> Sent: Monday, March 4, 2013 3:56:59 AM
> Subject: Re: icedtea6 fails to bootstrap on Fedora 17/18
> 
> Am 03.03.2013 17:14, schrieb Stefan Ring:
> > ecj is much more recent on Fedora apparently:
> > 
> > Ubuntu quantal $ ecj -version:
> > Eclipse Java Compiler 0.972_R35x, 3.5.1 release, Copyright IBM Corp
> > 2000, 2009. All rights reserved.
> > Fedora 17 $ ecj -version
> > Eclipse Compiler for Java(TM) v20120814-155456, 3.8.2, Copyright
> > IBM
> > Corp 2000, 2012. All rights reserved.
> 
> Debian and Ubuntu use the same sources to provide both ecj and ecj1.
> ftp://sourceware.org/pub/java/ still has 3.5 as the latest version
> available.
> If Fedora ships an updated ecj1, then it would be nice to see this
> "upstream" as
> well.
> 
>   Matthias
> 
> 

Hi,

Fedora uses eclipse as upstream for ecj, not the source bundles at
that ftp site.

But, you've reminded me of something.  The ecj package does add an
alternative entry point (used by gcc/gcj).  This comes from the
sourceware.org:/cvs/rhug repository.  I had to patch the newest[1]
sources there a tiny bit due to ecj change:

diff -u -r org/eclipse/jdt/internal/compiler/batch/GCCMain.java org/eclipse/jdt/internal/compiler/batch/GCCMain.java
--- a/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2008-08-13 13:46:30.000000000 -0400
+++ b/org/eclipse/jdt/internal/compiler/batch/GCCMain.java 2012-04-26 13:36:21.268642702 -0400
@@ -29,6 +29,7 @@
 import org.eclipse.jdt.internal.compiler.env.AccessRule;
 import org.eclipse.jdt.internal.compiler.env.AccessRuleSet;
 import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
+import org.eclipse.jdt.internal.compiler.problem.ProblemSeverities;
 import org.eclipse.jdt.internal.compiler.util.Messages;
 import org.eclipse.jdt.internal.compiler.util.SuffixConstants;

@@ -463,7 +464,7 @@
 }

 if (inhibitAllWarnings)
- disableWarnings();
+ disableAll(ProblemSeverities.Warning);
 if (treatWarningsAsErrors)
 turnWarningsToErrors();
 
I really meant to follow up to upstream this, what is the right
way to do that?  (I am totally fine with someone committing this
on my behalf, by the way, but in general I would like to know
better if there is some mailing list where changes should go).

thanks,
jon

[1] Either that, or my (admittedly lacking) cvs-foo failed me.

  reply	other threads:[~2013-03-05 20:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAAxjCEzKrepM6yfBy6p4mmtg-C+6mLoKJeUT5RVHgy3=iLLdsw@mail.gmail.com>
2013-03-04  8:57 ` Matthias Klose
2013-03-05 20:51   ` Jon VanAlten [this message]
2013-03-06 15:04   ` Andrew Hughes

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=1085496988.2894239.1362516641905.JavaMail.root@redhat.com \
    --to=jvanalte@redhat.com \
    --cc=distro-pkg-dev@openjdk.java.net \
    --cc=doko@ubuntu.com \
    --cc=java-patches@gcc.gnu.org \
    --cc=stefan@complang.tuwien.ac.at \
    /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).