import gcc-toolset-12-dwz-0.14-2.el8

c8-beta imports/c8-beta/gcc-toolset-12-dwz-0.14-2.el8
CentOS Sources 2022-09-27 07:30:59 -04:00 committed by Stepan Oksanichenko
commit b77081993c
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
2352468822ea8a66114c1ee9e1c8375360da6d91 SOURCES/dwz-0.14.tar.xz

.gitignore vendored Normal file
View File

@ -0,0 +1 @@

SPECS/dwz.spec Normal file
View File

@ -0,0 +1,51 @@
%global __python /usr/bin/python3
%{?scl:%scl_package gcc}
Summary: DWARF optimization and duplicate removal tool
Name: %{?scl_prefix}dwz
Version: 0.14
Release: 2%{?dist}
License: GPLv2+ and GPLv3+
# git archive --format=tar --remote=git:// \
# --prefix=dwz-%%{version}/ dwz-%%{version} \
# | bzip2 -9 > dwz-%%{version}.tar.bz2
Source: dwz-%{version}.tar.xz
BuildRequires: gcc, gcc-c++, gdb, elfutils-libelf-devel, dejagnu
BuildRequires: make
The dwz package contains 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.
%setup -q -n dwz
%make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
rm -rf %{buildroot}
%make_install prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
make check
* Tue May 11 2021 Marek Polacek <> 0.14-2
- update to dwz 0.14 (#1841830)
- add make check
- use make macros
* Wed May 20 2020 Marek Polacek <> 0.12-1
- new package