Skip to content

build(libobs): static module archives relinked whole-archive into libobs #3261

Closed

Description

@zackees

Scope

Turn the modules into STATIC libraries and link them into the libobs SHARED library with $<LINK_LIBRARY:WHOLE_ARCHIVE,...>, as rust.cmake:35 does for Rust, keeping the export map, Windows export list and macOS unexport list. Add the symbol-diff check to CI's existing jobs.

Acceptance criteria

The symbol diff is clean on all three operating systems; Tier 2 passes for both hybrid and libobs-c-reference; a module-load smoke test passes; link time is recorded.

RED then GREEN where a check applies; record before and after build times. Parent: #3256.

Activity

  1. added
    infra
    P2
    size:L
    on Oct 31, 2026
  2. zackees commented on Oct 31, 2026

    @zackees
    MemberAuthor

    /investigate
    Blocked by #3259 (needs the per-module OBJECT libraries before they can become STATIC archives).

  3. added
    needs-investigation
    on Oct 31, 2026
  4. zackees commented on Nov 1, 2026

    @zackees
    MemberAuthor

    Claiming: #3261. Turn the libobs-mod-* object libraries (#3259) into STATIC archives, linked into the shared libraries through $<LINK_LIBRARY:WHOLE_ARCHIVE,...>. Verify with the export-set diff against master in the Linux container; Windows and macOS through PR CI's Tier 2.

  5. github-actions commented on Nov 1, 2026

    @github-actions

    Claim bot: @zackees, this can't be claimed yet: it needs investigation before anyone can implement it. Comment Claiming: investigation to take the research.

  6. moved this from Investigating to Done in obs-rust Multiviewon Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2infraneeds-investigationsize:L

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions