10 Star 0 Fork 16

src-openEuler/dwz
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dwz.spec 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
刘智淋 提交于 2025-07-15 16:52 +08:00 . backport Fix double free in compute_abbrevs
Name: dwz
Version: 0.15
Release: 4
Summary: A DWARF optimization and duplicate removal tool
License: GPLv2+ and GPLv3+
URL: https://sourceware.org/dwz/
Source0:https://sourceware.org/ftp/dwz/releases/%{name}-%{version}.tar.xz
Patch0:dwz-0.15-index9.patch
Patch1:backport-Fix-double-free-in-compute_abbrevs.patch
BuildRequires:gcc gcc-c++ gdb elfutils-libelf-devel dejagnu
BuildRequires:xxhash-devel
%description
The 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.
%package_help
%prep
%autosetup -n %{name} -p1
%build
make %{?_smp_mflags} CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
#%%make_build
%install
#%rm -rf %{buildroot}
make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \
install
#%%make_install
%pre
%preun
%post
%postun
%check
make check
%files
%defattr(-,root,root,-)
%license COPYING COPYING3 COPYING.RUNTIME
%{_bindir}/dwz
%files help
%{_mandir}/man1/dwz*
%changelog
* Tue Jul 15 2025 liuzhilin <liuzhilin@kylinos.cn> - 0.15-4
- backport Fix double free in compute_abbrevs
* Fri Jan 17 2025 pengjian <pengjian23@mails.ucas.ac.cn> - 0.15-3
- add dwz-0.15-index9.patch
* Fri Jan 17 2025 hugel <gengqihu2@h-partners.com> - 0.15-2
- delete redundant patches
* Thu Jan 19 2023 renhongxun <renhongxun@h-partner.com> - 0.15-1
- upgrade version to 0.15
* Tue Jan 10 2023 dongyuzhen <dongyuzhen@h-partners.com> - 0.14-5
- fix the testcase fail
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 0.14-4
- rebuild for next release
* Tue Jan 25 2022 renhongxun <renhongxun@h-partner.com> - 0.14-3
- fix testsuite with community patch
* Mon Oct 25 2021 caodongxia <caodongxia@huawei.com> - 0.14-2
- Add buildRequire gcc-c++ and gdb
* Sat Jul 24 2021 shixuantong <shixuantong@huawei.com> - 0.14-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update version to 0.14
* Mon Jul 27 2020 wenzhanli<wenzhanli2@huawei.com> - 0.13-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:version update 0.13
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 0.12-11
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add help package
* Thu Aug 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.12-10
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/dwz.git
git@gitee.com:src-openeuler/dwz.git
src-openeuler
dwz
dwz
openEuler-24.03-LTS-SP1

搜索帮助