https://bugs.llvm.org/show_bug.cgi?id=35581

            Bug ID: 35581
           Summary: lld-link exits with errorlevel but no message on some
                    inputs
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedb...@nondot.org
          Reporter: l...@inglorion.net
                CC: llvm-bugs@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
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to