Bug 242343 - devel/glog: fix build on powerpc64 elfv2
Summary: devel/glog: fix build on powerpc64 elfv2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sunpoet Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-01 19:26 UTC by Piotr Kubaj
Modified: 2019-12-10 17:17 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
patch (2.42 KB, patch)
2019-12-01 19:26 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (sunpoet)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-12-01 19:26:20 UTC
Created attachment 209577 [details]
patch

LRSAVE on elfv2 is in the same place as on elfv2.

Additionally, teach glog how to use program counter.
Comment 1 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-12-10 17:17:26 UTC
Committed. Thanks!
Comment 2 commit-hook freebsd_committer 2019-12-10 17:17:32 UTC
A commit references this bug:

Author: sunpoet
Date: Tue Dec 10 17:16:32 UTC 2019
New revision: 519762
URL: https://svnweb.freebsd.org/changeset/ports/519762

Log:
  Fix build on powerpc64 ELFv2

  - Teach glog how to use program counter

  PR:		242343
  Submitted by:	pkubaj

Changes:
  head/devel/glog/files/
  head/devel/glog/files/patch-m4-pc_from_ucontext.m4
  head/devel/glog/files/patch-src-stacktrace_powerpc-inl.h