public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/41745]  New: Segmentation fault when ecj.jar is run as a binary compiled by gcj
@ 2009-10-18 22:39 yuri at tsoft dot com
  2009-10-19  9:08 ` [Bug java/41745] " aph at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: yuri at tsoft dot com @ 2009-10-18 22:39 UTC (permalink / raw)
  To: java-prs

I use this command line:
gcj -o ecj --main=org.eclipse.jdt.internal.compiler.batch.Main
/usr/local/share/java/ecj.jar
to compile ecj.jar into native binary ecj.

However, when I try running resulting binary on Hello World Java program it
crashes. Original ecj.jar compiles HelloWorld successfully.

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


-- 
           Summary: Segmentation fault when ecj.jar is run as a binary
                    compiled by gcj
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yuri at tsoft dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41745


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

end of thread, other threads:[~2010-01-11  8:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-18 22:39 [Bug java/41745] New: Segmentation fault when ecj.jar is run as a binary compiled by gcj yuri at tsoft dot com
2009-10-19  9:08 ` [Bug java/41745] " aph at gcc dot gnu dot org
2009-10-19  9:23 ` yuri at tsoft dot com
2009-10-19 10:53 ` rguenth at gcc dot gnu dot org
2009-10-19 17:20 ` yuri at tsoft dot com
2009-10-19 19:12 ` yuri at tsoft dot com
2010-01-03 13:10 ` gerald at pfeifer dot com
2010-01-03 19:38 ` andreast at gcc dot gnu dot org
2010-01-04 23:57 ` yuri at rawbw dot com
2010-01-09 20:14 ` gerald at pfeifer dot com
2010-01-09 20:24 ` andreast at gcc dot gnu dot org
2010-01-10 14:57 ` andreast at gcc dot gnu dot org
2010-01-11  8:36 ` gerald at pfeifer dot com

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