-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Spurious illegal instructioin on x86_64-unkown-linux-musl #955
Comments
Oops it just happens again |
It also happens on |
That's interesting as it doesn't reproduce (or is nothing I encountered) in this CI yet. Thus another possible cause may be be miscompilation, in addition to assembly as potential cause. If the issue is miscompilation, then adding If assembly is the issue, you could try to disable one or the other performance option, using either Please note that I think for performance, a great Thanks for letting me know how it goes. PS: Maybe another possible issue is some strange interaction with the VM this runs on. After all, illegal instructions should always be run in tight algorithms like SHA1 or zlib-ng, so it should consistently crash. But it doesn't, so might be related to something else entirely. In any case, changing the instructions in the binary might help to fix it merely by not using the maybe special instructions that come with assembly or certain super-optimized C code in zlib-ng. |
Thanks for the swift response! I will disable |
@Byron I tried disabling |
That's great, as one possibility has been removed. The next to try would be zlib-ng then (while leaving sha1-asm disabled)? Maybe change it to the normal backend to retain some performance. If that still doesn't work, try with |
Yeah, after I disabled I guess we should report this to upstream. |
After |
Great to hear we pin-pointed it! I recommend turning For now I am tentatively closing this issue as there is nothing we can do here, and follow the related issue instead. |
I think the current performance is already good enough, in fact I believe that as long as we don't do a checkout, it will be ok for binstall to even switch back to -Oz. If the performance becomes a problem again, binstall can employ the same caching schema used in |
You might be interested in |
Thanks! Although I am still a bit hesitant on pulling them, since binstall used to depend on it but was explicitly removed because its dependence on If binstall needs this, I might port this code from |
|
Thanks, I would take note of this in case we need this feature in binstall.
I actually don't know how to update a cloned repository in |
Fetching works by using a remote and is quite straightforward. |
Thanks! I will also take note of this. |
Duplicates
Current behavior 😯
cargo-binstall
, which usesgix
v0.50.1, sometimes get killed by illegal instructions on this CI and also this one:I suspect this has something to do with
max-performance
, it could be that the use of assemblies insha1-asm
orlibz-ng
caused this problem.It always happens when cloning from a local git repository using
file:///
, so I suppose it also has something to do with it.Expected behavior 🤔
No response
Steps to reproduce 🕹
No response
The text was updated successfully, but these errors were encountered: