Skip to content

0.5.1: the protocol marker survives a link that keeps only what it reaches - #8

Merged
Sunrisepeak merged 1 commit into
mainfrom
release/0.5.1
Nov 9, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
release/0.5.1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

The library, the GoogleTest adapter and the C ABI kept the marker (P2.3) by reading one byte of it, which the compiler folds to a constant; a link with --gc-sections over per-object sections (mcpp test 2026.11.9.1) then discarded it and the runner saw no protocol. They read its address through a volatile pointer. The conformance fixture is linked that way on Linux, so P2.3 checks it.

Local: mcpp test passes for every member, with the released mcpp and with 2026.11.9.1's gc-linking test programs.

Co-authored-by: speak-agent [email protected]

@Sunrisepeak
Sunrisepeak merged commit b2ac683 into main Nov 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant