public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: icedtea6 fails to bootstrap on Fedora 17/18
       [not found] <CAAxjCEzKrepM6yfBy6p4mmtg-C+6mLoKJeUT5RVHgy3=iLLdsw@mail.gmail.com>
@ 2013-03-04  8:57 ` Matthias Klose
  2013-03-05 20:51   ` Jon VanAlten
  2013-03-06 15:04   ` Andrew Hughes
  0 siblings, 2 replies; 3+ messages in thread
From: Matthias Klose @ 2013-03-04  8:57 UTC (permalink / raw)
  To: Stefan Ring; +Cc: distro-pkg-dev, GCJ-patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: icedtea6 fails to bootstrap on Fedora 17/18
  2013-03-04  8:57 ` icedtea6 fails to bootstrap on Fedora 17/18 Matthias Klose
@ 2013-03-05 20:51   ` Jon VanAlten
  2013-03-06 15:04   ` Andrew Hughes
  1 sibling, 0 replies; 3+ messages in thread
From: Jon VanAlten @ 2013-03-05 20:51 UTC (permalink / raw)
  To: Matthias Klose; +Cc: GCJ-patches, distro-pkg-dev, Stefan Ring



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: icedtea6 fails to bootstrap on Fedora 17/18
  2013-03-04  8:57 ` icedtea6 fails to bootstrap on Fedora 17/18 Matthias Klose
  2013-03-05 20:51   ` Jon VanAlten
@ 2013-03-06 15:04   ` Andrew Hughes
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Hughes @ 2013-03-06 15:04 UTC (permalink / raw)
  To: Matthias Klose; +Cc: distro-pkg-dev, GCJ-patches, Stefan Ring



----- Original Message -----
> 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.

I'll second that.  I'm surprised 3.8.2 works with the current gcj actually,
as when I tried it, it complained about missing javax.lang.model code which
is now in GNU Classpath but not yet in gcj.

Do you know the process for updating the copy used by gcj?

> 
>   Matthias
> 
> 

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-06 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAAxjCEzKrepM6yfBy6p4mmtg-C+6mLoKJeUT5RVHgy3=iLLdsw@mail.gmail.com>
2013-03-04  8:57 ` icedtea6 fails to bootstrap on Fedora 17/18 Matthias Klose
2013-03-05 20:51   ` Jon VanAlten
2013-03-06 15:04   ` Andrew Hughes

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).