Closed figgles closed 1 year ago
I just applied this patch to the Debian package and uploaded it to see how it works. I’ll report if it fixes our problems on sparc.
Might take a while until I can report a result; libgmp-dev
is currently not installable on sparc.
Unfortunately, this did not solve the problem: haskell-cryptohash-0.11.4-2 in Debian has the patch applied, but haskell-tls still fails in the test suite.
Hey, I've been on vacation, but I'll check it out this week!
On Wednesday, May 7, 2014, Joachim Breitner notifications@github.com wrote:
Unfortunately, this did not solve the problem: haskell-cryptohash-0.11.4-2 in Debian has the patch applied, but haskell-tls still fails in the test suite.
— Reply to this email directly or view it on GitHubhttps://github.com/vincenthz/hs-cryptohash/pull/25#issuecomment-42395993 .
archiving repository
This modifies the code to have two new functions: load32() and load64(). When ARCH_HAVE_UNALIGNED_LOAD is defined (e.g. x86), they are simple assignments, but otherwise, they use memcpy() to signal to gcc that the loads must be done in an unaligned fashion. This fixes issue #24.