From: Ajay Bhargav <ajay.bhargav@einfochips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [BREAKAGE] gplugd board / armada100_fec
Date: Mon, 31 Oct 2011 16:59:00 +0530 (IST) [thread overview]
Message-ID: <2016986113.282522.1320060540458.JavaMail.root@ahm.einfochips.com> (raw)
In-Reply-To: <201110311233.25610.marek.vasut@gmail.com>
----- "Marek Vasut" <marek.vasut@gmail.com> wrote:
> > ----- "Marek Vasut" <marek.vasut@gmail.com> wrote:
> > > Dear Ajay Bhargav,
> > >
> > > I compiled the "gplugd" board and I got the following warnings,
> please
> > > fix.
> > >
> > > Configuring for gplugd board...
> > > armada100_fec.c: In function 'armdfec_init':
> > > armada100_fec.c:483:2: warning: dereferencing type-punned pointer
> will
> > > break
> > > strict-aliasing rules
> > > armada100_fec.c:484:2: warning: dereferencing type-punned pointer
> will
> > > break
> > > strict-aliasing rules
> > > armada100_fec.c: In function 'armdfec_recv':
> > > armada100_fec.c:670:2: warning: dereferencing type-punned pointer
> will
> > > break
> > > strict-aliasing rules
> > > gplugd.c: In function 'board_init':
> > > gplugd.c:95:27: error: 'MACH_TYPE_SHEEVAD' undeclared (first use
> in
> > > this
> > > function)
> > > gplugd.c:95:27: note: each undeclared identifier is reported only
> once
> > > for each
> > > function it appears in
> > >
> > > Cheers
> >
> > Hi Marek,
> >
> > May I know what version of gcc are you using?
>
> ELDK4.2 and ELDK5.0
>
> so gcc4.2 and 4.6, but I include you a testcase (edit path to
> armada100_fec.h).
>
> gcc -m32 -Wall -fstrict-aliasing -o test2 test2.c ; ./test2
>
> >
> > I will fix the MACH_TYPE_SHEEVAD as suggested by Albert.
> >
> > Regards,
> > Ajay Bhargav
>
Can you please check the patch I have just sent? I have cc it to you too.
Regards,
Ajay Bhargav
next prev parent reply other threads:[~2011-10-31 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1666782535.280872.1320040324338.JavaMail.root@ahm.einfochips.com>
2011-10-31 5:52 ` [U-Boot] [BREAKAGE] gplugd board / armada100_fec Ajay Bhargav
2011-10-31 11:33 ` Marek Vasut
2011-10-31 11:29 ` Ajay Bhargav [this message]
2011-10-28 23:44 Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2016986113.282522.1320060540458.JavaMail.root@ahm.einfochips.com \
--to=ajay.bhargav@einfochips.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.