Re: Broken sha512sum in coreutils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/07/2011 06:29 PM, Andrew Haley wrote:

>>>>> [root@sheeva ~]# cat /proc/cpu/alignment
>>>>> User:           12230853
>>>>> System:         1
>>>>> Skipped:        0
>>>>> Half:           0
>>>>> Word:           0
>>>>> DWord:          1
>>>>> Multi:          0
>>>>> User faults:    0 (ignored)
>>>>
>>>> I wrote about the alignment issue here on ARM:
>>>>
>>>> http://warmcat.com/_wp/2007/05/25/the-alignment-monster/
>>>>
>>>> If I understood it, you have a bazillion alignment faults in your user
>>>> code that aren't being fixed up, which will cause exactly this kind of
>>>> symptom with sha512sum.
>>>>
>>>> Try
>>>>
>>>> echo 2>   /proc/cpu/alignment
>>>>
>>>> (take care to keep the spaces as shown) and try the tests again.
>>>
>>> Yup, that fixes it! :)
>>>
>>> So what is the correct/permanent solution to avoid problems like this?
>
> That was a fantastic piece of detective work!
>
> This must be a bug in sha512sum -- it shouldn't be affected by alignment.

I am inclined to think it might be compiler related. Andy's package is 
the same version as mine, his works, mine does not. The only thing that 
is likely to be different is the build environment.

Gordan
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux