Bug 245382 - New port: devel/dwz DWARF optimization and duplicate removal tool
Summary: New port: devel/dwz DWARF optimization and duplicate removal tool
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-05 19:37 UTC by Brian Callahan
Modified: 2021-02-18 19:45 UTC (History)
0 users

See Also:


Attachments
dwz port shar (47.08 KB, text/plain)
2020-04-05 19:37 UTC, Brian Callahan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Callahan 2020-04-05 19:37:40 UTC
Created attachment 213104 [details]
dwz port shar

Included here is a shar for a new port, devel/dwz. dwz is a program that attempts to optimize DWARF debugging information contained in ELF shared libraries and ELF executables for size, by replacing DWARF information representation with equivalent smaller representation where possible and by reducing the amount of duplication using techniques from DWARF standard appendix E - creating DW_TAG_partial_unit compilation units (CUs) for duplicated information and using DW_TAG_imported_unit to import it into each CU that needs it.

This is a port of the OpenBSD port of dwz.

Let me know if there's anything else I need to do.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-02-18 19:45:14 UTC
A commit references this bug:

Author: amdmi3
Date: Thu Feb 18 19:44:41 UTC 2021
New revision: 565971
URL: https://svnweb.freebsd.org/changeset/ports/565971

Log:
  - Add devel/dwz: DWARF optimization and duplicate removal tool

  dwz is a program that attempts to optimize DWARF debugging information
  contained in ELF shared libraries and ELF executables for size, by
  replacing DWARF information representation with equivalent smaller
  representation where possible and by reducing the amount of duplication
  using techniques from DWARF standard appendix E - creating
  DW_TAG_partial_unit compilation units (CUs) for duplicated information
  and using DW_TAG_imported_unit to import it into each CU that needs it.

  WWW: https://sourceware.org/dwz/

  PR:		245382
  Submitted by:	bcallah@openbsd.org

Changes:
  head/devel/Makefile
  head/devel/dwz/
  head/devel/dwz/Makefile
  head/devel/dwz/distinfo
  head/devel/dwz/files/
  head/devel/dwz/files/patch-Makefile
  head/devel/dwz/files/patch-dwz.c
  head/devel/dwz/files/patch-hashtab.c
  head/devel/dwz/files/patch-obstack.c
  head/devel/dwz/files/patch-obstack.h
  head/devel/dwz/files/patch-sha1.c
  head/devel/dwz/pkg-descr
  head/devel/dwz/pkg-plist
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2021-02-18 19:45:37 UTC
Committed, thanks! Would be nice if at least some patches could be upstreamed.