error building graal
Venkatachalam, Vasanth
Vasanth.Venkatachalam at amd.com
Mon Feb 11 09:23:39 PST 2013
I'm running into an issue building GRAAL on Ubuntu 12.04 with the latest JDK 7.
I followed the instructions in http://openjdk.java.net/projects/graal/
But I get the below error. Any suggestions?
Compiling Java sources for com.oracle.truffle.sl<http://com.oracle.truffle.sl> with javac...
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:31<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:31>: error: package com.oracle.truffle.sl.nodes.ArithmeticNodeFactory does not exist
import com.oracle.truffle.sl.nodes.ArithmeticNodeFactory.*;
^
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:51<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:51>: error: cannot find symbol
frameDescriptor = new FrameDescriptor(SLTypesGen.SLTYPES);
^
symbol: variable SLTypesGen
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:59<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:59>: error: cannot find symbol
return ReadLocalNodeFactory.create(frameDescriptor.findOrAddFrameSlot(name));
^
symbol: variable ReadLocalNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:63<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:63>: error: cannot find symbol
return StringLiteralNodeFactory.create(value);
^
symbol: variable StringLiteralNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:67<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:67>: error: cannot find symbol
return WriteLocalNodeFactory.create(frameDescriptor.findOrAddFrameSlot(name), right);
^
symbol: variable WriteLocalNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:74<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:74>: error: cannot find symbol
nodes[i] = PrintNodeFactory.create(expressions.get(i), printOutput);
^
symbol: variable PrintNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:94<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:94>: error: cannot find symbol
return AddNodeFactory.create(left, right);
^
symbol: variable AddNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:96<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:96>: error: cannot find symbol
return MulNodeFactory.create(left, right);
^
symbol: variable MulNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:98<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:98>: error: cannot find symbol
return DivNodeFactory.create(left, right);
^
symbol: variable DivNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:100<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:100>: error: cannot find symbol
return SubNodeFactory.create(left, right);
^
symbol: variable SubNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:102<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:102>: error: cannot find symbol
return LessThanNodeFactory.create(left, right);
^
symbol: variable LessThanNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:104<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:104>: error: cannot find symbol
return LogicalAndNodeFactory.create(left, right);
^
symbol: variable LogicalAndNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:112<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:112>: error: cannot find symbol
return IntegerLiteralNodeFactory.create(Integer.parseInt(value));
^
symbol: variable IntegerLiteralNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:114<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:114>: error: cannot find symbol
return BigIntegerLiteralNodeFactory.create(new BigInteger(value));
^
symbol: variable BigIntegerLiteralNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:119<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:119>: error: cannot find symbol
return TimeNodeFactory.create();
^
symbol: variable TimeNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:125<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:125>: error: cannot find symbol
returnValue = ReadLocalNodeFactory.create(slot);
^
symbol: variable ReadLocalNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:127<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/NodeFactory.java:127>: error: cannot find symbol
StatementNode write = WriteLocalNodeFactory.create(slot, value);
^
symbol: variable WriteLocalNodeFactory
location: class NodeFactory
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/ReadLocalNode.java:67<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/ReadLocalNode.java:67>: error: cannot find symbol
return ReadLocalNodeFactory.createSpecialized(this, clazz);
^
symbol: variable ReadLocalNodeFactory
location: class ReadLocalNode
/home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/WriteLocalNode.java:81<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/WriteLocalNode.java:81>: error: cannot find symbol
return WriteLocalNodeFactory.createSpecialized(this, clazz);
^
symbol: variable WriteLocalNodeFactory
location: class WriteLocalNode
Note: /home/tester/vasanth/graal/graal/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/Scanner.java<http://com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/Scanner.java> uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
More information about the graal-dev
mailing list