Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add --eh-frame-hdr arg for linking#3981

Closed
dcao wants to merge 3 commits intoziglang:masterziglang/zig:masterfrom
dcao:masterdcao/zig:masterCopy head branch name to clipboard
Closed

add --eh-frame-hdr arg for linking#3981
dcao wants to merge 3 commits intoziglang:masterziglang/zig:masterfrom
dcao:masterdcao/zig:masterCopy head branch name to clipboard

Conversation

@dcao
Copy link
Contributor

@dcao dcao commented Dec 24, 2019

resolves #3965

Copy link
Member

@andrewrk andrewrk left a comment

Choose a reason for hiding this comment

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

Thanks for the patch.

I'm OK with adding this linker flag as an option, but not unconditionally. You'll need to expose it as a CLI option, a build.zig option, integrate whether or not it is enabled into the cache system, and then finally conditionally include it on the linker line.

@dcao dcao requested a review from andrewrk January 4, 2020 05:29
@dcao
Copy link
Contributor Author

dcao commented Jan 4, 2020

@andrewrk The changes requested have been made: there's now a new CLI option, --eh-frame-hdr for passing that flag to the linker, along with an API in build.zig to add said flag during the linking process.

@andrewrk
Copy link
Member

andrewrk commented Jan 7, 2020

Thanks! Landed in e2e9be5.

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.

unable to pass --eh-frame-hdr to linker

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.