Skip to content

fix(linux)!: bundle an mdex musl libgcc runtime - #164

Merged
bougyman merged 1 commit into
mainfrom
fix-linux-binary
Aug 20, 2026
Merged

fix(linux)!: bundle an mdex musl libgcc runtime#164
bougyman merged 1 commit into
mainfrom
fix-linux-binary

Conversation

@bougyman

Copy link
Copy Markdown
Member

Summary

  • bundle Alpine's musl-compatible libgcc runtime beside the mdex_native NIF
  • patch the NIF to load that uniquely named runtime instead of a host glibc copy
  • make lc version perform a hidden Markdown render so release smoke tests really load mdex_native
  • smoke-test both native Linux Burrito targets and the Alpine container path

Why

EXT-7 selected the correct musl NIF, but the NIF still dynamically required libgcc_s.so.1. Burrito's musl loader could select the Linux host's incompatible glibc libgcc first, causing the NIF on-load hook to fail and surfacing as MDExNative.Native being unavailable.

Verification

  • 310 tests passed
  • Mix formatting passed
  • ShellCheck, workflow YAML parsing, and git diff validation passed
  • a fresh isolated production linux_x86_64 Burrito build extracted and ran lc version successfully after loading Markdown
  • the resulting payload contained both the patched musl NIF and bundled libgcc runtime

Release impact

This PR intentionally carries a breaking Conventional Commit marker. After merge, release-please should open or update the release PR for 2.0.0.

Patch the musl NIF to load a bundled Alpine libgcc, and make release smoke tests render Markdown on both Linux targets.

BREAKING CHANGE: Linux release artifacts now use a bundled musl libgcc runtime for mdex_native.
Copilot AI lite review requested due to automatic review settings August 20, 2026 16:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bougyman
bougyman merged commit 377c1d9 into main Aug 20, 2026
2 checks passed
@bougyman
bougyman deleted the fix-linux-binary branch August 20, 2026 16:54
bougyman pushed a commit that referenced this pull request Aug 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.0.0](v1.16.0...v2.0.0)
(2026-08-20)


### ⚠ BREAKING CHANGES

* **linux:** bundle an mdex musl libgcc runtime
([#164](#164))

### Bug Fixes

* **linux:** bundle an mdex musl libgcc runtime
([#164](#164))
([377c1d9](377c1d9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

2 participants