Compilation is broken on aarch64
Closed this issue · 0 comments
sternenseemann commented
Seems like the content of CChar
is platform dependent.
[1 of 6] Compiling Data.LargeHashable.Intern ( src/Data/LargeHashable/Intern.hs, dist/build/Data/LargeHashable/Intern.o, dist/build/Data/LargeHashable/Intern.dyn_o )
[2 of 6] Compiling Data.LargeHashable.Class ( src/Data/LargeHashable/Class.hs, dist/build/Data/LargeHashable/Class.o, dist/build/Data/LargeHashable/Class.dyn_o )
src/Data/LargeHashable/Class.hs:195:60: error:
• Couldn't match expected type ‘Int8’ with actual type ‘Word8’
• In the second argument of ‘updateHashWithFun’, namely ‘i’
In the expression: updateHashWithFun hu_updateChar i
In an equation for ‘updateHash’:
updateHash (CChar i) = updateHashWithFun hu_updateChar i
|
195 | updateHash (CChar i) = updateHashWithFun hu_updateChar i
| ^
[3 of 6] Compiling Data.LargeHashable.LargeWord ( src/Data/LargeHashable/LargeWord.hs, dist/build/Data/LargeHashable/LargeWord.o, dist/build/Data/LargeHashable/LargeWord.dyn_o )
[4 of 6] Compiling Data.LargeHashable.MD5 ( src/Data/LargeHashable/MD5.hs, dist/build/Data/LargeHashable/MD5.o, dist/build/Data/LargeHashable/MD5.dyn_o )