-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Julia 1.5.0 Illegal instruction using official binary on AMD Athlon II X2 255 Processor with Debian Buster #36934
Comments
I just checked a different AMD system running Artix Linux and a recent kernel
and obtained
which appears to be exactly the same error. However, for the system
I obtain the answer
with no errors. All these runs were made using the official x86 gcc binary
downloaded directly from the main Julia website. Is there some hand-coded assembler that needs to be disabled to obtain a generic x86 binary? |
Why did this get closed with no text in the post describing why? Is the official binary supposed to work on x86 or not? Would it be better to wait to see if the proposed solution works? Will the official binaries be updated? |
This issue was closed because it is a duplicate of open issue #35215. As discussed in that issue, the official binary is not expected to work on all x86 processors. There are minimum requirements that should be documented better #35215 (comment). |
This is closed due to dup but no, there’s no reason for the official binary to not work for you. This is not a document issue. I’ve already listed all the solution I can think of and some of them is a simple revert or option change when building the official binary and it is only blocked on people in charge to change a single line of code. |
Thanks for your reply. That makes sense. My observation is closing an issue without explanation creates bad feelings and distrust. While I'm not generally in favour of developer codes of conduct for highly visible open source projects, to avoid problems in the future I would suggest enforcing a simple policy of not closing issues without offering any explanation as to why. Now that Julia is past the 1.0 release and ready for adoption in university applied mathematics courses worldwide, I would also suggest for everyone to pay more attention to unit and regression testing. Woohoo! As an update, the binary compiled with
seems to work. I suspect there is also a way to compile an official binary that works using your build release farm. Maybe details how to do this could be found in the Debian package build scripts for Julia and for LLVM. Unfortunately, this is not the end of the story for me. I am planning to use Julia this coming semester in a numerical methods course that will be taught online as a result of the ongoing epidemic. Instead of MATLAB in the university computing labs, students will install Julia on their home computers. Julia is definitely up to the task, however, the official binary needs to run on the computer each student has available at home. Some of these were obtained from the university surplus auction, others are hand-me-downs from parents and others are, of course, new Macbooks. I'll continue this discussion at #35215 which hasn't been closed. Thanks for listening and thanks for the explanation. |
The dup and explanation was already mentioned in #36934 (comment), which is why I close without additional comments. |
System
Expected behavior
Julia should not crash.
Actual behavior
Program crashed with Illegal instruction.
Steps to reproduce the behavior
Commentary
This may be a problem specific to older AMD processors. Here are the flags in cpuinfo
I tried to compile from source. Simply typing make led to an Illegal instruction. Typing make cleanall and then make again also led to an Illegal instruction. I have not tracked the source of the problem down.
The text was updated successfully, but these errors were encountered: