Re: GCJ ICEs on SWT for GTK 3.1.2

2006-02-06 Thread Andrew Haley
Michael Koch writes:
 > On Sun, Feb 05, 2006 at 01:02:22PM -0700, Shaun Jackman wrote:
 > > If anybody here has the time to look into this GCJ ICE, I'd greatly
 > > appreciate it.
 > 
 > You should file/report such bugs upstream (http://gcc.gnu.org/bugzilla/).
 > Most of the upstream people are RH employees and don't read this list.

You'd be surprised, then!  :-)

 > BTW: The recommended way by upstream to compile to native is to compile
 > jars to native, not java files. We have no problem building Eclipse
 > 3.1.2 with gcj-4.0 this way.

OK, but if this bug can be reprodues with an upstream compiler it's
worth reporting to gcc bugzilla.

Andrew.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GCJ ICEs on SWT for GTK 3.1.2

2006-02-05 Thread Shaun Jackman
On 2/5/06, Michael Koch <[EMAIL PROTECTED]> wrote:
> BTW: The recommended way by upstream to compile to native is to compile
> jars to native, not java files. We have no problem building Eclipse
> 3.1.2 with gcj-4.0 this way.

Using .class and .jar as intermediates on my way to .o and .so worked.
Thanks for the tip! This behaviour seems quite unusual though.

Cheers,
Shaun



Re: GCJ ICEs on SWT for GTK 3.1.2

2006-02-05 Thread Shaun Jackman
On 2/5/06, Shaun Jackman <[EMAIL PROTECTED]> wrote:
> If anybody here has the time to look into this GCJ ICE, I'd greatly
> appreciate it.
>
> $ gcj -fPIC -fjni -c org/eclipse/swt/widgets/CoolBar.java
> org/eclipse/swt/widgets/CoolBar.java: In class
> 'org.eclipse.swt.widgets.CoolBar':
> org/eclipse/swt/widgets/CoolBar.java: In method 'finit$()':
> org/eclipse/swt/widgets/CoolBar.java:51: internal compiler error:
> Segmentation fault
...

Okay. Bad news. This bug seems intermittent. CoolBar.java compiled on
this last build. However, this time it ICEd on Decorations.java.

org/eclipse/swt/widgets/Decorations.java: In class
'org.eclipse.swt.widgets.Decorations':
org/eclipse/swt/widgets/Decorations.java: In method 'finit$()':
org/eclipse/swt/widgets/Decorations.java:97: internal compiler error:
Segmentation fault

Perhaps it's a hardware problem with my machine, but my machine seems
perfectly stable otherwise.

Cheers,
Shaun



Re: GCJ ICEs on SWT for GTK 3.1.2

2006-02-05 Thread Michael Koch
On Sun, Feb 05, 2006 at 01:02:22PM -0700, Shaun Jackman wrote:
> If anybody here has the time to look into this GCJ ICE, I'd greatly
> appreciate it.

You should file/report such bugs upstream (http://gcc.gnu.org/bugzilla/).
Most of the upstream people are RH employees and don't read this list.

BTW: The recommended way by upstream to compile to native is to compile
jars to native, not java files. We have no problem building Eclipse
3.1.2 with gcj-4.0 this way.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



GCJ ICEs on SWT for GTK 3.1.2

2006-02-05 Thread Shaun Jackman
If anybody here has the time to look into this GCJ ICE, I'd greatly
appreciate it.

$ gcj -fPIC -fjni -c org/eclipse/swt/widgets/CoolBar.java
org/eclipse/swt/widgets/CoolBar.java: In class
'org.eclipse.swt.widgets.CoolBar':
org/eclipse/swt/widgets/CoolBar.java: In method 'finit$()':
org/eclipse/swt/widgets/CoolBar.java:51: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see .
$ gcj --version
gcj (GCC) 4.0.3 20060121 (prerelease) (Debian 4.0.2-7j1)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GCJ 4.1 ICEs as well.

$ gcj-4.1 -fPIC -fjni -c org/eclipse/swt/widgets/CoolBar.java
org/eclipse/swt/widgets/CoolBar.java: In class
'org.eclipse.swt.widgets.CoolBar':
org/eclipse/swt/widgets/CoolBar.java: In method 'finit$()':
org/eclipse/swt/widgets/CoolBar.java:39: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see .
$ gcj-4.1 --version
gcj-4.1 (GCC) 4.1.0 20060127 (prerelease)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Please cc me in your reply. Cheers,
Shaun