<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 - lld-link exits with errorlevel but no message on some inputs"
href="https://bugs.llvm.org/show_bug.cgi?id=35581">35581</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld-link exits with errorlevel but no message on some inputs
</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>COFF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvm@inglorion.net
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Found while building chromium.
$ cat > out/repro/args.gn <<EOT
is_clang = true
clang_base_path = "C:/path/to/clang"
clang_use_chrome_plugins = false
use_lld = true
is_debug = true
symbol_level = 2
is_component_build = true
is_official_build = false
use_thin_lto = false
target_cpu = "x86"
enable_nacl = false
EOT
$ gn gen out/repro
$ ninja -C out/repro mini_installer
ninja: Entering directory `out/repro'
[1/1] LINK mini_installer.exe mini_installer.exe.pdb
FAILED: mini_installer.exe mini_installer.exe.pdb
C:/python_27_amd64/files/python.exe ../../build/toolchain/win/tool_wrapper.py
link-wrapper environment.x86 False ../../../../clang/bin/lld-link.exe /nologo
/OUT:./mini_installer.exe /PDB:./mini_installer.exe.pdb
@./mini_installer.exe.rsp
ninja: build stopped: subcommand failed.
I ran the link by hand and it exists with errorlevel -1073740791, without any
message.</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>