-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
old glibc forcing syscall #109
Comments
This comment was marked as outdated.
This comment was marked as outdated.
+1 on this issue. I think to work around this we need to add "gcc built with sysroot 2.17 or higher for linux64" to the compiler build matrix. |
It looks like once conda forge is switched to alma 8 the default glibc will be 2.28 (conda-forge/conda-forge.github.io#1941) Does this feedstock plan to follow the glibc update as well or will it still be pinned at 2.12? |
That issue is for introducing the Alma 8 glibc, but we're very far from making that the default. We've announced to increase the default glibc to 2.17 this July, though there's still ongoing work to enable that transition. |
Something changed between the release on 2023-06-03 and 2023-09-16 that fixed the If the change is in fact due to gcc changing from 13.1 to 13.2, then this this commit (gcc-mirror/gcc@1e3e6c7) from Nov 2020 might change the behavior but I am not sure why it wasn't pulled in earier.
This is actually the only difference between the |
Comment:
Are there any plans to bump the glibc version this package compiles against to 2.17? Or possibly adding the compile flag:
--enable-libstdcxx-time
When libstdc++ is compiled against a glibc older than 2.17 there is a compatibility defines set (
_GLIBCXX_USE_CLOCK_GETTIME_SYSCALL
) in the header so that the built libstdc++ library forcesstd::chrono::system_clock::now()
to use the syscall version of clock_gettime instead of one that can be accelerated by vdso. (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59177)The effect of this any code built in an environment using this package has a fairly large performance penalty when running querying the system clock this way.
From https://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html
To see if it is set:
Thank you
The text was updated successfully, but these errors were encountered: