-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
BFD version 2.20.51.0.2-5.47.el6_9.1 20100205 internal error, aborting at reloc.c line 443 in bfd_get_reloc_size #8323
Comments
Thanks for reporting! This seems to be a bug in |
I need update my |
Most likely, the codegen changed in some subtle way so that 0.30.1 no
longer reproduces the issue.
…On Mon, Oct 14, 2019, 9:36 PM myth ***@***.***> wrote:
Thanks for reporting! This seems to be a bug in ld, not Crystal. The
reported version 2.20 is 9 years old and there are similar errors described
on the internet. So you'll simply need to upgrade binutils to a newer,
bug-fixed version.
I need update my ld ?
and when I download crystal 0.30.1, the bug disappear ~
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8323?email_source=notifications&email_token=AAM4YSIN7QGMV3A2PHLLU4TQOUUEBA5CNFSM4JAKKXUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBHGSSQ#issuecomment-542009674>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM4YSJVVON5CMXHLSFPWULQOUUEBANCNFSM4JAKKXUA>
.
|
Yes, update ld should fix this. The upgrade to LLVM 8 (between 0.30 and 0.31) probably produces different codegen which causes the bug in ld to appear. |
We can't ask a centos user to update a core package like binutils, thats the exact opposite of the centos goal (keep long stable packages not the latest shiny). A better solution would be centos specific packages that someone must maintain —we won't do that ourselves. If Crystal 0.30.1 is working you could compile crystal 0.31.x with it, but you'll lack a recent enough LLVM version —I can only find LLVM 3.0 which isn't, and 3.4 which I dont think we support anymore. I believe we only support LLVM 3.8+ for the time being. Upgrading to centos 7 if possible would probably be a better choice. Packages would probably work out of the box, and if not LLVM 5 and 7 are available for it. |
Closing, because there is nothing we can do. RPM and DEB packages are built for recent linux distributions, using recent LLVM releases. Significantly older distributions need specific packages and dedicated maintainers. |
thanks~ I update binutil to 2.31.1 by conda, Crystal 0.31.1 does works~ |
I download
crystal-0.31.1-1-linux-x86_64.tar.gz
thentar xjf crystal-0.31.1-1-linux-x86_64.tar.gz
, runcrystal-0.31.1-1/bin/crystal eval 'puts "dd"'
will got error:EDIT (@straight-shoota): Removed leftover boilerplate from issue template.
The text was updated successfully, but these errors were encountered: