-
Notifications
You must be signed in to change notification settings - Fork 19
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
Build fails starting with glibc v2.34 #100
Comments
This is going to take some effort to fix. Gotcha needs to wrap dlsym() to implement its function interception. But you need _dl_sym() to correctly implement a wrapper, since wrappers change the semantics of RTLD_NEXT. |
@rgmiller @mplegendre Is this the failure you are seeing? I'm getting this with spack:
|
Yes, that's the failure that goes with this bug. |
@mplegendre Are there any workarounds for this issue so we can continue to use gotcha? Thanks. |
we started seeing this while using gotcha via caliper
Edit: code removed. |
Unfortunately that's not going to work - the function is a wrapper for Meanwhile if this breaks building Caliper you can turn off Gotcha support with |
@mplegendre Hi Matt - we are dead in the water with building our survey performance tool on newer systems. We don't use caliper so it sounds like any workarounds mentioned above don't help in our gotcha usage scenario. Will there be a general fix sometime soon or do we need to find an alternative to gotcha to use in our survey tool? Thanks for your time! |
@jgalarowicz I don't use caliper either. The fix in the PR #101 is not specific to it. |
@jrmadsen Thank you for letting me know, it appeared to be a caliper specific fix when I looked at it. I will give it a try. Thanks again! |
I hit this bug today, and with caliper. Just came here to say "I have been got." 😆 |
Any word on when/if #101 might be included in a release? We're pondering including it as a patch in the spack package since there are some gotcha dependants that we can't deploy on our target platforms because of this issue. |
For the record, just yesterday, I added another patch that basically makes wrapping Also, even before that yesterday, I personally modified my version to always use the fix in #101 (but configurable at build time) because I encountered very occasional issues with OMPT (openmp-tools) failing in it's search for |
As of version 2.34 of glibc (which is the latest as of Oct 2021), GOTCHA fails to build. The problem is that GOTCHA uses
_dl_sym
and in v2.34, this is no longer exported.The text was updated successfully, but these errors were encountered: