New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 784690 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 781873
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Problems linking when building for windows on linux

Project Member Reported by w...@chromium.org, Nov 14 2017

Issue description

I followed the instructions here: https://chromium.googlesource.com/chromium/src/+/master/docs/win_cross.md

But when I try to build base_unittests, this is the result:

python ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False ../../third_party/llvm-build/Release+Asserts/bin/lld-link --rsp-quoting=posix /nologo /OUT:./base_unittests.exe /PDB:./base_unittests.exe.pdb @./base_unittests.exe.rsp
../../third_party/llvm-build/Release+Asserts/bin/lld-link: error: unable to find mt.exe in PATH: No such file or directory

I verified that mt.exe is on the path in environment.x64, so I have no idea what's going on.

gn args:
target_os = "win"
is_debug = false
is_component_build = true
dcheck_always_on = true

 

Comment 1 by w...@chromium.org, Nov 14 2017

Cc: scottmg@chromium.org
+scottmg, I saw your name in the git log for tool_wrapper.py :P Maybe you have some insight. It's not urgent though.
Components: Build
Owner: scottmg@chromium.org
Status: Started (was: Untriaged)
Lemme see if it's something easy, otherwise might have to wait for Nico.

Comment 4 by thakis@chromium.org, Nov 15 2017

Mergedinto: 781873
Status: Duplicate (was: Started)
Should have refreshed. :) FTR

c4a8c7b5ff68ad06bdaff91be5170e4da89c3a9f is the first bad commit
commit c4a8c7b5ff68ad06bdaff91be5170e4da89c3a9f
Author: Hans Wennborg <hans@chromium.org>
Date:   Fri Nov 3 05:28:21 2017 +0000

    Roll clang 315613:317263.
    
    Bug:  775171 
    
    Change-Id: I5e930bc3368948673c02b2be325a2ad03ae58606
    Reviewed-on: https://chromium-review.googlesource.com/752143
    Reviewed-by: Reid Kleckner <rnk@chromium.org>
    Commit-Queue: Hans Wennborg <hans@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#513697}

:040000 040000 dc5f31e359d358168a1ef38c1a454fe7ad1a65e5 8a71c01a344845d9954355731162eca3e2b20fea M	build
:040000 040000 d251d7880e2ab97c1e5f1b65881114878371fa95 11d14460e0e3e039ecaac374968bdacccc9c1c7c M	tools

Sign in to add a comment