-
Notifications
You must be signed in to change notification settings - Fork 185
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
gem update issues on PCLinuxOS #2009
Comments
As the log says:
See https://github.com/oracle/truffleruby/blob/master/README.md#dependencies The LocalJumpError in RDoc is a different issue, could you report that separately? |
Reopening since apparently installing gcc wasn't enough for you. Can you try to find what installs To debug this you can try compiling a C hello world with the
Maybe installing clang/llvm on your system might help to install |
Note that |
I used |
That seems slightly too general. JRuby certainly cannot install or update the
Maybe in the end we add an extra dependency in |
To help debug this, it would be useful if you can share the output of:
with #include <stdio.h>
int main(int argc, char const *argv[]) {
puts("Hello World");
return 0;
} |
I use Zsh.
gcc 9.3.0
clang 8.0.1
truffleuby 20.0.0
|
Thanks, the last command fails because you need the |
|
@zapster Could you take a look? |
Hello @jzakiya, thanks for all the infos so far.
as well as
Thank you! |
Actually, it seems that the missing
from the
is the culprit. For some reason the gcc installations are not detected. This is something we have to look into. You can workaround the issues explicitly set the gcc toolchain:
|
I did some more digging and it seems that PCLinuxOS is patching their clang to pick up the gcc installation. (If you are interested in the details, see Another workaround you can try is to create a symlink that clang will detect by default. As root:
Hope that helps. |
To add a bit more background, this is not specific to truffleruby/GraalVM but a general problem of the Linux distribution. If clang is compiled manually without applying the patch it will run into the same issue. Only the distribution can fix this for real, by either upstreaming their patches to the LLVM project or by adding a symlink so that clang can pick up gcc by default. I suggest filing an issue for PCLinuxOS. |
I documented the workaround for Mandriva-based distributions in be4c577 @jzakiya Could you report this issue to PCLinuxOS as @zapster suggested? |
rvm 1.29.10; Truffleruby 20.0.0; Linux Kernel 5.5.17
The text was updated successfully, but these errors were encountered: