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

Allow linking with lld by deduplicating symbols #47

Merged
merged 1 commit into from
Nov 13, 2018
Merged

Allow linking with lld by deduplicating symbols #47

merged 1 commit into from
Nov 13, 2018

Conversation

hakuch
Copy link
Contributor

@hakuch hakuch commented Nov 13, 2018

lld appears to be more strict than GNU ld about duplicate exported
symbols: it appears that inherited symbols in the export specification
from a previous version should not be repeated.

This change removes from version 1.2 of the set of exported symbols
those symbols which are already included in the set for version 1.1.
This allows numactl to be compiled with lld without any errors.

Fixes #46

lld appears to be more strict than GNU ld about duplicate exported
symbols: it appears that inherited symbols in the export specification
from a previous version should not be repeated.

This change removes from version 1.2 of the set of exported symbols
those symbols which are already included in the set for version 1.1.
This allows numactl to be compiled with lld without any errors.

Fixes #46
@andikleen andikleen merged commit 1959c77 into numactl:master Nov 13, 2018
@andikleen
Copy link
Contributor

Thanks!

@mati865
Copy link

mati865 commented Jun 14, 2019

Kindly asking for new release with this fix included.

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.

Linker errors with lld
3 participants