Re: openjdk on armv7?
- In reply to: bob prohaska : "openjdk on armv7?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Sep 2026 07:12:03 UTC
Op donderdag 10 september 2026 04:58:09 (+02:00) schreef bob prohaska: > Tried to compile openjdk21 using poudriere on an armv7 > host. To my surprise poudriere reported that aarch64 > was required. > > Is there a way to figure out which ports compile on armv7 > short of trying to build them? > > Thanks for reading, > > bob prohaska There is no quick "one click" way to know this. There are some indicators. Some ports define ONLY_FOR_ARCHS: $ grep ONLY_FOR_ARCHS java/openjdk21/Makefile ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le Some ports define BROKEN_armv7: $ grep BROKEN_arm java/*/Makefile java/java3d/Makefile:BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details java/java3d/Makefile:BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details Maybe there are more indicators I don't know about. BTW: I also "unbroke" ports that said they were broken, but compiled fine because they got some upgrades in the meantime and nobody re-tested on the platform. So the indicators can be out of date. Another indicator can be the package overview on freshports.org (https://www.freshports.org/devel/benchmark/#packages). But the official pkg builders don't build armv7 anymore so you can't trust this for recent ports changes. Regards, Ronald.