Closed
Bug 1456057
Opened 7 years ago
Closed 1 year ago
Fail to build with msvc 19.13.26131.1 - error: '_Ty' does not refer to a value
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: markh, Unassigned)
References
Details
Attachments
(1 file)
165.01 KB,
text/plain
|
Details |
Trying to build with the latest VS2017, latest mozilla-build, a current central and immediately after running 'mach bootstrap', I get the error:
> 0:14.56 C:\PROGRA~2\MIB055~1\2017\ENTERP~1\VC\Tools\MSVC\1413~1.261\include\type_traits:900:47: error: '_Ty' does not refer to a value
> 0:14.56 C:\PROGRA~2\MIB055~1\2017\ENTERP~1\VC\Tools\MSVC\1413~1.261\include\type_traits:898:16: note: declared here
> 0:14.56 C:\PROGRA~2\MIB055~1\2017\ENTERP~1\VC\Tools\MSVC\1413~1.261\include\type_traits:901:2: error: expected class name
> ...
> 0:14.57 thread '<unnamed>' panicked at 'Failed to generate bindings, flags: ...
> 0:14.57 thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', libcore\result.rs:945:5
This has the same symptoms as bug 1423307 - however, in that bug the fix was to update to a newer clang, specifically r319785. However, 'mach bootstrap' appears to already grab a later version - I see:
> $ ~/.mozbuild/clang/bin/clang.exe --version
> clang version 7.0.0 (trunk 328769)
> Target: x86_64-pc-windows-msvc
> Thread model: posix
> InstalledDir: o:\home\.mozbuild\clang\bin
Attached is the configure and build log.
Comment 1•7 years ago
|
||
notes from triage: options
1) change default behaviour of configure to show toolchains supported, otherwise you need a flag
2) bootstrap - need to to install correct version3
3) we need to stay better on top of VS upstream versons
Comment 2•7 years ago
|
||
Fixing bug 1446030 might also help to surface these kinds of errors earlier in configure, although it doesn't help you get a working build.
Updated•6 years ago
|
Version: Version 3 → 3 Branch
Updated•2 years ago
|
Severity: normal → S3
Reporter | ||
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•