public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "andreast at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj
Date: Sun, 03 Jan 2010 19:38:00 -0000	[thread overview]
Message-ID: <20100103193836.11635.qmail@sourceware.org> (raw)
In-Reply-To: <bug-41745-6649@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from andreast at gcc dot gnu dot org  2010-01-03 19:38 -------
[tc:~] andreast% /usr/local/bin/gcj45 -o ecj
--main=org.eclipse.jdt.internal.compiler.batch.Main ecj.jar
[tc:~] andreast% vi HelloWorld.java

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

[tc:~] andreast% setenv LD_LIBRARY_PATH /usr/local/lib/gcc45
[tc:~] andreast% ./ecj HelloWorld.java
[tc:~] andreast% gij45 HelloWorld
Hello World!

[tc:~] andreast% uname -ra
FreeBSD tc.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r201405M: Sat Jan  2
22:32:53 CET 2010    
andreast@tc.andreas.nets:/usr/obj/export/devel/fbsd/head/src/sys/TC  i386

[tc:~] andreast% gcj45 -v
Using built-in specs.
Reading specs from
/usr/local/lib/gcc45/gcc/i386-portbld-freebsd9.0/4.5.0/../../../libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
COLLECT_GCC=gcj45
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc45/gcc/i386-portbld-freebsd9.0/4.5.0/lto-wrapper
Target: i386-portbld-freebsd9.0
Configured with: ./../gcc-4.5-20091231/configure --disable-nls
--libdir=/usr/local/lib/gcc45 --libexecdir=/usr/local/libexec/gcc45
--program-suffix=45 --with-as=/usr/local/bin/as --with-gmp=/usr/local
--with-gxx-include-dir=/usr/local/lib/gcc45/include/c++/
--with-libiconv-prefix=/usr/local --with-system-zlib --disable-rpath
--prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/gcc45
--build=i386-portbld-freebsd9.0
Thread model: posix
gcc version 4.5.0 20091231 (experimental) (GCC) 


-- 


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


  parent reply	other threads:[~2010-01-03 19:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-18 22:39 [Bug java/41745] New: " 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:21 ` 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 [this message]
2010-01-04 23:57 ` yuri at rawbw dot com
2010-01-09 20:15 ` gerald at pfeifer dot com
2010-01-09 20:24 ` andreast at gcc dot gnu dot org
2010-01-10 14:58 ` andreast at gcc dot gnu dot org
2010-01-11  8:37 ` gerald at pfeifer dot com

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=20100103193836.11635.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).