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)

3 Branch
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: markh, Unassigned)

References

Details

Attachments

(1 file)

Attached file out
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.
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
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.
Version: Version 3 → 3 Branch
Severity: normal → S3
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.

Attachment

General

Created:
Updated:
Size: