-
Notifications
You must be signed in to change notification settings - Fork 66
Added linux-musl support #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
Conversation
Hello, thank you for the PR. How does it work if the |
No, musl doesn't have it in its headers. My theory is that |
Thanks for the explanation. Have you signed the Oracle Contributor Agreement? We use it to make the copyright of contributions clear. You can sign it at that link. |
Hello peterz, thanks for contributing a PR to our project! We use the Oracle Contributor Agreement to make the copyright of contributions clear. We don't have a record of you having signed this yet, based on your email address peterz -(at)- disroot -(dot)- org. You can sign it at that link. If you think you've already signed it, please comment below and we'll check. |
Hi, I've identified another undefined symbol and added it to unimplemented.c, hence the second commit. (It shows on musl because musl linkers use |
good, thanks. Could you please also add the standard Oracle GPL3 copyright that we use into the new file. Then I'll spin our internal tests and merge if these changes pass. (Example of the copyright: https://github.com/oracle/fastr/blob/master/com.oracle.truffle.r.test.native/embedded/src/main.c)
yes that should be OK, could you please give some proof that you're from that company (send me an e-mail from an account on that domain or add secondary e-mail here on GitHub)? Sorry I need to follow the procedures. |
b08fec0
to
d8b70fc
Compare
I already have |
Ah, sorry I forgot that we're using prebuilt F2C in our CI and check that F2C still builts correctly only in post merge checks, which gave us this error:
Seems that the |
Strange it didn't show in my testing, but now I can reproduce this. Does it sometimes work and sometimes not? Also, how do you build using prebuilt F2C? |
In the same makefile you can see that we check for environment variable |
I have a fix: #176 |
Hi,
The only thing that prevents fastr from building on musl is the
#include "fpu_control.h"
line somewhere in libf2c sources. This header file is missing in musl. I'm adding this (effectively empty) header file as a patch tof2c/libf2c-patch