• src/Directory.Build.targets

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, July 19, 2026 01:09:30
    https://gitlab.synchro.net/main/sbbs/-/commit/cb1eb748601a9d2ac71b8811
    Added Files:
    src/Directory.Build.targets
    Log Message:
    build: fix mspdbsrv crash in shared MSVC projects (svdm CI failure)

    The Release|Win32 mspdbsrv/LTCG-contention mitigation added in 2660833170 (lies-12-acute) lived in src/sbbs3/Directory.Build.targets, which MSBuild
    only imports for projects physically under src/sbbs3/. The shared static
    libs -- notably xpdev_mt.vcxproj in src/xpdev/ -- are built by sbbs3.sln, sexpots.sln, vdmodem.sln and SyncTERM.sln, and were never covered.

    The windows-x86 [svdm] job crashed in exactly that gap: CL.exe 0xC0000005
    while compiling xpdev_mt (job 1607941). Hoist the targets file up to src/
    so it covers every non-sbbs3 MSVC project in the tree, and drop the now -redundant src/sbbs3/ copy. doors/syncscumm/* still shadow it locally.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, October 27, 2026 10:48:53
    https://gitlab.synchro.net/main/sbbs/-/commit/1e6385ea8f99711e84d3253d
    Modified Files:
    src/Directory.Build.targets
    Log Message:
    Build: generate PDBs for local Release|Win32 builds, keep /OPT:REF

    The Release|Win32 suppression of PDB generation and LTCG in src/Directory.Build.targets now applies only when CI=true, i.e. on the
    GitLab runner. Local Release builds get their .pdb files back, so a Release build deployed to a BBS can be symbolized from a crash dump.

    Most projects do not set OptimizeReferences/EnableCOMDATFolding, and linking with /DEBUG flips the linker default to /OPT:NOREF, which keeps unreferenced code. Set both for every Release|Win32 link, so re-enabling PDBs does not
    grow the binaries (ans2asc.exe: 46080 -> 14848 bytes, same as the CI build).

    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net