[Bug 830863] Review Request: dwz - DWARF optimization and duplicate removal tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=830863

--- Comment #1 from Jakub Jelinek <jakub@xxxxxxxxxx> ---
This package is being added as part of
https://fedoraproject.org/wiki/Features/DwarfCompressor
The other changes needed by that feature will be a small adjustment to
find-debuginfo.sh (roughly (untested)
if type dwz > /dev/null 2>&1; then
  files="`find "$RPM_BUILD_ROOT"/usr/lib/debug -type f -name \*.debug`"
  if [ -n "$files" ]; then
    dwz -m .dwz/$NVRA.debug -l $DWZ_LOW_MEM_DIE_LIMIT -L $DWZ_MAX_DIE_LIMIT
$files
  fi
fi
) where DWZ_LOW_MEM_DIE_LIMIT and DWZ_MAX_DIE_LIMIT are parameters passed
through from some arch macros that depend on how much memory exists on the
build boxes for the arch in question and possible 32-bit host address space
limitations.
E.g. dwz's default 20000000 for the lower limit and 50000000 limit are
hopefully ok for i?86 (won't be able to optimize libxul.so.debug though), for
x86_64 could have e.g. the higher limit raised to 120000000, on arm perhaps
lowered.
NVRA should be the %{name}-%{version}-%{release}.%{arch} of the package.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]