Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 592888 Details for
Bug 833311
rpm dwz support
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
find-debuginfo.sh patch
rpm-dwz.patch (text/plain), 2.69 KB, created by
Jakub Jelinek
on 2012-06-19 09:37:45 UTC
(
hide
)
Description:
find-debuginfo.sh patch
Filename:
MIME Type:
Creator:
Jakub Jelinek
Created:
2012-06-19 09:37:45 UTC
Size:
2.69 KB
patch
obsolete
>--- rpm-4.10.0/scripts/find-debuginfo.sh.jj 2012-03-20 09:07:25.000000000 +0100 >+++ rpm-4.10.0/scripts/find-debuginfo.sh 2012-06-19 11:35:35.340363432 +0200 >@@ -4,6 +4,8 @@ > # > # Usage: find-debuginfo.sh [--strict-build-id] [-g] [-r] > # [-o debugfiles.list] >+# [--run-dwz] [--dwz-low-mem-die-limit N] >+# [--dwz-max-die-limit N] > # [[-l filelist]... [-p 'pattern'] -o debuginfo.list] > # [builddir] > # >@@ -20,6 +22,10 @@ > # The -p argument is an grep -E -style regexp matching the a file name, > # and must not use anchors (^ or $). > # >+# The --run-dwz flag instructs find-debuginfo.sh to run the dwz utility >+# if available, and --dwz-low-mem-die-limit and --dwz-max-die-limit >+# provide detailed limits. See dwz(1) -l and -L option for details. >+# > # All file names in switches are relative to builddir (. if not given). > # > >@@ -32,6 +38,11 @@ strip_r=false > # Barf on missing build IDs. > strict=false > >+# DWZ parameters. >+run_dwz=false >+dwz_low_mem_die_limit= >+dwz_max_die_limit= >+ > BUILDDIR=. > out=debugfiles.list > nout=0 >@@ -40,6 +51,17 @@ while [ $# -gt 0 ]; do > --strict-build-id) > strict=true > ;; >+ --run-dwz) >+ run_dwz=true >+ ;; >+ --dwz-low-mem-die-limit) >+ dwz_low_mem_die_limit=$2 >+ shift >+ ;; >+ --dwz-max-die-limit) >+ dwz_max_die_limit=$2 >+ shift >+ ;; > -g) > strip_g=true > ;; >@@ -266,6 +288,31 @@ while read nlinks inum f; do > fi > done || exit > >+# Invoke the DWARF Compressor utility. >+if $run_dwz && type dwz >/dev/null 2>&1 \ >+ && [ -d "${RPM_BUILD_ROOT}/usr/lib/debug" ]; then >+ dwz_files="`cd "${RPM_BUILD_ROOT}/usr/lib/debug"; find -type f -name \*.debug`" >+ if [ -n "${dwz_files}" ]; then >+ dwz_multifile_name="${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}.${RPM_ARCH}" >+ dwz_multifile_suffix= >+ dwz_multifile_idx=0 >+ while [ -f "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz/${dwz_multifile_name}${dwz_multifile_suffix}" ]; do >+ let ++dwz_multifile_idx >+ dwz_multifile_suffix=".${dwz_multifile_idx}" >+ done >+ dwz_multfile_name="${dwz_multifile_name}${dwz_multifile_suffix}" >+ dwz_opts="-h -q -r -m .dwz/${dwz_multifile_name}" >+ mkdir -p "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz" >+ [ -n "${dwz_low_mem_die_limit}" ] \ >+ && dwz_opts="${dwz_opts} -l ${dwz_low_mem_die_limit}" >+ [ -n "${dwz_max_die_limit}" ] \ >+ && dwz_opts="${dwz_opts} -L ${dwz_max_die_limit}" >+ ( cd "${RPM_BUILD_ROOT}/usr/lib/debug" && dwz $dwz_opts $dwz_files ) >+ # Remove .dwz directory if empty >+ rmdir "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz" 2>/dev/null >+ fi >+fi >+ > # For each symlink whose target has a .debug file, > # make a .debug symlink to that file. > find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*" -type l -print |
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 833311
:
592863
|
592888
|
592903
|
593658
|
594159