-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Illegal Instruction ponyc Hello World example #1661
Comments
@azzuwan can you try building from source and seeing if you have the same problem? Also, what type of CPU do you have? |
This is happening to me, using the ponyc-release from the Debian archive. ponyc simply won't start. Bare metal, no virtualisation.
shlx is AVX2, right? I don't have that. |
@azzuwan do you know which specific cpu you have, AVX and AVX2 are somewhat regular sources of problems on certain CPUs. |
@davidgiven looks like you have an IvyBridge, I don't believe shlx is supported on it. Sorry you are having difficulties getting started. Can you try building ponyc from source and seeing if that addresses the issue? |
@azzuwan try building the helloworld app from within the examples/helloworld directory you would do that by running |
@SeanTAllen You are right the source compile works without the file name. A careless mistake on my side. Regarding the deb installer, I will try again on my other machines later. This one will do for me now. Thank you! |
@davidgiven @azzuwan sorry for the issues you hit. this has been a festering problem with AVX and prebuilts for a while. @sylvanc and I are figuring out the best "basic" prebuilts we can do that might sacrifice performance but should work across more machines. Once we get that figured out, I'll try updating our CI. I'm going to leave this open and once Sylvan and I have a solution to try, will ping you both and ask you to try again. |
@davidgiven @azzuwan this should be fixed by #1663. And a new version of pony 0.11.1 will be released soon. Can you please give 0.11.1 a try after it is released and see if your issues are fixed. In the meantime, I'm going to close this issue under the assumption that its been fixed. |
@azzuwan did this fix the issue for you? i've received a couple of reports of continuing problems with "illegal instruction" |
Debian updated my ponyc-release from the repository to 0.11.1-2870.922bed4 --- but it still dies. Stack dump and disassembly are identical to the previous report. (Tangent: remember when you'd routinely install a floating point emulator on machines with no 387 coprocessor, so you could run programs that used floating point? Why don't they still do that? Being able to run binaries for other amd64 architectures, even if slowly, would be really useful...) |
@davidgiven yeah we did it incorrectly. there's a new release coming soon that should hopefully fix. sorry about that. we did pretty much the wrong thing. #1686 should fix it |
Updated to (By 'working', I mean that I built the 'Hello World' sample and it worked (after adding --pic). That's all the Pony I know. Next step, work through the tutorials...) |
WOO-HOO! sorry about all the starts and stops on that. If you want best performance, you'll want to build from source but its a good way to get started. |
I'm on Linux Deepin ( Debian Jessie) using the bintray DEB package
Stack trace:
_strace ponyc
_
The text was updated successfully, but these errors were encountered: