error building graal
Venkatachalam, Vasanth
Vasanth.Venkatachalam at amd.com
Mon Feb 11 12:48:13 PST 2013
The build works now. As you suggested, the problem was with the jdk version.
Thanks,
Vasanth
From: Gilles Duboscq [mailto:gilwooden at gmail.com]
Sent: Monday, February 11, 2013 2:25 PM
To: Venkatachalam, Vasanth
Cc: Christian Humer; graal-dev at openjdk.java.net
Subject: Re: error building graal
This is not in the source tree because it is a generated class,
As you can see in the last call to Javac (the one that fails)
/home/tester/Downloads/jdk1.7.0/bin/javac -g -J-Xmx1g -source 1.7 -classpath /home/tester/vasanth/graal/graal/graal/com.oracle.truffle.api.codegen/bin:/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.api/bin:/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/bin<http://com.oracle.truffle.sl/bin> -d /home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/bin<http://com.oracle.truffle.sl/bin> -processorpath /home/tester/vasanth/graal/graal/graal/com.oracle.truffle.api.codegen/bin:/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.api/bin:/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.codegen.processor/bin -s /home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src_gen<http://com.oracle.truffle.sl/src_gen> @/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/javafilelist.txt<http://com.oracle.truffle.sl/javafilelist.txt> -XDignore.symbol.file
There is a "-processorpath" which should activate javac's annotation processor and generate the proper sources in "/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src_gen<http://com.oracle.truffle.sl/src_gen>"
The question is why doesn't the annotation processor run.
I tried reproducing in a clean repository with jdk1.7.0_11 and jdk1.7.0_06 and i could not reproduce. I didn't try jdk1.7.0 (update "0") which is what you seem to be using maybe you can try with a more recent version of the JDK 7?
On Mon, Feb 11, 2013 at 9:16 PM, Vasanth Venkatachalam <Vasanth.Venkatachalam at amd.com<mailto:Vasanth.Venkatachalam at amd.com>> wrote:
The summary is that there is an import
Import com.oracle.truffle.sl.nodes.ArithmeticNodeFactory.*; inside NodeFactory.java, but that package does not exist in the source tree.
Vasanth
-----Original Message-----
From: Venkatachalam, Vasanth
Sent: Monday, February 11, 2013 1:55 PM
To: Venkatachalam, Vasanth; Christian Humer
Cc: graal-dev at openjdk.java.net<mailto:graal-dev at openjdk.java.net>
Subject: RE: error building graal
Looks like the attachment never made it. Here's a cut and paste of the output from mx- v build --no-native-c
From: Christian Humer [mailto:christian.humer at gmail.com<mailto:christian.humer at gmail.com>]
Sent: Monday, February 11, 2013 12:26 PM
To: Venkatachalam, Vasanth
Cc: graal-dev at openjdk.java.net<mailto:graal-dev at openjdk.java.net>
Subject: Re: error building graal
Hi,
I checked the actual version on openjdk and I could not reproduce your problem.
Which commands did you run and in which order?
Could you please run "mx -v build --no-native -c" and send me the output?
I would also appreciate the exact java version using the "java -version" command.
Thx.
- Christian Humer
More information about the graal-dev
mailing list