New issue
Advanced search Search tips

Issue 793424 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Dec 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug

Blocking:
issue 787920
issue 792131



Sign in to add a comment

mini_installer.exe fails to link with lld

Project Member Reported by inglorion@chromium.org, Dec 8 2017

Issue description

The link fails with no error message and errolevel -1073740791. LLVM bug https://bugs.llvm.org/show_bug.cgi?id=35581

The gn.args I used is:
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

 

Comment 1 by h...@chromium.org, Dec 8 2017

Blocking: 792131
Status: Assigned (was: Unconfirmed)
This seems to happen when calling lld-link to link a 32-bit executable when the MSVC environment variables are set for building a 64-bit executable. I can link successfully after setting the environment variables for creating 32-bit executables.
My previous comment was not quite right. errorlevel was shown as 0, but mini_installer.exe was not actually being created, so it's not working right with the change in environment variables either.
This was fixed in Clang r321030.
Status: Verified (was: Assigned)
Blocking: 787920

Sign in to add a comment