Repository navigation
ci: Fix master's windows-gnu link check and MSVC Tier 2 build - #450
Merged
Merged
Conversation
#420 (video-io port) and #431 (windows-gnu --no-run link in the rust-test lane) merged within minutes, and together the lane failed on master: obs-media-io's video_io test didn't link. - The video-io oracle's obs_get_profiler_name_store/profile_store_name stand-ins were weak on every non-MSVC Windows target, where the audio oracle's strong copies don't exist; MinGW drops weak-only definitions from static archives. Strong on every _WIN32 now. - GNU ld scans archives once, in order, and rustc put the oracle's rlib before obs_util and obs_media_io, which call into it. The lane links through the toolchain's lld (rustlib/<host>/bin/gcc-ld) instead. Refs #291
Refs #291 Local-Gate: v1 tree=c76ee7b09ded3822d79f86e8018201a9c7648710 secs=262 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791864926,"gate":"rust/all/fmt","host":"linux-x86_64","key":"67a2b8a8802732e7ab2a6d35bdb6210ead1f055dbfe2d78dd74eb314de4e731a","lane":"lint","parents":["f4c2251a304e64e11a8a1977f30e8a384a4b33dc"],"secs":39,"stamp":"805a94abb16f83535f3663f362d9f58b","tree":"c76ee7b09ded3822d79f86e8018201a9c7648710","v":1,"via":"run"} Ci-Attestation: {"at":1791864926,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"67a2b8a8802732e7ab2a6d35bdb6210ead1f055dbfe2d78dd74eb314de4e731a","lane":"lint","parents":["f4c2251a304e64e11a8a1977f30e8a384a4b33dc"],"secs":39,"stamp":"d93982b1d2f7af5ef0c74e054b18351e","tree":"c76ee7b09ded3822d79f86e8018201a9c7648710","v":1,"via":"run"} Ci-Attestation: {"at":1791864926,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"42807fb72bc7a02b51409465460909f7bc009a0885fc1c1d9b45f564a733d9a3","lane":"rust-test","parents":["f4c2251a304e64e11a8a1977f30e8a384a4b33dc"],"secs":154,"stamp":"f49a632603c5a4c20beefa2043c2ac85","tree":"c76ee7b09ded3822d79f86e8018201a9c7648710","v":1,"via":"run"} Ci-Attestation: {"at":1791864926,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"e0846be3f097a9a59de3c4d987f2a2072e4f9fbc30cd41afdb3b99c9021a9b72","lane":"tier2-linux","parents":["f4c2251a304e64e11a8a1977f30e8a384a4b33dc"],"secs":68,"stamp":"d43d83bef1306ac9a87e8a692ce10cd9","tree":"c76ee7b09ded3822d79f86e8018201a9c7648710","v":1,"via":"run"}
This was referenced Oct 13, 2026
4 of 5 tasks
MSVC builds the cmocka tests with warnings as errors, and the int to float assignments (C4244) broke the Windows Tier 2 build since #442, which merged without a Windows run. (cherry picked from commit a03a798) Local-Gate: v1 tree=f4140f6412d1118b542542df6f929497a8fcdcd3 secs=204 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791866044,"gate":"rust/all/fmt","host":"linux-x86_64","key":"b6916df1b6d51dc3c3a97fd1e18e79dc6d1924f54704de68eb3d2e1fe1a572b7","lane":"lint","parents":["eb955ba16df49ab2c92a32d560acbde669d90325"],"secs":30,"stamp":"a8e0148e8d8332ad3c6d9d7791cbe019","tree":"f4140f6412d1118b542542df6f929497a8fcdcd3","v":1,"via":"run"} Ci-Attestation: {"at":1791866044,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"b6916df1b6d51dc3c3a97fd1e18e79dc6d1924f54704de68eb3d2e1fe1a572b7","lane":"lint","parents":["eb955ba16df49ab2c92a32d560acbde669d90325"],"secs":30,"stamp":"9ff5cba95920b207741da203e78bc29f","tree":"f4140f6412d1118b542542df6f929497a8fcdcd3","v":1,"via":"run"} Ci-Attestation: {"at":1791866044,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"4dfb4b5f61dcfd8b23844b3873525b41234345625f54ef82d7f5d5c2cc55d1d3","lane":"rust-test","parents":["eb955ba16df49ab2c92a32d560acbde669d90325"],"secs":113,"stamp":"1c7c7d54bc1ca4367a02f2f524cb2c1f","tree":"f4140f6412d1118b542542df6f929497a8fcdcd3","v":1,"via":"run"} Ci-Attestation: {"at":1791866044,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"cd28f30d8ed9a88c247264a5f2861954e1d6c2bc1355fdddf49f0465a8708fdd","lane":"tier2-linux","parents":["eb955ba16df49ab2c92a32d560acbde669d90325"],"secs":61,"stamp":"a6740cf1f64c53f6811a7d5405e1c2fa","tree":"f4140f6412d1118b542542df6f929497a8fcdcd3","v":1,"via":"run"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #451.
Master's local gate is red: the
rust-testlane's--no-runwindows-gnu link (#431) fails onobs-media-io'svideo_iotest. That test was added by #420, which merged minutes before #431, so neither PR's run saw the other.Two fixes:
oracle/video_io.c: the publicobs_get_profiler_name_store/profile_store_namestand-ins were strong only under_MSC_VER. On MinGW they were weak, the audio oracle's strong copies aren't built on Windows, and MinGW drops weak-only definitions from static archives. They're now strong on every_WIN32, the same fix as Build the C oracle and libobs util with GCC for Windows #431'stest_stubs.c.libobs_c_oraclebeforeobs_media_io/obs_util, which reference its symbols. GNU ld scans archives once, soblog,bcrash,video_scaler_*and others stay unresolved. lld has no ordering requirement, so the lane now links windows-gnu through the pinned toolchain'srustlib/<host>/bin/gcc-ld/ld.lld(-B<dir> -fuse-ld=lld). That path is found fromrustc --print sysroot, so it works on any host.ci/test_local_gate.pystubs the lookup.The
rust-testlane passes again, and the full local gate passed and is stamped. A real GNU-ld link on a Windows host would still hit the ordering issue; #441 tracks MinGW runtime work.Also includes (from #452):
test/cmocka/test_volume_meter_snapshot.cppuses an explicitstatic_cast<float>. MSVC's C4244 (int→float) under/WXbroke master's Windows Tier 2 build since #442. The two fixes blocked each other's CI, so they ship together.