[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-11 Thread gerald at pfeifer dot com
--- Comment #12 from gerald at pfeifer dot com 2010-01-11 08:36 --- Closing per previous comment. Yuri, is it possible a different (older) run-time library was picked up during your original tests? -- gerald at pfeifer dot com changed: What|Removed

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-10 Thread andreast at gcc dot gnu dot org
--- Comment #11 from andreast at gcc dot gnu dot org 2010-01-10 14:57 --- A plain gcc44 install does also work here. No patches needed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41745

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-09 Thread gerald at pfeifer dot com
--- Comment #9 from gerald at pfeifer dot com 2010-01-09 20:14 --- Excellent, thanks for the confirmation that this is fixed for GCC 4.5, Yuri. Andreas, would it make sense to bring your libffi fixes for FreeBSD to GCC 4.4 as well? Would you mind doing this? (Feel free to mark this as

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-09 Thread andreast at gcc dot gnu dot org
--- Comment #10 from andreast at gcc dot gnu dot org 2010-01-09 20:24 --- Hmmm, I need to find out first which of the many patches did solve the issue. After identifying I might do that. Let me start with a gcc44 build on my fbsd i386 box. -- andreast at gcc dot gnu dot org changed

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-04 Thread yuri at rawbw dot com
--- Comment #8 from yuri at rawbw dot com 2010-01-04 23:57 --- Subject: Re: Segmentation fault when ecj.jar is run as a binary compiled by gcj gerald at pfeifer dot com wrote: > --- Comment #6 from gerald at pfeifer dot com 2010-01-03 13:10 --- > Would you mind trying again w

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-03 Thread andreast at gcc dot gnu dot org
--- 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[]) {

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-03 Thread gerald at pfeifer dot com
--- Comment #6 from gerald at pfeifer dot com 2010-01-03 13:10 --- Would you mind trying again with the latest snapshot/SVN version of GCC (or the current version of lang/gcc45, if you prefer)? There have been some improvements recently to libffi which may make a difference. (It does l

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread yuri at tsoft dot com
--- Comment #5 from yuri at tsoft dot com 2009-10-19 19:12 --- How to run testsuite for gcj? When I run 'gmake check-gcc' from the build directory it doesn't run gcj tests at all, and gcc/g++ tests summaries are all empty. Not sure what that means. -- http://gcc.gnu.org/bugzilla/sho

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread yuri at tsoft dot com
--- Comment #4 from yuri at tsoft dot com 2009-10-19 17:20 --- I confirm this on FreeBSD-8.0 for gcc-4.5.0.20091001. I notified the maintainer of FreeBSD gcc port. But once the fix will be found it should go into gcj itself, not into port. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-19 10:53 --- Sounds more like a BSD threads issue, so you need to debug it more. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread yuri at tsoft dot com
--- Comment #2 from yuri at tsoft dot com 2009-10-19 09:23 --- No, it doesn't work for me on FreeBSD-8.0: /usr/local/gcc/4.4.1-java/bin/gcj -o ecj --main=org.eclipse.jdt.internal.compiler.batch.Main /usr/local/share/java/ecj.jar LD_LIBRARY_PATH=/usr/local/gcc/4.4.1-java/lib ldd ./ecj .

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread aph at gcc dot gnu dot org
--- Comment #1 from aph at gcc dot gnu dot org 2009-10-19 09:08 --- Works for me: $ gcj -o ecj --main=org.eclipse.jdt.internal.compiler.batch.Main /usr/share/java/ecj.jar $ ./ecj HelloWorld.java $ java HelloWorld Hello World! -- aph at gcc dot gnu dot org changed: Wha