Closed
Bug 1268607
Opened 8 years ago
Closed 8 years ago
Unable to compile using Clang on Windows with Visual Studio 2015
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox49 affected)
RESOLVED
DUPLICATE
of bug 1296737
Tracking | Status | |
---|---|---|
firefox49 | --- | affected |
People
(Reporter: gkw, Unassigned)
References
Details
Main error: DEBUG: configure:3326: clang-cl.exe -fms-compatibility-version=18.00.30723 -fallback -c -TP -nologo -wd4345 -wd4351 -wd4800 -wd4819 -wd4595 -D_CRT_SECURE_NO_WARNINGS conftest.C 1>&5 DEBUG: configure: error: The linker major version, 14.00.23918.0, does not match the compiler suite version, 12. https://dxr.mozilla.org/mozilla-central/rev/86730d0a82093d705e44f33a34973d28b269f1ea/build/moz.configure/toolchain.configure#346 seems to define only Visual C++ 2013 Update 3 emulation, but not 2015. === On m-c ver 4292da9df16b, I tried to overwrite with -fmsc-version=1900: DEBUG: Executing: `clang-cl.exe -fmsc-version=1900 -Xclang -std=gnu99 -fms-compatibility-version=18.00.30723 -fallback -E 'c:\users\fuzz1win\appdata\local\temp\conftest.qkwaqp.c'` DEBUG: The command returned non-zero exit status 1. DEBUG: Its error output was: DEBUG: | clang-cl.exe: error: invalid argument '-fmsc-version=1900' not allowed with '-fms-compatibility-version=18.00.30723' ERROR: Unknown compiler or compiler not supported. -fmsc-version=1800: DEBUG: Executing: `clang-cl.exe -fmsc-version=1800 -Xclang -std=gnu99 -fms-compatibility-version=18.00.30723 -fallback -E 'c:\users\fuzz1win\appdata\local\temp\conftest.iptwyx.c'` DEBUG: The command returned non-zero exit status 1. DEBUG: Its error output was: DEBUG: | clang-cl.exe: error: invalid argument '-fmsc-version=1800' not allowed with '-fms-compatibility-version=18.00.30723' ERROR: Unknown compiler or compiler not supported. Without either of these flags: DEBUG: configure:2906: checking how to run the C preprocessor DEBUG: configure:2986: checking how to run the C++ preprocessor DEBUG: configure:3032: checking for rustc DEBUG: configure:3301: clang-cl.exe -Xclang -std=gnu99 -fms-compatibility-version=18.00.30723 -fallback -c -TC -nologo -wd4819 conftest.c 1>&5 DEBUG: configure:3326: clang-cl.exe -fms-compatibility-version=18.00.30723 -fallback -c -TP -nologo -wd4345 -wd4351 -wd4800 -wd4819 -wd4595 -D_CRT_SECURE_NO_WARNINGS conftest.C 1>&5 DEBUG: configure: error: The linker major version, 14.00.23918.0, does not match the compiler suite version, 12. ERROR: old-configure failed
Reporter | ||
Updated•8 years ago
|
OS: Unspecified → Windows
Hardware: Unspecified → All
Comment 1•8 years ago
|
||
Now that we don't have to worry about whether we're compiling with MSVC2013 or MSVC2015, this bug is somewhat simpler to address. I'm going to duplicate this to a bug that has some discussion and patches.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•