[Bug java/35923] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory
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
[Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
--- 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
[Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
--- 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