[fedora-arm] Broken sha512sum in coreutils

Gordan Bobic gordan at bobich.net
Wed Jan 12 10:23:15 UTC 2011


Chris Tyler wrote:

> (Did the PHP 2.5*5 bug come up in this discussion? On a machine without
> hardware fixup, PHP prints 5.3114652946464E-315 as the answer for 2.5*5
> with 0 in /proc/cpu/alignment, but prints 5 when fixups are enabled.
> This seems to be a useful quick test).


I just tried this on the Sheevaplug, and I cannot reproduce it on the 
F13's build of PHP:

# uname -a
Linux sheeva 2.6.36.2-vs2.3.0.36.38.2-kw #1 Fri Jan 7 19:15:14 GMT 2011 
armv5tel armv5tel armv5tel GNU/Linux

# rpm -qa | grep php
php-cli-5.3.1-2.fc13.armv5tel
php-common-5.3.1-2.fc13.armv5tel
php-5.3.1-2.fc13.armv5tel

# cat test.php
<?php
	print 2.5*5 . "\n";
?>

# php test.php
12.5

No warnings of alignment mismatch.

Has this been fixed upstream or only in Fedora?

Gordan


More information about the arm mailing list