Closed Bug 1755826 Opened 2 years ago Closed 2 years ago

Cannot build Firefox with VS 2022 17.1.0

Categories

(Firefox Build System :: Toolchains, defect)

Unspecified
Windows
defect

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: rkraesig, Assigned: glandium)

Details

Attachments

(1 file)

After updating to Visual Studio 17.1.0, ./mach build fails to compile libdav1d:

0:08.75 In file included from c:/mozgitla-source/mozilla-unified/third_party/dav1d\src/internal.h:31:
0:08.75 In file included from [...]\clang\lib\clang\13.0.1\include\stdatomic.h:17:
0:08.75 C:/PROGRA~2/MICROS~2/2022/BUILDT~1/VC/Tools/MSVC/1431~1.311/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

This clang commit gives an explanation and workaround.

Summary: Cannot build with VS 2022 17.1.0 → Cannot build Firefox with VS 2022 17.1.0
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c4e095576eb4
Apply clang upstream patch to ignore recent MSVC stdatomic.h.  a=RyanVM
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: