[llvm-bugs] [Bug 35581] New: lld-link exits with errorlevel but no message on some inputs

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 8 12:01:43 PST 2017


            Bug ID: 35581
           Summary: lld-link exits with errorlevel but no message on some
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at inglorion.net
                CC: llvm-bugs at lists.llvm.org

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
$ 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
ninja: build stopped: subcommand failed.

I ran the link by hand and it exists with errorlevel -1073740791, without any

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171208/f3d19d06/attachment.html>

More information about the llvm-bugs mailing list