Re: Broken sha512sum in coreutils

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

 



..snip..

>>> 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.
>>
>> That and the development board. You are using a sheevaplug.
>> It is also likely that Andy's hardware does fixups for misaligned
>> accesses.
>
> It's an NXP LPC3250, ARM926EJ-S.  I have no idea if the hardware is handling
> the alignment issue but that would explain why everything is exactly zero on
> that box's alignment error stats.  Searching the datasheet for 'alignment'
> doesn't tell anything relevant.

A  test would be to write a simple program like

int *integer;
char test[3];

integer = (int *)test;
printf("%d", *integer);
integer = (int *)(test+1)
printf("%d", *integer);
/* Depending on the starting address of "test", we are guaranteed that
one of the two printfs will cause an alignment error */

Execute this on both the boards, yours and the sheevaplug. Watch the
alignment error count.
If none of the printfs cause an alignment error on your board, chances
are that something is transparently fixing it up.

Jitesh

>
> -Andy
>
_______________________________________________
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