[oe] alignment errors

Khem Raj raj.khem at gmail.com
Fri Nov 12 17:00:49 UTC 2010


On Fri, Nov 12, 2010 at 3:25 AM, Jaap de Jong <jaap.dejong at nedap.com> wrote:
> Hi,
>
> I'm working on a recipe for ptpd2.
> When I run it on my armv5te I get traps:
>
> [ 5034.410000] Alignment trap: ptpd2 (523) PC=0x0000e7cc Instr=0xe5870004
> Address=0x0001d459 FSR 0x801
>
> What is the best way to tackle this?
> Do I have to add "__attribute__ ((packed))" on critical places?
>

avoid them they are inefficient and will paper over the real problem.
As Holger suggest
take gdb help to debug the problem and then fix it accordingly.

> Thanks!
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list