Skip to content
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

Auto-detect does not work for arm 32 builds #18

Closed
smlambert opened this issue Dec 7, 2019 · 2 comments · Fixed by #88
Closed

Auto-detect does not work for arm 32 builds #18

smlambert opened this issue Dec 7, 2019 · 2 comments · Fixed by #88
Labels
bug Something isn't working
Milestone

Comments

@smlambert
Copy link
Contributor

See https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1267, think auto-detect does not work as the value of java.vm.name is unexpected.

01:47:02 AUTO_DETECT is set to true
01:47:02 /home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java -cp ./bin/TestKitGen.jar org.openj9.envInfo.EnvDetector JavaInfo
01:47:02 System.getProperty('os.name')=Linux
01:47:02
01:47:02 System.getProperty('os.arch')=arm
01:47:02
01:47:02 System.getProperty('java.fullversion')=null
01:47:02
01:47:02 Cannot determine System.getProperty('os.arch')=arm
01:47:02
01:47:02 System.getProperty('java.vm.name')=OpenJDK Zero VM
01:47:02
01:47:02 run_configure.mk:29: recipe for target 'testconfig' failed
01:47:02 make: *** [testconfig] Error 1

@aahlenst
Copy link

@smlambert Is there a workaround? I just stumbled on this one.

@smlambert
Copy link
Contributor Author

Yes, you can disable AUTO_DETECT and explicitly set SPEC / JDK_IMPL / JDK_VERSION to work-around until this is fixed.

So, if running locally:
export AUTO_DETECT=false
export SPEC= linux_arm
export JDK_IMPL=hotspot
export JDK_VERSION=8 // (or as appropriate)


or in Grinder, unset AUTO_DETECT and make sure to fill in PLATFORM/JDK_IMPL/JDK_VERSION explicitly

Screen Shot 2020-06-28 at 10 17 36 AM

Also think it may be a relatively simple fix (#88) but do not have a machine on which to verify it.

@karianna karianna added this to the June 2020 milestone Jun 29, 2020
@karianna karianna modified the milestones: June 2020, July 2020 Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants