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 LiTL with recent libraries #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vlaforet
Copy link

Fixes: (First commit)

  • gettid has been removed from src/utils.c as it is already defined in the C library
  • pthread_yield has been renamed sched_yield

Second commit:
Fix the issue described in issue #11. pthread_create was not interposed and this resulted in contexts not being initialized.
The fix consists in linking to the new version of pthread_create with glibc >= 2.34. Backward compatibility is also assured by linking to the older version of pthread_create with glibc < 2.34.

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