Red Hat Bugzilla – Bug 507466
Last modified: 2009-07-23 15:10:44 EDT
Created attachment 349000 [details]
Description of problem:
In the implementation of tiger_final() in tiger.c, the array "temp" is defined as "mutils_word8". However, later it is used by typecasting it to ((mutils_word64*)temp). This unaligned access causes problems on ARM and as a result, TIGER's test fails.
Version-Release number of selected component (if applicable):
I have used mhash-0.9.9-7 version of mhash in the investigation.
Try to build mhash on ARM on f11 root.
A sample build can be found here:
TIGER test failed.
All tests should succeed.
I have attached a patch which forces 64-bit alignment on "temp". mhash built successfully on ARM with this patch. Kindly review and let me know whether it is correct.
mhash-0.9.9.9-1.fc10 has been submitted as an update for Fedora 10.
mhash-0.9.9.9-1.fc11 has been submitted as an update for Fedora 11.
mhash-0.9.9.9-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
mhash-0.9.9.9-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.