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

__tls_get_addr@@GLIBC_2.3 undefined link error unless ld.so is passed as a link arg #456

Open
kkysen opened this issue Oct 28, 2024 · 0 comments

Comments

@kkysen
Copy link
Contributor

kkysen commented Oct 28, 2024

When compartmentalizing dav1d (run ./rewrite.py from immunant/dav1d/ia2), there was a link error saying __tls_get_addr@@GLIBC_2.3 was undefined. We were able to fix this by passing ld.so (/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2) as a link arg, but I'm not sure why this is needed, and it wasn't needed before (this error used to not happen, and then all of a sudden it started happening, so I'm not sure what changed). Perhaps it has to do with the TLS "Local Exec" model error as well (#457)?

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

No branches or pull requests

1 participant