Problem report: Struct aliasing problem causes Thread_Ready_Chain corruption in 4.6.99.3

Till Straumann strauman at slac.stanford.edu
Wed Dec 6 13:58:03 CST 2006


Just for the record:

The RPC/XDR facility violates the alias rules
(I don't think current gcc exploits it, though).

This is a bit more complex because it involves
the XDR library [which dereferences a non-compliant
alias] and the 'rpcgen' ('host-tool') program that
generates non-compliant source code.

Just to illustrate that IMHO a *lot* of code is affected
in obscure ways.

-- Till

Ralf Corsepius wrote:
> On Wed, 2006-12-06 at 11:17 -0600, Joel Sherrill wrote:
>   
>> Peer Stritzinger wrote:
>>     
>
>   
>> And most importantly, does it fix your known miscompilation?
>>     
>
> ... and even more importantly: Would you guys please check if current
> rtems-4-7-branch and/or rtems-HEAD still exposes Peer's/Thomas's issue.
>
> I believe to have hacked around it for all targets.
>
> Ralf
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   




More information about the rtems-users mailing list