-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ocamlopt is incapable of building files using clock_gettime
with glibc older than 2.17
#10329
Comments
Btw, it seems that
Is there any way to get access to the |
As mentioned in Discuss, I think you can use |
1- Seeing the startup code will not help you. Just look at the very long line generated by |
But, sure, this distribution reached end of support a while ago, and I can stop making Coq master packages for precise on launchpad. |
The OCaml 4.11.1 test-suite fails on Ubuntu Precise (12.04). Full logs are available here and here. The error message is:
By running this command locally in a VM with
-verbose
, I've discovered that the error is:According to https://stackoverflow.com/a/32649327/377022, versions of glibc older than 2.17 (
ldd --version
givesldd (Ubuntu EGLIBC 2.15-0ubuntu10.6) 2.15
on this machine) require-lrt
. However, even if I add-ccopt -lrt
(which I should not have to do in the first place, I believe, as the test-suite should just work), this is not enough, because, according to https://stackoverflow.com/a/8088766/377022,-lrt
must come after the object files, and instead it comes after the last-L
but before the first object file. It seems there is no way to instruct ocamlopt to do this (unless I am missing something).The text was updated successfully, but these errors were encountered: