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

--copy-dt-needed-entries breaks with gold #637

Closed
sithhell opened this issue Dec 17, 2012 · 1 comment
Closed

--copy-dt-needed-entries breaks with gold #637

sithhell opened this issue Dec 17, 2012 · 1 comment

Comments

@sithhell
Copy link
Member

The "--copy-dt-needed-entries" linker option breaks when using the gold linker instead of the older ld linker on linux. This is very problematic as newer linux distributions (debian and ubuntu as of my knowledge now) ship with gold as the default linker. That means /usr/bin/ld is gold.

I suggest to remove this flag entirely. My proposed solution is to expose a HPX_LIBRARIES cmake variable in FindHPX.cmake which should be used to add to target_link_libraries in external builds. This is standard procedure for any other library out there.

Comments? Suggestions?

@sithhell
Copy link
Member Author

Fixed with commits:
7d869d2
fc2bc41
4f0ad70

@ghost ghost assigned sithhell Dec 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant