gcj error

View: New views
4 Messages — Rating Filter:   Alert me  

gcj error

by monipol :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(message by Ernesto Bascon)

Hi everybody:

I installed gcj via:

fink install gcc-4.4

and the installation process went ok and gcj is already installed and  
if I
executed it with no parameters, a perfect:

No input files

is shown,

but when I execute with some parameters:

$ gcj jtest/Main.java -o jtest/Main --main=jtest.Main

the following output is shown:

gcj: Internal error: Abort trap (program ecj1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Do you know how can the problem be?

My environment: MacOSX10.6 running on a white MacBook 5.2


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gcj error

by monipol :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oops, I forgot to cc the maintainer.

On 06/11/2009, at 18:43, monipol wrote:

> (message by Ernesto Bascon)
>
> Hi everybody:
>
> I installed gcj via:
>
> fink install gcc-4.4
>
> and the installation process went ok and gcj is already installed and
> if I
> executed it with no parameters, a perfect:
>
> No input files
>
> is shown,
>
> but when I execute with some parameters:
>
> $ gcj jtest/Main.java -o jtest/Main --main=jtest.Main
>
> the following output is shown:
>
> gcj: Internal error: Abort trap (program ecj1)
> Please submit a full bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
> Do you know how can the problem be?
>
> My environment: MacOSX10.6 running on a white MacBook 5.2

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gcj error

by Jack Howarth-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could someone with both i386 and x86_64 fink installed on 10.5 try the following
test? Download...

http://math.nist.gov/scimark2/scimark2src.zip

unzip the file and execute...

cd scimark2src
gcj -I . -O commandline.java

I suspect that gcj for both i386 and x86_64 10.5 fink
will work properly. If so, most likely we have missed
fixing a darwin9 specific header somewhere in the java
sources.
           Jack
ps I see the same failure for i386 and x86_64 10.6
fink with gcc 4.4.0/4.4.1/4.4.2 and gcc trunk.


On Fri, Nov 06, 2009 at 08:27:14PM -0200, monipol wrote:

> Oops, I forgot to cc the maintainer.
>
> On 06/11/2009, at 18:43, monipol wrote:
>
>> (message by Ernesto Bascon)
>>
>> Hi everybody:
>>
>> I installed gcj via:
>>
>> fink install gcc-4.4
>>
>> and the installation process went ok and gcj is already installed and
>> if I
>> executed it with no parameters, a perfect:
>>
>> No input files
>>
>> is shown,
>>
>> but when I execute with some parameters:
>>
>> $ gcj jtest/Main.java -o jtest/Main --main=jtest.Main
>>
>> the following output is shown:
>>
>> gcj: Internal error: Abort trap (program ecj1)
>> Please submit a full bug report.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>>
>> Do you know how can the problem be?
>>
>> My environment: MacOSX10.6 running on a white MacBook 5.2
>
> --
> monipol
> http://finkers.wordpress.com
>
> Submitting a Fink bug report? Read this:
> http://www.finkproject.org/doc/netiquette/index.php
> http://finkers.wordpress.com/2009/06/03/bug-reports/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gcj error

by Jack Howarth-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  So far I am seeing the following results with gcc 4.4.2 when trying
to compile the testme.java sample code...

public class testme {
  public static void main(String args[]){
    System.out.println("Hello");
  }
}

with "gcj --main=testme -O testme.java

              darwin9         darwin10
ppc           works           n/a
i386          works           fails
x86_64        fails           fails

I'll open a bugzilla upstream for this but don't get
your hopes up as none of the gcc java developers use
darwin. Also this problem is outside of the realm of
the current libjava testsuite.
            Jack

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users