You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: obs-c-oracle: pthread probe macro redefinition blocks Fast Gate #4069
Location: rust/obs-c-oracle/oracle/output_pause_queries.c:41-42. The fixture replaces pthread_mutex_lock/unlock macros already defined by build.rs GNU_ORACLE_RENAMES. Class: compile failure under -Werror. Fast Gate windows-gnu oracle compilation fails on master since #4059; verified push runs 42516069306 and 42518709778 stop there. Proposed fix: undefine the two inherited macros immediately before installing fixture probes, after their bodies have already bound to the renamed real functions. Reproduce with soldr cargo test -p obs-c-oracle --locked --no-run --target x86_64-pc-windows-gnu; retain the existing lock/unlock sentinel test.
Claiming: repair the Fast Gate pthread macro collision at the maintainer’s request. 1. Capture local RED from the windows-gnu oracle build and trace generated renames. 2. Apply the minimal fixture-only override and verify the sentinel probe test. 3. Run the pinned local gate, open the PR, and enqueue after CI Gate passes. First PR this session.
Local RED reproduced with SOLDR_RUSTC_WRAPPER=none SOLDR_PORCELAIN=0 soldr cargo test -p obs-c-oracle --locked --no-run --target x86_64-pc-windows-gnu: output_pause_queries.c:41:9 and :42:9 report pthread_mutex_lock/unlock redefined [-Werror]. Three-line fixture fix is committed (RED 8dd970ecb, GREEN 272f8afe3). Same command now exits 0, Finished test profile in 34.14s; replaying the exact failing C compiler command also exits 0 with empty stderr. Native output_pause_queries tests: 8 passed, including offset_is_read_between_matching_lock_and_unlock. Pinned local gate is running before the first push.
Checked master (914f81f6): the defect described here is fixed. rust/obs-c-oracle/oracle/output_pause_queries.c now carries the #pragma push_macro + #undef pthread_mutex_lock/pthread_mutex_unlock sequence from #4168, and that file compiles clean.
The only remaining failure of the reproduction command on a Windows host is a different file and a different cause: soldr cargo test -p obs-c-oracle --locked --no-run --target x86_64-pc-windows-gnu stops at oracle/encoder_error_ownership.c:120 with timespec_get/TIME_UTC undeclared, because this host's soldr mingw is the msvcrt variant (_UCRT undefined; the header declares timespec_get only under _UCRT).
That path is not the Fast Gate: ci/local_gate.py only runs windows_gnu_no_run when host_platform.is_linux(), and its comment says soldr's mingw cross toolchain is for Linux.
Suggesting close as fixed — the original macro collision no longer reproduces. I can't verify the Linux-host cross build from this Windows machine.
Activity
zackees commentedon Nov 8, 2026
Claiming: repair the Fast Gate pthread macro collision at the maintainer’s request. 1. Capture local RED from the windows-gnu oracle build and trace generated renames. 2. Apply the minimal fixture-only override and verify the sentinel probe test. 3. Run the pinned local gate, open the PR, and enqueue after CI Gate passes. First PR this session.
zackees commentedon Nov 8, 2026
Local RED reproduced with SOLDR_RUSTC_WRAPPER=none SOLDR_PORCELAIN=0 soldr cargo test -p obs-c-oracle --locked --no-run --target x86_64-pc-windows-gnu: output_pause_queries.c:41:9 and :42:9 report pthread_mutex_lock/unlock redefined [-Werror]. Three-line fixture fix is committed (RED 8dd970ecb, GREEN 272f8afe3). Same command now exits 0, Finished test profile in 34.14s; replaying the exact failing C compiler command also exits 0 with empty stderr. Native output_pause_queries tests: 8 passed, including offset_is_read_between_matching_lock_and_unlock. Pinned local gate is running before the first push.
KelboLive commentedon Nov 30, 2026
Checked master (
914f81f6): the defect described here is fixed.rust/obs-c-oracle/oracle/output_pause_queries.cnow carries the#pragma push_macro+#undef pthread_mutex_lock/pthread_mutex_unlocksequence from #4168, and that file compiles clean.The only remaining failure of the reproduction command on a Windows host is a different file and a different cause:
soldr cargo test -p obs-c-oracle --locked --no-run --target x86_64-pc-windows-gnustops atoracle/encoder_error_ownership.c:120withtimespec_get/TIME_UTCundeclared, because this host's soldr mingw is the msvcrt variant (_UCRTundefined; the header declarestimespec_getonly under_UCRT).That path is not the Fast Gate:
ci/local_gate.pyonly runswindows_gnu_no_runwhenhost_platform.is_linux(), and its comment says soldr's mingw cross toolchain is for Linux.Suggesting close as fixed — the original macro collision no longer reproduces. I can't verify the Linux-host cross build from this Windows machine.