-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rustc 1.78 Undefined Reference to getauxval #125067
Comments
@tustvold getauxval is in glibc 2.16 and we demand a higher minimum glibc than that. I am struggling to understand how it is possible for you to link our code at all given we pervasively reference other libc symbols in the stdlib. The only thing I can imagine is that a minimum-qualifying libc is not actually linked in (somehow, yes I see the |
Yeah, the problem is in what you've done with conda. apache/arrow-rs#5719 (comment) Our glibc minimum is 2.17 and you have not followed the directions to cause conda to use the required glibc for linkage. You need to change the sysroot_linux-64 version. We raised the glibc requirements past 2.16 in 2022. |
Thank you, apologies for the noise, I will see about getting the images updated |
Thank you for the quick response @workingjubilee |
Code
I'm afraid the reproducer is in a fairly chunky docker image, with the wonder that is conda, but I suspect there might be a more generic issue here perhaps??
Then within the image
If you downgrade to version 1.77 compilation works as expected
The version of glibc does not appear to be especially old
Version it worked on
It most recently worked on: Rust 1.77
Version with regression
rustc --version --verbose
:This appears to have been introduced by #113525 FYI @workingjubilee
The text was updated successfully, but these errors were encountered: