-
Notifications
You must be signed in to change notification settings - Fork 206
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
base64 build errors on big endian BSD #105
Comments
Can you help me to reproduce this problem, I had no idea on how to start with OpenBSD, any tips? |
To install OpenBSD, grab the installer image here: https://cdn.openbsd.org/pub/OpenBSD/7.2/powerpc64/install72.img Load that up in KVM or something that supports powerpc64 (this is the important part, we want the big endian version) and from there its installer is super straightforward. Then follow the CLN OpenBSD docs here: https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-openbsd |
|
It appears to happen on ppc64le Linux with clang as well. This is on Rocky Linux 9.
|
Yes, because endianness doesn't matter here, but whether char is signed or unsigned. I believe you will also get the same results on ARM (both big-endian and little-endian, both 32-bit and 64-bit). |
base64: fix for unsigned chars (e.g. ARM).
|
You need this commit @weedcoder -> ElementsProject/lightning@0b23f55 |
When building on powerpc64 FreeBSD 13.2-RELEASE.
Looks like I'm hitting the same error on powerpc64 OpenBSD 7.2
The text was updated successfully, but these errors were encountered: