-
Notifications
You must be signed in to change notification settings - Fork 175
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
hwloc_get_last_cpu_location fails in chroot when /proc not mounted #214
Comments
What kind of debug did you enable? Compiler options? Or hwloc --enable-debug? I don't see why debugging would change anything here. This function shouldn't check. Can you printf errno? |
By enabling debugging I just mean adding -g to CFLAGS so I can get information out of the core file. |
The errno value is 38. |
Try this. If it fails to build, we need to see if SYS_gettid was moved somewhere else, or is just missing for real. If it builds, you'll get a print, hopfully.
|
Looks like the chroot didn't have the /proc filesystem set up. |
Thanks, I retitled for documentation and I am closing now. |
(moved from @dgloe second comment of #213 to here)
When I try again with debugging information turned on I get a different error:
The text was updated successfully, but these errors were encountered: