Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsupported linker arg: -dead_strip #10999

Closed
cstkingkey opened this issue Feb 27, 2022 · 1 comment · Fixed by #12140
Closed

unsupported linker arg: -dead_strip #10999

cstkingkey opened this issue Feb 27, 2022 · 1 comment · Fixed by #12140
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase. linking os-macos
Milestone

Comments

@cstkingkey
Copy link

cstkingkey commented Feb 27, 2022

Zig Version

0.10.0-dev.990+058e48224

Steps to Reproduce

see also #10485

Expected Behavior

support linker arg -dead_strip

Actual Behavior

unsupported.

@cstkingkey cstkingkey added the bug Observed behavior contradicts documented or intended behavior label Feb 27, 2022
@matu3ba
Copy link
Contributor

matu3ba commented Feb 27, 2022

Note: -dead_strip is only supported by lld and ld on Darwin. https://stackoverflow.com/a/6687734

@Vexu Vexu added enhancement Solving this issue will likely involve adding new logic or components to the codebase. os-macos frontend Tokenization, parsing, AstGen, Sema, and Liveness. and removed bug Observed behavior contradicts documented or intended behavior labels Mar 27, 2022
@Vexu Vexu added this to the 0.11.0 milestone Mar 27, 2022
@kubkon kubkon added linking and removed frontend Tokenization, parsing, AstGen, Sema, and Liveness. labels Mar 29, 2022
@Vexu Vexu modified the milestones: 0.12.0, 0.10.0 Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase. linking os-macos
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants