-
Notifications
You must be signed in to change notification settings - Fork 27
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
"Fancy new algorithm" doesn't work on big-endian machines #53
Comments
Ah dangit, thanks so much for reporting this. I'm guessing the issue is
and I have a patch at PR #54. I'm installing some cross platform testing stuff and should have confirmation soon. |
Yep, I can repro the issue and the fix works for me. Thanks again! @llogiq We should CI this. |
Is there a CI that gives us native big-endian machines? Or do we need to setup qemu on a Travis job? |
Algorithm failed on big endian machines #53
https://github.com/japaric/trust looks nice. Looking through it mostly just seems to wrap https://github.com/rust-embedded/cross, which is what I used locally (so maybe just use cross?). |
The fix works for me over here too, thanks for the quick response! |
version 0.5.1 with the fix will be published soon. |
0.5.1 is published to crates.io. |
Both the memchr and byteorder crates have a CI target that uses a big
endian target, so you could reuse that.
…On Sun, Feb 10, 2019, 04:52 llogiq ***@***.*** wrote:
version 0.5.1 with the fix will be published soon.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAb34kgCBbhGAI5PGAnLEN7UWBXiMyDXks5vL-vjgaJpZM4ayvZg>
.
|
What architectures should we add to CI? |
I used mips, but any big-endian arch should be fine. https://github.com/BurntSushi/byteorder/blob/64c03fb383289f8e42b2892bf72297879777a238/.travis.yml#L8 |
ppc64 and s390x if available are typically much faster than mips. |
Looking at that travis patch, does |
FWIW, travis recently gained s390x support, so testing there should be easy-ish. |
This reverts commit db2b9ef.
Originally from BurntSushi/ripgrep#1144, we traced down the issue to bytecount, specifically commit c6668a3:
The text was updated successfully, but these errors were encountered: