Closed Bug 2052116 Opened 4 months ago Closed 4 months ago

[clang-22] Perma /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1956,45): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]

Categories

(Core :: js-ctypes, defect, P5)

defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox152 --- unaffected
firefox153 --- unaffected
firefox154 --- fixed

People

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

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file, 1 obsolete file)

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


[task 2026-07-02T03:53:05.794+00:00] 03:53:05     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang-cl -fms-compatibility-version=19.50 -m32 -Xclang -ivfsoverlay -Xclang /builds/worker/fetches/vs/overlay.yaml -Foclosures.obj -c  -Xclang -ftrivial-auto-var-init=pattern -guard:cf -DDEBUG=1 -DTARGET=X86_WIN32 -DX86_WIN32 -DFFI_NO_RAW_API -DFFI_STATIC_BUILD -DFFI_DEBUG -DHAVE_AS_X86_PCREL -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -DMOZ_SUPPORT_LEAKCHECKING -I/builds/worker/checkouts/gecko/config/external/ffi -I/builds/worker/workspace/obj-build/config/external/ffi -I/builds/worker/workspace/obj-build/js/src/ctypes/libffi -I/builds/worker/workspace/obj-build/js/src/ctypes/libffi/include -I/builds/worker/checkouts/gecko/js/src/ctypes/libffi/include -I/builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/x86 -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -MD -DMOZILLA_CLIENT -FI /builds/worker/workspace/obj-build/mozilla-config.h -Gy -Zc:inline -Gw -D_HAS_EXCEPTIONS=0 -ffile-reproducible -fdiagnostics-absolute-paths -fcrash-diagnostics-dir=/builds/worker/artifacts -arch:SSE2 -Z7 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O2 -Oy- -W3 -Wbitfield-enum-conversion -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Winvalid-utf8 -Wstring-conversion -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wno-unknown-pragmas -Wno-ignored-pragmas -Wno-deprecated-declarations -Wno-invalid-noreturn -Werror=implicit-function-declaration -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-unknown-warning-option -Wno-character-conversion -fno-strict-aliasing -Xclang -ffp-contract=off  -Xclang -MP -Xclang -dependency-file -Xclang .deps/closures.obj.pp -Xclang -MT -Xclang closures.obj   /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/closures.c
[task 2026-07-02T03:53:05.798+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1956,45): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.798+00:00] 03:53:05     INFO -   1956 |   while (ffi_spin_peek(sl) != 0 || CAS_LOCK(sl)) {
[task 2026-07-02T03:53:05.799+00:00] 03:53:05     INFO -        |                                             ^~
[task 2026-07-02T03:53:05.800+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.804+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.804+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.804+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(3255,3): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.804+00:00] 03:53:05     INFO -   3255 |   ACQUIRE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.804+00:00] 03:53:05     INFO -        |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.805+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2114,52): note: expanded from macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.805+00:00] 03:53:05     INFO -   2114 | #define ACQUIRE_MALLOC_GLOBAL_LOCK()  ACQUIRE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.805+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.805+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.806+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.806+00:00] 03:53:05     INFO -        |                                         ^~
[task 2026-07-02T03:53:05.806+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.807+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.807+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.807+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.807+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.807+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.807+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(3340,3): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.807+00:00] 03:53:05     INFO -   3340 |   RELEASE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.808+00:00] 03:53:05     INFO -        |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.809+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2118,52): note: expanded from macro 'RELEASE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.809+00:00] 03:53:05     INFO -   2118 | #define RELEASE_MALLOC_GLOBAL_LOCK()  RELEASE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.809+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.810+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.811+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.811+00:00] 03:53:05     INFO -        |                                          ^~
[task 2026-07-02T03:53:05.814+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.814+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.815+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.815+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.815+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.816+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.816+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(3683,8): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.816+00:00] 03:53:05     INFO -   3683 |   if (!PREACTION(m)) {
[task 2026-07-02T03:53:05.816+00:00] 03:53:05     INFO -        |        ^~~~~~~~~~~~
[task 2026-07-02T03:53:05.817+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2888,52): note: expanded from macro 'PREACTION'
[task 2026-07-02T03:53:05.817+00:00] 03:53:05     INFO -   2888 | #define PREACTION(M)  ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
[task 2026-07-02T03:53:05.817+00:00] 03:53:05     INFO -        |                                       ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.817+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.818+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.818+00:00] 03:53:05     INFO -        |                                ~~~~~~~~~^~~
[task 2026-07-02T03:53:05.819+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.820+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.821+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.822+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.822+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.823+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.826+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(3705,5): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.826+00:00] 03:53:05     INFO -   3705 |     POSTACTION(m); /* drop lock */
[task 2026-07-02T03:53:05.827+00:00] 03:53:05     INFO -        |     ^~~~~~~~~~~~~
[task 2026-07-02T03:53:05.827+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2889,55): note: expanded from macro 'POSTACTION'
[task 2026-07-02T03:53:05.827+00:00] 03:53:05     INFO -   2889 | #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); }
[task 2026-07-02T03:53:05.827+00:00] 03:53:05     INFO -        |                                          ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.828+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.828+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.828+00:00] 03:53:05     INFO -        |                               ~~~~~~~~~~~^~~
[task 2026-07-02T03:53:05.829+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.829+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.829+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.829+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.830+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.830+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.830+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4241,5): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.830+00:00] 03:53:05     INFO -   4241 |     ACQUIRE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.830+00:00] 03:53:05     INFO -        |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.831+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2114,52): note: expanded from macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.832+00:00] 03:53:05     INFO -   2114 | #define ACQUIRE_MALLOC_GLOBAL_LOCK()  ACQUIRE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.832+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.833+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.836+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.837+00:00] 03:53:05     INFO -        |                                         ^~
[task 2026-07-02T03:53:05.837+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.838+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.838+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.838+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.838+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.838+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.839+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4295,5): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -   4295 |     RELEASE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -        |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2118,52): note: expanded from macro 'RELEASE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -   2118 | #define RELEASE_MALLOC_GLOBAL_LOCK()  RELEASE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -        |                                          ^~
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.839+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.840+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4311,7): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -   4311 |       ACQUIRE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -        |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2114,52): note: expanded from macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -   2114 | #define ACQUIRE_MALLOC_GLOBAL_LOCK()  ACQUIRE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -        |                                         ^~
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.840+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.841+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.841+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.841+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.845+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4314,7): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.845+00:00] 03:53:05     INFO -   4314 |       RELEASE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.845+00:00] 03:53:05     INFO -        |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2118,52): note: expanded from macro 'RELEASE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -   2118 | #define RELEASE_MALLOC_GLOBAL_LOCK()  RELEASE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -        |                                          ^~
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.846+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4483,11): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -   4483 |           ACQUIRE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -        |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.846+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2114,52): note: expanded from macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.847+00:00] 03:53:05     INFO -   2114 | #define ACQUIRE_MALLOC_GLOBAL_LOCK()  ACQUIRE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.847+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.847+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.847+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.847+00:00] 03:53:05     INFO -        |                                         ^~
[task 2026-07-02T03:53:05.847+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.848+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.848+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.848+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.849+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.849+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.849+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4494,11): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.850+00:00] 03:53:05     INFO -   4494 |           RELEASE_MALLOC_GLOBAL_LOCK();
[task 2026-07-02T03:53:05.850+00:00] 03:53:05     INFO -        |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.850+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2118,52): note: expanded from macro 'RELEASE_MALLOC_GLOBAL_LOCK'
[task 2026-07-02T03:53:05.851+00:00] 03:53:05     INFO -   2118 | #define RELEASE_MALLOC_GLOBAL_LOCK()  RELEASE_LOCK(&malloc_global_mutex);
[task 2026-07-02T03:53:05.851+00:00] 03:53:05     INFO -        |                                                    ^~~~~~~~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.851+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.852+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.852+00:00] 03:53:05     INFO -        |                                          ^~
[task 2026-07-02T03:53:05.852+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.853+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.853+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.853+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.854+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.854+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.854+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4730,8): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.855+00:00] 03:53:05     INFO -   4730 |   if (!PREACTION(gm)) {
[task 2026-07-02T03:53:05.855+00:00] 03:53:05     INFO -        |        ^~~~~~~~~~~~~
[task 2026-07-02T03:53:05.856+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2888,52): note: expanded from macro 'PREACTION'
[task 2026-07-02T03:53:05.856+00:00] 03:53:05     INFO -   2888 | #define PREACTION(M)  ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
[task 2026-07-02T03:53:05.858+00:00] 03:53:05     INFO -        |                                       ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.858+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.858+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.858+00:00] 03:53:05     INFO -        |                                ~~~~~~~~~^~~
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.859+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4831,5): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -   4831 |     POSTACTION(gm);
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -        |     ^~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.859+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2889,55): note: expanded from macro 'POSTACTION'
[task 2026-07-02T03:53:05.860+00:00] 03:53:05     INFO -   2889 | #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); }
[task 2026-07-02T03:53:05.860+00:00] 03:53:05     INFO -        |                                          ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.860+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.861+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.861+00:00] 03:53:05     INFO -        |                               ~~~~~~~~~~~^~~
[task 2026-07-02T03:53:05.861+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.862+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.862+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.864+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.864+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.864+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.864+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4858,10): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.864+00:00] 03:53:05     INFO -   4858 |     if (!PREACTION(fm)) {
[task 2026-07-02T03:53:05.864+00:00] 03:53:05     INFO -        |          ^~~~~~~~~~~~~
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2888,52): note: expanded from macro 'PREACTION'
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -   2888 | #define PREACTION(M)  ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -        |                                       ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -        |                                ~~~~~~~~~^~~
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.865+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.866+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.866+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.866+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.867+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(4941,7): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.869+00:00] 03:53:05     INFO -   4941 |       POSTACTION(fm);
[task 2026-07-02T03:53:05.869+00:00] 03:53:05     INFO -        |       ^~~~~~~~~~~~~~
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2889,55): note: expanded from macro 'POSTACTION'
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -   2889 | #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); }
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -        |                                          ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -        |                               ~~~~~~~~~~~^~~
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.870+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(5068,11): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -   5068 |       if (PREACTION(m))
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -        |           ^~~~~~~~~~~~
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2888,52): note: expanded from macro 'PREACTION'
[task 2026-07-02T03:53:05.870+00:00] 03:53:05     INFO -   2888 | #define PREACTION(M)  ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
[task 2026-07-02T03:53:05.871+00:00] 03:53:05     INFO -        |                                       ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.871+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.871+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.871+00:00] 03:53:05     INFO -        |                                ~~~~~~~~~^~~
[task 2026-07-02T03:53:05.872+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.872+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.872+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.873+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.873+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.873+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.878+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(5116,7): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   5116 |       POSTACTION(m);
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |       ^~~~~~~~~~~~~
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2889,55): note: expanded from macro 'POSTACTION'
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   2889 | #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); }
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |                                          ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |                               ~~~~~~~~~~~^~~
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.878+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(5190,7): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   5190 |   if (PREACTION(m)) return 0;
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |       ^~~~~~~~~~~~
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2888,52): note: expanded from macro 'PREACTION'
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   2888 | #define PREACTION(M)  ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |                                       ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1967,41): note: expanded from macro 'ACQUIRE_LOCK'
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   1967 | #define ACQUIRE_LOCK(sl)      (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -        |                                ~~~~~~~~~^~~
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1919,46): note: expanded from macro 'CAS_LOCK'
[task 2026-07-02T03:53:05.878+00:00] 03:53:05     INFO -   1919 | #define CAS_LOCK(sl)     interlockedexchange(sl, (LONG)1)
[task 2026-07-02T03:53:05.879+00:00] 03:53:05     INFO -        |                                              ^~
[task 2026-07-02T03:53:05.879+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.879+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.880+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.880+00:00] 03:53:05    ERROR -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(5244,3): error: incompatible pointer types passing 'int *' to parameter of type 'volatile long *' [-Wincompatible-pointer-types]
[task 2026-07-02T03:53:05.880+00:00] 03:53:05     INFO -   5244 |   POSTACTION(m);
[task 2026-07-02T03:53:05.883+00:00] 03:53:05     INFO -        |   ^~~~~~~~~~~~~
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(2889,55): note: expanded from macro 'POSTACTION'
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -   2889 | #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); }
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -        |                                          ~~~~~~~~~~~~~^~~~~~~~~~~~
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1966,42): note: expanded from macro 'RELEASE_LOCK'
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -   1966 | #define RELEASE_LOCK(sl)      CLEAR_LOCK(sl)
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -        |                               ~~~~~~~~~~~^~~
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1920,47): note: expanded from macro 'CLEAR_LOCK'
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -   1920 | #define CLEAR_LOCK(sl)   interlockedexchange (sl, (LONG)0)
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -        |                                               ^~
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -  /builds/worker/checkouts/gecko/js/src/ctypes/libffi/src/dlmalloc.c(1527,50): note: passing argument to parameter 'Target' here
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -   1527 | LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value);
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -        |                                                  ^
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -  fatal error: too many errors emitted, stopping now [-ferror-limit=]
[task 2026-07-02T03:53:05.884+00:00] 03:53:05     INFO -  1 warning and 20 errors generated.
Blocks: clang-22

Set release status flags based on info from the regressing bug 2049132

:RyanVM, since you are the author of the regressor, bug 2049132, could you take a look?

For more information, please visit BugBot documentation.

Can you see if this patch works on your Try pushes? I'll submit it upstream if yes.

Flags: needinfo?(ryanvm) → needinfo?(mh+mozilla)
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED

(In reply to Ryan VanderMeulen [:RyanVM] from comment #3)

Can you see if this patch works on your Try pushes? I'll submit it upstream if yes.

The patch works.

Flags: needinfo?(mh+mozilla)
Attachment #9603844 - Attachment description: WIP: Bug 2052116 - WIP: Cast dlmalloc Windows spin-lock word to LONG volatile* to satisfy clang-22 → Bug 2052116 - Cherry-pick upstream libffi fix for the clang-22 dlmalloc build break. r?glandium
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Attachment #9603846 - Attachment is obsolete: true

Set release status flags based on info from the regressing bug 2049132

QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: