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

Re-add linkopts and set -Wl,-headerpad_max_install_names on macos #33

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

jvolkman
Copy link
Collaborator

@jvolkman jvolkman commented Apr 18, 2023

When building artifacts for macos, pass the -Wl,-headerpad_max_install_names linker option to leave space for modifying things like rpath.

The built-in toolchain also does it here.

Also fixed an issue where the .map files under glibc-hacks weren't being included in the list of toolchain files.

@CLAassistant
Copy link

CLAassistant commented Apr 18, 2023

CLA assistant check
All committers have signed the CLA.

@motiejus
Copy link
Collaborator

Thank you. Let's wait until #30 is merged (probably EOW or beginning of next week) and then rebase. I will then properly review it.

I am OK with -Wl,-headerpad_max_install_names though.

@jvolkman
Copy link
Collaborator Author

If glibc-hacks is going away, would you like me to just remove that bit from this PR?

@motiejus
Copy link
Collaborator

If glibc-hacks is going away, would you like me to just remove that bit from this PR?

That works too.

@jvolkman
Copy link
Collaborator Author

Alright, I dropped that second commit. It should just be the headerpad change now.

@motiejus
Copy link
Collaborator

Sorry for the delay and all the stuff that piled up. Would you mind rebasing?

@jvolkman
Copy link
Collaborator Author

Sorry for the delay and all the stuff that piled up. Would you mind rebasing?

Done!

@motiejus motiejus merged commit fa951e2 into uber:main Apr 24, 2023
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.

3 participants