[fedora-arm] Broken sha512sum in coreutils

Andy Green andy at warmcat.com
Fri Jan 7 16:03:39 UTC 2011


On 01/07/11 15:58, Somebody in the thread at some point said:

> The results are definitely different when using the sha512sum from the
> tar ball.
>
> (/usr/src/arm/rootfs-f12 is a fresh, pristine tarball extract)
>
> Where are our methods diverging?

Dunno, kernel is different though.

[root at ivmon ~]# /tmp/sha512sum /bin/bash
ceea8800ab1258468c76839e42b1457bff8b4888766758420612dc991c04c46ef0f8fc0ea6d0fd0132f00a9666086d18900514632c0f2afe428302e2b2b5b384 
  /bin/bash
[root at ivmon ~]# /usr/bin/sha512sum /bin/bash
ceea8800ab1258468c76839e42b1457bff8b4888766758420612dc991c04c46ef0f8fc0ea6d0fd0132f00a9666086d18900514632c0f2afe428302e2b2b5b384 
  /bin/bash
[root at ivmon ~]# ls -l /tmp/sha512sum
-rwxr-xr-x 1 root root 100636 Jan 11 00:41 /tmp/sha512sum
[root at ivmon ~]# ls -l /usr/bin/sha512sum
-rwxr-xr-x 1 root root 103456 Oct  8  2009 /usr/bin/sha512sum

Is your alignment stuff all zeroes still?

[root at ivmon ~]# cat /proc/cpu/alignment
User:		0
System:		0
Skipped:	0
Half:		0
Word:		0
DWord:		0
Multi:		0
User faults:	0 (ignored)

-Andy


More information about the arm mailing list