New issue
Advanced search Search tips

Issue 598807 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug

Blocking:
issue 82385



Sign in to add a comment

win_clang_x64_dbg fails: "clang-cl.exe: error: no such file or directory: '/d2FastFail'"

Project Member Reported by jbroman@chromium.org, Mar 29 2016

Issue description

e.g.
https://build.chromium.org/p/tryserver.chromium.win/builders/win_clang_x64_dbg/builds/2988/steps/compile%20%28with%20patch%29/logs/stdio

Bisects to this CL:
https://chromium.googlesource.com/chromium/src/+/10b66c067178bfcfb89b20627f9bb4779ac2efeb

Perhaps clang-cl needs to handle this flag, or perhaps the build system should only add this flag when we're using MSVC cl.exe.
 

Comment 1 by thakis@chromium.org, Mar 29 2016

That's just on the try bot, on a try run for https://codereview.chromium.org/1828543003/ , right? (my cl)

Comment 2 by thakis@chromium.org, Mar 29 2016

Huh, no.

clang-cl is supposed to ignore that flag (we currently pass -Qunused-arguments), but it looks like it isn't. Not sure why. I'll add it to the ignored flags upstream.

Since nothing's urgently motivating adding /d2FastFail, probably best to revert that Cl and reland it in a few days after the next clang roll.

Comment 3 by thakis@chromium.org, Mar 29 2016

…or add clang==0 / !is_clang checks before adding that flag until we rolled in a version of clang that silently ignores that flag.

Comment 4 by thakis@chromium.org, Mar 29 2016

Fixed upstream here: http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160328/154086.html

Bruce, wanna revert or add !clang checks until that rolls in?

Comment 6 by thakis@chromium.org, Apr 14 2016

Blocking: 82385
Status: Fixed (was: Assigned)
clang-cl now knows this flag, and bruce readded it yesterday.
I recently updated my repository to top of tree, and I can't seem to get rid of this error.

From my goma terminal: E0415 ... ... include_processor.cc:634 root include:\d2FastFail not found

Comment 8 by thakis@chromium.org, Apr 15 2016

Status: Started (was: Fixed)
oh noes! goma probably doesn't support this in clang-cl mode yet? is your goma client up to date? the bots seem happy.
'GYP_DEFINES': 'gomadir=c:/goma/goma-win64 use_goma=1 component=shared_library',
'GYP_GENERATORS': 'ninja',

Reverting bruce's CL fixed my problem locally. robliao@ said he didn't have this problem.

I didn't think I was using clang...I guess my goma client could be out of date? It automatically starts itself whenever I compile.
Status: Fixed (was: Started)
python c:\goma\goma_ctl.py update

Oh, if you're not using clang, then yes, your goma client is seriously out of date. It was added there long ago.
goma doesn't automatically update so it's pretty easy to end up way behind. I think the goma team is thinking about ways to address this, but for now you should update as thakis@ suggested.
Thanks. I'm too used to having nice things.

Sign in to add a comment