lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] GCC & packed structs


From: Jim McNamara
Subject: RE: [lwip-users] GCC & packed structs
Date: Wed, 9 Feb 2005 16:34:30 -0000

Hi all,

Updated GCC to 3.4.3. This appears to have resolved the problem with the
system stack.

Jim.

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of
> Jim McNamara
> Sent: 07 February 2005 11:38
> To: address@hidden
> Subject: [lwip-users] GCC & packed structs
>
>
> Hi all,
>
> Has anyone come across a problem using GCC with the packed
> structs declared
> in LWIP??
>
> I've an ISR based port of LWIP and I've discovered that the
> system stack is
> being corrupted after processing of an incoming frame has begun.
>
> A quick search on the web threw up a reference to a bug in pre 3.2.1
> releases of GCC relating to "stack corrupted when passing non-byte aligned
> struct with attribute packed".
>
> Bar updating my compiler to the current version of GCC, has anyone come up
> with a handy workaround??
> Could I have configured LWIP incorrectly??
>
> I'm using an MCF5272 based board and GCC version 2.95.3.
>
> Regards,
>
> Jim.
>
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]