This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ecj] How to get make check working


On Sat, 2006-12-23 at 12:51 +0100, Mark Wielaard wrote:
> On Sat, 2006-12-23 at 11:33 +0000, Andrew Haley wrote:
> > Mark Wielaard writes:
> > 
> >  > On the gcj-eclipse-merge-branch how do you get make check-target-libjava
> >  > working?
> > 
> > Worksforme.  It'd be nice if you could tell us what problem you had.
> 
> It seems to insist on executing ecj1:
> 
> byte compile: /home/mark/src/gcj-eclipse-merge-branch/obj/gcc/gcj -B/home/mark/src/gcj-eclipse-merge-branch/obj/x86_64-unknown-linux-gnu/libjava/ -B/home/mark/src/gcj-eclipse-merge-branch/obj/gcc/ --encoding=UTF-8 -C -I/home/mark/src/gcj-eclipse-merge-branch/obj/x86_64-unknown-linux-gnu/libjava/testsuite/../libgcj-4.3.0.jar -g /home/mark/src/gcj-eclipse-merge-branch/libjava/testsuite/libjava.cni/PR9577.java -d /home/mark/src/gcj-eclipse-merge-branch/obj/x86_64-unknown-linux-gnu/libjava/testsuite 2>@ stdout
> couldn't compile /home/mark/src/gcj-eclipse-merge-branch/libjava/testsuite/libjava.cni/PR9577.java: gcj: error trying to exec 'ecj1': execvp: No such file or directory
> child process exited abnormally
> FAIL: bytecompile /home/mark/src/gcj-eclipse-merge-branch/libjava/testsuite/libjava.cni/PR9577.java
> 
> So trying to build me one of those now. But it would be nice if it also
> worked for a default configure && make && make check

yep, executing contrib/download_ecj and configure && make again fixed
most of this. Then there is still a small issue where a lot of tests say
FAIL: header generation, but don't give more clues in the .log file. It
looks like gcjh isn't found correctly. Installing and setting PATH to
the install dir gets rid of those. Then the only FAILs lefts are:

FAIL: ArrayStore output - source compiled test
FAIL: ArrayStore -findirect-dispatch output - source compiled test
FAIL: ArrayStore -O3 output - source compiled test
FAIL: ArrayStore -O3 -findirect-dispatch output - source compiled test
FAIL: PR162 output - source compiled test
FAIL: PR162 -O3 output - source compiled test

This is on x86_64-unknown-linux-gnu (FC5).

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]