-
Notifications
You must be signed in to change notification settings - Fork 9
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
FTBFS on Arch Linux x86_64 #12
Comments
Looking at the man page, the first two arguments are flipped relative to all other OS's. What's a reliable way to detect Arch Linux? |
It is the same as in Debian so I suspect the question should be how to detect Linux. Looking at the source there is something like |
I've looked in my |
Instead of relying of macros, we should switch to configurator. Would someone be interested in providing a patch for it? Happy to give more details if someone wants to give it a shot |
@diml I'm not sure whether I have time (moving countries this month) but maybe you could explain how you would go about it using configurator? Implement two inline C programs with the *BSD and Linux calls respectively and check which one succeeds and then generate a |
Sure, we do this in core, so you can copy&paste the code from core to start with:
|
It seems Relevant line from the 2.25 release notes:
And the corresponding glibc commit: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4d728087ef8cc826b05bd21d0c74d4eca9b1a27d |
I tried building core_extended.114.35+03 from Jane Street's OPAM repository. This fails when building some C code:
The text was updated successfully, but these errors were encountered: