Bug 240458

Summary: lang/erlang: disable DTRACE option on powerpc64 elfv2
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon
Priority: --- Flags: bugzilla: maintainer-feedback? (erlang)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-09-09 19:56:16 UTC
Created attachment 207336 [details]
patch

Dtrace currently doesn't work on powerpc64 elfv2:
ld: error: undefined symbol: __dtraceenabled_erlang___process__scheduled

Disable it on FreeBSD 13 to fix build.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-10-04 22:32:39 UTC
A commit references this bug:

Author: linimon
Date: Fri Oct  4 22:32:00 UTC 2019
New revision: 513792
URL: https://svnweb.freebsd.org/changeset/ports/513792

Log:
  Disable DTRACE on powerpc64-CURRENT.  It is known not to link on elfv2.

  Rather than conditionalize the inclusion on elfv2, I am asssuming the
  userbase of erlang on powerpc64-CURRENT is still tiny.  Effort would
  better be spent on investigating the general problem on powerpc64.

  PR:		240458 240461 240501 240502
  Submitted by:	pkubaj
  Approved by:	erlang (maintainer-timeout, > 2 weeks)

Changes:
  head/lang/erlang/Makefile
  head/lang/erlang-runtime19/Makefile
  head/lang/erlang-runtime20/Makefile
  head/lang/erlang-runtime21/Makefile