public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory
@ 2008-04-13 16:30 david dot griffiths at gmail dot com
2008-04-13 23:59 ` [Bug java/35923] " brian at dessent dot net
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: david dot griffiths at gmail dot com @ 2008-04-13 16:30 UTC (permalink / raw)
To: java-prs
I get the following error on a clean 4.3.0 build when trying (eg) "gcj
foo.java":
gcj: error trying to exec 'ecj1': execvp: No such file or directory
I'm a bit puzzled by bug 32712 being listed as resolved and even more so by the
references to just needing to run "./contrib/download_ecj". I tried this (on a
clean installation) and it made no difference. I also tried specifying the
location of ecj.jar with:
./configure --with-ecj-jar=/home/dgriff/gcc-4.3.0/ecj.jar
again, that made no difference.
--
Summary: gcj: error trying to exec 'ecj1': execvp: No such file
or directory
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david dot griffiths at gmail dot com
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
@ 2008-04-13 23:59 ` brian at dessent dot net
2008-04-14 12:25 ` david dot griffiths at gmail dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: brian at dessent dot net @ 2008-04-13 23:59 UTC (permalink / raw)
To: java-prs
------- Comment #1 from brian at dessent dot net 2008-04-13 23:59 -------
Subject: Re: New: gcj: error trying to exec 'ecj1': execvp: No
such file or directory
david dot griffiths at gmail dot com wrote:
> gcj: error trying to exec 'ecj1': execvp: No such file or directory
Run the command with -v to show what it's trying to exec, and paste the
output as well as the actual location of ecj1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
2008-04-13 23:59 ` [Bug java/35923] " brian at dessent dot net
@ 2008-04-14 12:25 ` david dot griffiths at gmail dot com
2008-04-15 4:07 ` brian at dessent dot net
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: david dot griffiths at gmail dot com @ 2008-04-14 12:25 UTC (permalink / raw)
To: java-prs
------- Comment #2 from david dot griffiths at gmail dot com 2008-04-14 12:25 -------
Well there is no ecj1 - that's the problem I think. It didn't build it.
Presumably nobody has noticed this before because they are picking up an old
version of ecj1? Anyway, here's the -v output:
/home/dgriff> gcj -v foo.java
Using built-in specs.
Reading specs from /lib/libgcj.spec
rename spec lib to liborig
Target: i686-pc-cygwin
Configured with: ./configure
Thread model: single
gcc version 4.3.0 (GCC)
COLLECT_GCC_OPTIONS='-fsaw-java-file' '-v'
'-fbootclasspath=.;C/:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C/:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C/:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C/:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;C/:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C/:\PROGRA~1\IBM\SQLLIB\bin;C/:\PROGRA~1\IBM\SQLLIB\java\common.jar;C/:\Program
Files\Java\jre1.6.0_02\lib\ext\QTJava.zip:/usr/local/share/java/libgcj-4.3.0.jar'
'-g1' '-mtune=generic'
ecj1 foo.java -g1
-fbootclasspath=.;C/:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C/:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C/:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C/:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;C/:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C/:\PROGRA~1\IBM\SQLLIB\bin;C/:\PROGRA~1\IBM\SQLLIB\java\common.jar;C/:\Program
Files\Java\jre1.6.0_02\lib\ext\QTJava.zip:/usr/local/share/java/libgcj-4.3.0.jar
-g1 -fsource=1.5 -ftarget=1.5 -fzip-dependency
/cygdrive/c/DOCUME~1/dgriff/LOCALS~1/Temp/ccQkBX0B.zip -fzip-target
/cygdrive/c/DOCUME~1/dgriff/LOCALS~1/Temp/ccwv2KR3.jar
gcj: error trying to exec 'ecj1': execvp: No such file or directory
Also, the result of find:
/home/dgriff/gcc-4.3.0> find . -iname ecj\*
./ecj.jar
/home/dgriff/gcc-4.3.0> cd /usr
/usr> find . -iname ecj\*
/usr> cd
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
2008-04-13 23:59 ` [Bug java/35923] " brian at dessent dot net
2008-04-14 12:25 ` david dot griffiths at gmail dot com
@ 2008-04-15 4:07 ` brian at dessent dot net
2008-04-16 14:32 ` david dot griffiths at gmail dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: brian at dessent dot net @ 2008-04-15 4:07 UTC (permalink / raw)
To: java-prs
------- Comment #3 from brian at dessent dot net 2008-04-15 04:07 -------
Subject: Re: gcj: error trying to exec 'ecj1': execvp: No such
file or directory
david dot griffiths at gmail dot com wrote:
> Well there is no ecj1 - that's the problem I think. It didn't build it.
ecj1 is just a wrapper script that runs ecj.jar to generate the
bytecode, see <http://gcc.gnu.org/ml/java/2008-04/msg00006.html>.
> Configured with: ./configure
Not good. Try building in an empty dir outside of the source dir as the
install directions state and see if that fixes the problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
` (2 preceding siblings ...)
2008-04-15 4:07 ` brian at dessent dot net
@ 2008-04-16 14:32 ` david dot griffiths at gmail dot com
2008-04-16 14:50 ` brian at dessent dot net
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: david dot griffiths at gmail dot com @ 2008-04-16 14:32 UTC (permalink / raw)
To: java-prs
------- Comment #4 from david dot griffiths at gmail dot com 2008-04-16 14:31 -------
Hi, made no difference. I created a separate gcc-4.3.0-build directory and
placed the ecj.jar both in there and in the top level source director (just to
be sure).
Note that the build directory contains no libjava on completion, not sure if it
should? (As that's the only place that seems to refer to ecj1). I am just doing
"./configure" but that should build java by default, right? The config.log
certainly contains lines like "build_configargs='--cache-file=../config.cache
'--enable-languages=c,c++,fortran,java,objc'
--program-transform-name='s,y,y,''".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
` (3 preceding siblings ...)
2008-04-16 14:32 ` david dot griffiths at gmail dot com
@ 2008-04-16 14:50 ` brian at dessent dot net
2008-06-13 1:28 ` sebasmagri at gmail dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: brian at dessent dot net @ 2008-04-16 14:50 UTC (permalink / raw)
To: java-prs
------- Comment #5 from brian at dessent dot net 2008-04-16 14:50 -------
Subject: Re: gcj: error trying to exec 'ecj1': execvp: No such
file or directory
david dot griffiths at gmail dot com wrote:
> Note that the build directory contains no libjava on completion, not sure if it
> should? (As that's the only place that seems to refer to ecj1). I am just doing
> "./configure" but that should build java by default, right? The config.log
> certainly contains lines like "build_configargs='--cache-file=../config.cache
> '--enable-languages=c,c++,fortran,java,objc'
> --program-transform-name='s,y,y,''".
Oh, this is Cygwin. Ick. gcj support for Cygwin is very iffy. Last
time I tried you had to --enable-libjava to get it to build libjava as
it was disabled by default. And even then it will only build a static
libjava which is not very useful. Also the default SJLJ EH makes
performance nearly intolerable, so you'll probably want to switch to
Dwarf-2 EH. I'm not sure if all the required patches for DW2 EH to
function correctly on MinGW/Cygwin are in the FSF tree or not. (Along
with the other problems with DW2 EH on Win32...)
If you google a little I think you can find hacks for building a MinGW
shared libjava which you might be able to adapt, but I don't know. I
wouldn't expect much.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
` (4 preceding siblings ...)
2008-04-16 14:50 ` brian at dessent dot net
@ 2008-06-13 1:28 ` sebasmagri at gmail dot com
2009-02-03 8:43 ` cnstar9988 at gmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: sebasmagri at gmail dot com @ 2008-06-13 1:28 UTC (permalink / raw)
To: java-prs
------- Comment #6 from sebasmagri at gmail dot com 2008-06-13 01:28 -------
I'm getting the same message on a Gentoo/amd64 box... It's reported on gentoo
bugzilla http://bugs.gentoo.org/show_bug.cgi?id=225605
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
` (5 preceding siblings ...)
2008-06-13 1:28 ` sebasmagri at gmail dot com
@ 2009-02-03 8:43 ` cnstar9988 at gmail dot com
2009-03-03 16:23 ` norm at nebcs dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cnstar9988 at gmail dot com @ 2009-02-03 8:43 UTC (permalink / raw)
To: java-prs
------- Comment #7 from cnstar9988 at gmail dot com 2009-02-03 08:43 -------
4.3.3 on Linux has the same problem.
Target Milestone: 4.3.3?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
` (6 preceding siblings ...)
2009-02-03 8:43 ` cnstar9988 at gmail dot com
@ 2009-03-03 16:23 ` norm at nebcs dot com
2009-05-28 20:59 ` jlquinn at optonline dot net
2010-02-17 15:24 ` davek at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: norm at nebcs dot com @ 2009-03-03 16:23 UTC (permalink / raw)
To: java-prs
------- Comment #8 from norm at nebcs dot com 2009-03-03 16:23 -------
4.3.3 on Solaris 2.8 has the problem also.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
` (7 preceding siblings ...)
2009-03-03 16:23 ` norm at nebcs dot com
@ 2009-05-28 20:59 ` jlquinn at optonline dot net
2010-02-17 15:24 ` davek at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jlquinn at optonline dot net @ 2009-05-28 20:59 UTC (permalink / raw)
To: java-prs
------- Comment #9 from jlquinn at optonline dot net 2009-05-28 20:59 -------
Same problem with a clean build of gcc 4.4.0 on fc7 x86_64
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
` (8 preceding siblings ...)
2009-05-28 20:59 ` jlquinn at optonline dot net
@ 2010-02-17 15:24 ` davek at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: davek at gcc dot gnu dot org @ 2010-02-17 15:24 UTC (permalink / raw)
To: java-prs
------- Comment #10 from davek at gcc dot gnu dot org 2010-02-17 15:24 -------
This bug was originally caused by the fact that libjava was disabled in
noconfigdirs for cygwin at the time the report was filed. This has long since
been fixed.
The last four comments are incorrect in assuming that they have the same bug.
Same error message != same bug; libjava is enabled in configdir on those
targets. If those reporters are still having problems, they should open
separate reports and give full details there.
--
davek at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-02-17 15:24 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-13 16:30 [Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory david dot griffiths at gmail dot com
2008-04-13 23:59 ` [Bug java/35923] " brian at dessent dot net
2008-04-14 12:25 ` david dot griffiths at gmail dot com
2008-04-15 4:07 ` brian at dessent dot net
2008-04-16 14:32 ` david dot griffiths at gmail dot com
2008-04-16 14:50 ` brian at dessent dot net
2008-06-13 1:28 ` sebasmagri at gmail dot com
2009-02-03 8:43 ` cnstar9988 at gmail dot com
2009-03-03 16:23 ` norm at nebcs dot com
2009-05-28 20:59 ` jlquinn at optonline dot net
2010-02-17 15:24 ` davek at gcc dot gnu dot org
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).