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

Fix build with LLD #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix build with LLD #343

wants to merge 1 commit into from

Conversation

JohannesLorenz
Copy link
Collaborator

@JohannesLorenz JohannesLorenz commented Jan 21, 2024

LLVM's LLD handles the -retain-symbols-file option (used by
-export-symbols-regex in libtool) differently from GNU ld, causing
undefined references during link. This commit removes the
-export-symbols-regex option from libcalf_la_LDFLAGS since by default
libtool exports all symbols anyway, so it should not be necessary.

Follow-up of f6c6aae .

LLVM's LLD handles the -retain-symbols-file option (used by
-export-symbols-regex in libtool) differently from GNU ld, causing
undefined references during link. This commit removes the
-export-symbols-regex option from libcalf_la_LDFLAGS since by default
libtool exports all symbols anyway, so it should not be necessary.

Follow-up of f6c6aae .
@JohannesLorenz JohannesLorenz changed the title Replace use of std::bind2nd with std::bind Fix build with LLD Jan 21, 2024
@JohannesLorenz JohannesLorenz added this to the 0.90.4 milestone Jan 21, 2024
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.

None yet

1 participant