Skip to content

Conversation

jacobly0
Copy link
Member

@jacobly0 jacobly0 commented Sep 22, 2025

This fixes crashes compiling the compiler with the new linker with safety enabled.

Fixes #25326

@jacobly0 jacobly0 force-pushed the elfv2-fix-insert-range branch from 1631616 to 829ac97 Compare September 22, 2025 18:56
@andrewrk
Copy link
Member

MappedFile looks very unit-testable. just a suggestion

@jacobly0
Copy link
Member Author

MappedFile looks very unit-testable. just a suggestion

Unfortunately, the repro is currently build the compiler with a ReleaseSafe compiler, I don't have a reduction.

@jacobly0 jacobly0 force-pushed the elfv2-fix-insert-range branch from 829ac97 to ca4c241 Compare September 22, 2025 22:17
@andrewrk andrewrk merged commit 4a344de into ziglang:master Sep 24, 2025
9 checks passed
@jacobly0 jacobly0 deleted the elfv2-fix-insert-range branch September 25, 2025 02:41
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.

Failed assertion in Elf2 linker when run under time command
2 participants