aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYiFei Zhu <zhuyifei1999@gmail.com>2024-01-29 00:50:28 -0800
committerSam James <sam@gentoo.org>2024-02-21 02:13:04 +0000
commit749d231d57fb64d3f2e909dfbba26ca7c1ab9d0e (patch)
tree7d26dd41168070b6a89fb093e9bc51aa50baa5ee /man
parentgpkg: add missing newline to gpkg format error (diff)
downloadportage-749d231d57fb64d3f2e909dfbba26ca7c1ab9d0e.tar.gz
portage-749d231d57fb64d3f2e909dfbba26ca7c1ab9d0e.tar.bz2
portage-749d231d57fb64d3f2e909dfbba26ca7c1ab9d0e.zip
estrip: Support debug info deduplication with sys-devel/dwz
This this gates behind FEATURES=dedupdebug, and packages can opt-out with RESTRICT=dedupdebug, though I'm not sure why a package would need to opt this out, unless dwz could break something I'm not aware of... Bug: https://bugs.gentoo.org/906368 Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com> Closes: https://github.com/gentoo/portage/pull/1245 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/ebuild.53
-rw-r--r--man/make.conf.58
2 files changed, 10 insertions, 1 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index aad189bb0..f849f20a2 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -754,6 +754,9 @@ see the \fBQA CONTROL VARIABLES\fR section for more specific exemptions.
.I bindist
Distribution of built packages is restricted.
.TP
+.I dedupdebug
+Disables dedupdebug for specific packages.
+.TP
.I fetch
like \fImirror\fR but the files will not be fetched via \fBSRC_URI\fR either.
.TP
diff --git a/man/make.conf.5 b/man/make.conf.5
index 20dc9cb52..23d840854 100644
--- a/man/make.conf.5
+++ b/man/make.conf.5
@@ -465,13 +465,19 @@ redundant on\-the\-fly compression. The resulting file will be called
.B compressdebug
Compress the debug sections in the split debug files with zlib to save
space. See \fBsplitdebug\fR for general split debug
-information (upon which this feature depends).
+information (upon which this feature depends). See also \fBdedupdebug\fR
+for further debug info size reduction.
.TP
.B config\-protect\-if\-modified
This causes the \fBCONFIG_PROTECT\fR behavior to be skipped for files
that have not been modified since they were installed. This feature is
enabled by default.
.TP
+.B dedupdebug
+Prior to the debugging info being split and compressed, they are
+deduplicated. This feature works only if dwz is installed, and is also
+disabled by \fBnostrip\fR.
+.TP
.B digest
Autogenerate digests for packages when running the
\fBemerge\fR(1) or \fBebuild\fR(1) commands. If the