Closed Bug 2060781 Opened 3 months ago Closed 3 months ago

[clang 22] Perma make: *** [Basic.mk:116: WinRel/src/arscan.obj] Error 1

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(firefox155 fixed)

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

Details

Attachments

(1 external file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=583067529&repo=autoland&task=Nmixgd8TSE-ZMYqYQ4jeuQ.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Nmixgd8TSE-ZMYqYQ4jeuQ/runs/0/artifacts/public/logs/live_backing.log


[task 2026-08-05T07:49:03.682+00:00] In file included from src/arscan.c:358:
[task 2026-08-05T07:49:03.682+00:00] In file included from /builds/worker/fetches/vs/Windows Kits/10/Include/10.0.26100.0/um/Windows.h:175:
[task 2026-08-05T07:49:03.682+00:00] In file included from /builds/worker/fetches/vs/Windows Kits/10/Include/10.0.26100.0/shared/windef.h:24:
[task 2026-08-05T07:49:03.682+00:00] In file included from /builds/worker/fetches/vs/Windows Kits/10/Include/10.0.26100.0/shared/minwindef.h:182:
[task 2026-08-05T07:49:03.682+00:00] In file included from /builds/worker/fetches/vs/Windows Kits/10/Include/10.0.26100.0/um/winnt.h:5487:
[task 2026-08-05T07:49:03.682+00:00] In file included from /builds/worker/fetches/clang/lib/clang/22/include/intrin.h:34:
[task 2026-08-05T07:49:03.682+00:00] In file included from /builds/worker/fetches/clang/lib/clang/22/include/arm_acle.h:24:
[task 2026-08-05T07:49:03.682+00:00] In file included from /builds/worker/fetches/clang/lib/clang/22/include/stdint.h:56:
[task 2026-08-05T07:49:03.682+00:00] /builds/worker/fetches/vs/VC/Tools/MSVC/14.50.35717/include/stdint.h(46,28): error: cannot combine with previous 'long long' declaration specifier
[task 2026-08-05T07:49:03.682+00:00]    46 | typedef unsigned long long uintmax_t;
[task 2026-08-05T07:49:03.682+00:00]       |                            ^
[task 2026-08-05T07:49:03.682+00:00] ./WinRel/src/config.h(585,28): note: expanded from macro 'uintmax_t'
[task 2026-08-05T07:49:03.682+00:00]   585 | #define uintmax_t unsigned long long
[task 2026-08-05T07:49:03.682+00:00]       |                            ^
Assignee: nobody → mh+mozilla
Blocks: clang-22

It's currently limited to MINGW, but MSVC has had those headers for a
while. Switching to clang 22 causes a build failure with the alternative
code path, so this preventively fixes it.

Pushed by mh@glandium.org: https://github.com/mozilla-firefox/firefox/commit/af5513e31ca8 https://hg.mozilla.org/integration/autoland/rev/942f73042b8c Make the GNU make build system use stdint.h and inttypes.h on Windows. r=sylvestre
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: