-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"mx image" fails (solved) #4
Comments
Hello, Could you please include the JDK version you are using to build maxine-VM? Please refer to https://github.com/beehive-lab/Maxine-VM#platform for the currently supported platform configurations. If you are familiar with docker you can also use our dockerfile and follow the instructions to create a docker container with the appropriate configuration to build maxine-VM. |
openjdk-7-jdk/trusty-updates,trusty-security,now 7u121-2.6.8-1ubuntu0.14.04.3 amd64 [installed] |
Unfortunately, u121 is not supported yet please try using u25. |
Yes, u25 works for me. |
It would be nice to add the JDK class library version check during the build with meaningful output. |
Regarding the title, it actually has the same behavior on AArch32 (and presumably x86) as well. |
export WORKDIR=/home/mds/max
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export MAXINE_HOME=$WORKDIR/maxine
export PATH=$PATH:$WORKDIR/graal/mxtool/:$MAXINE_HOME/com.oracle.max.vm.native/generated/linux/
$ cd $MAXINE_HOME
$ mx image
Exception in thread "main" com.sun.max.program.ProgramError: Unexpected Program Error: Class java.lang.Class does not declare field declaredFields
at com.sun.max.program.ProgramError.unexpected(ProgramError.java:117)
at com.sun.max.program.ProgramError.unexpected(ProgramError.java:129)
at com.sun.max.vm.hosted.JDKInterceptor$InterceptedField.ensureFieldExists(JDKInterceptor.java:586)
at com.sun.max.vm.hosted.JDKInterceptor$InterceptedField.verify(JDKInterceptor.java:576)
at com.sun.max.vm.hosted.JDKInterceptor.fillInterceptedFieldMap(JDKInterceptor.java:489)
at com.sun.max.vm.hosted.JDKInterceptor.buildInterceptedFieldMap(JDKInterceptor.java:440)
at com.sun.max.vm.hosted.JDKInterceptor.(JDKInterceptor.java:390)
at com.sun.max.vm.hosted.Prototype.loadLibrary(Prototype.java:89)
at com.sun.max.vm.hosted.Prototype.loadHostedLibrary(Prototype.java:102)
at com.sun.max.platform.Platform.hasIDiv(Platform.java:433)
at com.sun.max.platform.Platform.createTarget(Platform.java:176)
at com.sun.max.platform.Platform.(Platform.java:273)
at com.sun.max.platform.Platform.(Platform.java:257)
at com.sun.max.platform.Platform.(Platform.java:526)
at com.sun.max.vm.hosted.VMConfigurator.defaultLayoutScheme(VMConfigurator.java:112)
at com.sun.max.vm.hosted.VMConfigurator.(VMConfigurator.java:51)
at com.sun.max.vm.hosted.BootImageGenerator.(BootImageGenerator.java:206)
at com.sun.max.vm.hosted.BootImageGenerator.main(BootImageGenerator.java:471)
$
The text was updated successfully, but these errors were encountered: