[U-Boot] [PATCH 2/9] Fix strict-aliasing warning in dlmalloc

Simon Glass sjg at chromium.org
Sun Jan 8 01:57:49 CET 2012


Hi Wolfgang,

On Fri, Jan 6, 2012 at 3:37 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon,
>
> In message <CAPnjgZ1OxJJsSEodSM-fqTN791mW-UezqWjFLQBAS-4RbFHJkQ at mail.gmail.com> you wrote:
>>
>> > Can you please tell me at least one board configuration that throws
>> > this error (preferrably ppc, arm or mips) ?
>>
>> I can't see one with those architectures. It does happen for others though:
> ...
>
> Strange.  Both MIPS and PPC build without a single warning for me.
>
> I cannot test avr32 or m68k here.
>
>> > Also, at least one for the "mpc5xxx: Fix strict-aliasing warnings in
>> > usb_ohci.c" and "ppc4xx: Fix strict-aliasing warnings in usb_ohci.c"
>> > patches?
>
> None here.
>
> I am tempted to blame your tool chain for the problems.

Could be - well you can download it for yourself if you want to try it.

http://dev.gentoo.org/~vapier/u-boot/

The warnings seems mostly reasonable (i.e. correct) to me, except for
the new USB alias one AFTER Marek's fix. That one I don't quite
understand.

>
> Is anybody else seing these warnings? With which tool chain versions?

Will wait to hear from people.

Regards,
Simon

>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> If you fail to plan, plan to fail.


More information about the U-Boot mailing list