as referenced for other applications (e.g. bug#224271 ) this also affects : dtrace: failed to link script /root/openjdk-jdk11u/build/bsd-aarch64-normal-server-fastdebug/hotspot/variant-server/support/dtrace/dtrace.od: an error was encountered while processing / root / openjdk jdk11u / build / bsd-aarch64-normal-server-fast debug / hotspot / variant-server / libjvm / objs / classLoadingService.o dt_modtext: /usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c (811): aarch64 not implemented from here : https://github.com/freebsd/freebsd/blob/master/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c at Oracle looks better for aarch64: https://github.com/oracle/dtrace-utils/blob/master/libdtrace/dt_link.c (dt_link.c implements aarch64) I just wanted to invite a few more experts to try a patch based on the Oracle sources , thanks
I was able to ' make buildworld install world ' under FreeBSD 12.0-STABLE/aarch64 with this patch : https://github.com/klaus4/freebsd/commit/b7d558562eaebb28910e92e94020d7696d509c25#diff-a022cd46f8e13aea89a6d4bb70e7b3c8 after the patch I also could compile openjdk11 with dtrace enabled but only with flag : --with-extra-ldflags='-Wl,-z,notext' further discussion of debugging/implementing dtrace/aarch64 for openjdk11 here : https://github.com/battleblow/openjdk-jdk11u/issues/62 Best Regards Klaus
`ve made this into a git-PR : https://github.com/freebsd/freebsd/pull/415 Regards
fixed: https://github.com/freebsd/freebsd/commit/2ade50c4604d177da75b805a24d65bf06af13bf4