WIP: Preserve dynamic symbol export visibility #508

Draft
erikinkinen wants to merge 5 commits from feature/dynamic-symbol-export-visibility into feature/retained-native-byte-inspection
Owner

Preserve the complete ELF st_other byte, visibility and export eligibility in artifact reports. Final-link checks can distinguish externally visible GLOBAL/WEAK providers from local, hidden and internal definitions.

Depends on #507. Supports native final linking in #505.

  • Preserve raw symbol flags and derive export eligibility.
  • Compare genuine LLVM exports and exercise independent flag mutations.
  • Complete final graph-link integration and CI.

Symbol flags remain data; original artifact owners and the admitted per-program lookup scope are still required.

Preserve the complete ELF st_other byte, visibility and export eligibility in artifact reports. Final-link checks can distinguish externally visible GLOBAL/WEAK providers from local, hidden and internal definitions. Depends on [#507](https://git.erikinkinen.fi/erix/integration/pulls/507). Supports native final linking in [#505](https://git.erikinkinen.fi/erix/integration/issues/505). - [x] Preserve raw symbol flags and derive export eligibility. - [x] Compare genuine LLVM exports and exercise independent flag mutations. - [ ] Complete final graph-link integration and CI. Symbol flags remain data; original artifact owners and the admitted per-program lookup scope are still required.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 08:36:05 +01:00
fix: preserve dynamic symbol export visibility
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
Coreutils provider graph / coreutils (push) Successful in 1m51s
CI / rust (push) Successful in 2m37s
CI / host_two (push) Successful in 8m26s
CI / host_three (push) Successful in 9m14s
CI / host_zero (push) Successful in 11m7s
CI / host_one (push) Successful in 12m22s
CI / integration (push) Failing after 3m12s
ae57d921ec
Retain raw ELF symbol visibility and distinguish externally visible GLOBAL and WEAK definitions from local, hidden and internal symbols. Expose the same classification in artifact reports so final-link closure checks cannot treat every defined symbol as an external provider.
fix: Include object helpers in dynamic cache inputs
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 18s
Coreutils provider graph / coreutils (push) Successful in 4m47s
CI / rust (push) Successful in 6m55s
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
c4db43ffaf
Hash object naming and ELF symbol decoding with executable builder inputs.
Retain valid helper imports when independently exercising cache invalidation.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
06df577d4e
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
b472ec2e4e
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 54s
Markdown / markdown (push) Successful in 13s
Coreutils provider graph / coreutils (push) Successful in 4m39s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
9c48edde11
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 54s
Markdown / markdown (push) Successful in 13s
Coreutils provider graph / coreutils (push) Successful in 4m39s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/dynamic-symbol-export-visibility:feature/dynamic-symbol-export-visibility'
git switch 'feature/dynamic-symbol-export-visibility'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/retained-native-byte-inspection'
git merge --no-ff 'feature/dynamic-symbol-export-visibility'
git switch 'feature/dynamic-symbol-export-visibility'
git rebase 'feature/retained-native-byte-inspection'
git switch 'feature/retained-native-byte-inspection'
git merge --ff-only 'feature/dynamic-symbol-export-visibility'
git switch 'feature/dynamic-symbol-export-visibility'
git rebase 'feature/retained-native-byte-inspection'
git switch 'feature/retained-native-byte-inspection'
git merge --no-ff 'feature/dynamic-symbol-export-visibility'
git switch 'feature/retained-native-byte-inspection'
git merge --squash 'feature/dynamic-symbol-export-visibility'
git switch 'feature/retained-native-byte-inspection'
git merge --ff-only 'feature/dynamic-symbol-export-visibility'
git switch 'feature/retained-native-byte-inspection'
git merge 'feature/dynamic-symbol-export-visibility'
git push origin 'feature/retained-native-byte-inspection'
Sign in to join this conversation.
No description provided.