clang-cl builds complain about unknown deps flag

RESOLVED FIXED

Status

()

Core
Build Config
RESOLVED FIXED
11 months ago
11 months ago

People

(Reporter: dmajor (offline), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 months ago
I attempted to enable -Werror for clang-cl builds, and I got this:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=03ee97b5c7b1b8918689e5ca49cd912af157f71c

03:00:36     INFO -  z:/task_1487213452/build/src/sccache2/sccache.exe z:/task_1487213452/build/src/clang/bin/clang.exe --driver-mode=cl -FoUnified_cpp_build_clang-plugin1.obj -c   -DDEBUG=1 -DTRACING=1 -Iz:/task_1487213452/build/src/build/clang-plugin -Iz:/task_1487213452/build/src/obj-firefox/build/clang-plugin  -Iz:/task_1487213452/build/src/obj-firefox/dist/include  -Iz:/task_1487213452/build/src/obj-firefox/dist/include/nspr -Iz:/task_1487213452/build/src/obj-firefox/dist/include/nss        -MD  -deps.deps/Unified_cpp_build_clang-plugin1.obj.pp -Qunused-arguments  -Iz:/task_1487213452/build/src/clang/include -fms-compatibility-version=19.00.23918 -Xclang -std=c++14 -W4 -wd4141 -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291 -wd4345 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4800 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4324 -w14062 -we4238 -Zc:inline -Zc:strictStrings -Oi -Zc:rvalueCast -Brepro -Zc:sizedDealloc- -MD -O2 -Ob2 -DNDEBUG -EHs-c- -GR- -D_DEBUG_POINTER_IMPL= -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DUNICODE -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_NEW_ASTMATCHER_NAMES -DHAS_ACCEPTS_IGNORINGPARENIMPCASTS -GR- -EHsc -Oy- -WX    z:/task_1487213452/build/src/obj-firefox/build/clang-plugin/Unified_cpp_build_clang-plugin1.cpp

03:00:36     INFO -  clang.exe: error: unknown argument ignored in clang-cl: '-deps.deps/Unified_cpp_build_clang-plugin1.obj.pp' [-Werror,-Wunknown-argument]

Ted, is this an sccache thing?
Flags: needinfo?(ted)
Yes:
https://dxr.mozilla.org/mozilla-central/rev/0eef1d5a39366059677c6d7944cfe8a97265a011/build/mozconfig.cache#130

Since this is a taskcluster job, you can disable sccache in the task configuration by setting `needs-sccache: false`.
Flags: needinfo?(ted)
(Reporter)

Comment 2

11 months ago
Fixed by bug 1318370 comment 14
Status: NEW → RESOLVED
Last Resolved: 11 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.