Bug 226027 - DTrace User-Defined Static Tracing is broken on armv6, armv7 and aarch64
Summary: DTrace User-Defined Static Tracing is broken on armv6, armv7 and aarch64
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-arm mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-19 02:16 UTC by Mark Linimon
Modified: 2018-02-19 07:48 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2018-02-19 02:16:13 UTC
(This is a src tree equivalent to ports PR 224271, to migrate its content.  The ports tree is going to work around this for now.)

In 224271 2017-12-12 12:02 UTC by mikael.urankar@gmail.com wrote:

"On aarch64 ld(1) fails to link probes: Relocations in generic ELF (EM: 0)"

"On armv6/7 we have this error: dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented"

This is still heavily affecting armv7 package builds as of 20180219.  I'm taking it on myself to implement workarounds in the ports tree.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2018-02-19 02:17:00 UTC
This also affects 11-STABLE and 11.1R.
Comment 2 Jan Beich freebsd_committer 2018-02-19 07:45:10 UTC
aarch64 issue is the same as armv6. It's just base r325042 changed the error message.
Comment 3 Jan Beich freebsd_committer 2018-02-19 07:48:08 UTC
Also, aarch64 uses lld since 11.1, so ld reports errors slightly different.