Bug 239805 - adding dtrace support for aarch64
Summary: adding dtrace support for aarch64
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: 12.0-RELEASE
Hardware: arm64 Any
: --- Affects Many People
Assignee: freebsd-arm mailing list
Depends on:
Reported: 2019-08-12 17:05 UTC by Klaus Küchemann
Modified: 2019-08-23 12:09 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Küchemann 2019-08-12 17:05:00 UTC
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 :

at Oracle looks better for aarch64:
(dt_link.c implements aarch64)

I just wanted to invite a few more experts to try a patch based on the Oracle sources , thanks
Comment 1 Klaus Küchemann 2019-08-23 12:09:56 UTC
I was able to ' make buildworld install world ' under FreeBSD 12.0-STABLE/aarch64
with this patch :


after the patch I also could compile openjdk11 with dtrace enabled but only with flag : 


further discussion of debugging/implementing dtrace/aarch64 for openjdk11 here :


Best Regards