<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - `ld.lld --help ` doesn't mention zlib-gnu or zlib-gabi support"
href="https://bugs.llvm.org/show_bug.cgi?id=45767">45767</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>`ld.lld --help ` doesn't mention zlib-gnu or zlib-gabi support
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>ELF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ndesaulniers@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dblaikie@gmail.com, echristo@gmail.com, llvm-bugs@lists.llvm.org, maskray@google.com, rupprecht@google.com, smithp352@googlemail.com, srhines@google.com
</td>
</tr></table>
<p>
<div>
<pre>I'm looking into enabling compressed debug info support within the Linux
kernel.
I noticed from `man 1 ld` that the documentation on
`--compress-debug-sections=` says:
The default compression behaviour varies depending upon the
target involved and the configure options used to build the
toolchain. The default can be determined by examining the output
from the linker's --help option.
If I run:
$ ld.lld --help | grep zlib
--compress-debug-sections=[none,zlib]
$ ld.bfd --help | grep zlib
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]
Compress DWARF debug sections using zlib
Does lld not support `zlib-gnu` or `zlib-gabi`? I'm not really sure which
option is even preferred, so I'll run some builds and compare zdebug_* section
sizes.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>