[fpc-devel] Re: fpc build problems on some debian armel buildds

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Thu Jun 30 23:22:00 CEST 2011


peter green wrote:
> Riku Voipio wrote:
>>
>> Qemu allows unaligned memory accesses, which do not always work on real
>> hardware, especially on armv5 and other older arms.
>>   
> Do you know specifically how the debian buildds handle unaligned 
> accesses? do they fix them up? do they generate a bus error? do they let 
> them go silently wrong?

Google suggests that it's a known issue [1], and that the degree of 
warning etc. may be controlled using /proc/cpu/alignment [2]

1] http://qemu-forum.ipi.fi/viewtopic.php?f=20&t=5543

2] 
http://lecs.cs.ucla.edu/wiki/index.php/XScale_alignment#Have_the_kernel_find_the_problem_for_you

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list