From: Sascha Hauer <s.hauer@pengutronix.de>
To: Juergen Beisert <jbe@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Current Barebox/Next and GCC-4.6.2
Date: Sun, 27 Nov 2011 12:12:21 +0100 [thread overview]
Message-ID: <20111127111221.GL27267@pengutronix.de> (raw)
In-Reply-To: <201111261603.16236.jbe@pengutronix.de>
On Sat, Nov 26, 2011 at 04:03:15PM +0100, Juergen Beisert wrote:
> Hi,
>
> compiling the current Barebox Next branch with a 4.6.2 GCC gives me the
> following list of warnings.
>
> common/console.c: In function 'fprintf':
> common/console.c:333:7: warning: variable 'i' set but not used [-Wunused-but-set-variable]
This one should be fixed in master.
>
> drivers/mtd/nand/nand_bbt.c: In function 'search_bbt':
> drivers/mtd/nand/nand_bbt.c:466:6: warning: variable 'bits' set but not used [-Wunused-but-set-variable]
>
> drivers/usb/core/usb.c: In function 'usb_parse_config':
> drivers/usb/core/usb.c:183:17: warning: variable 'ch' set but not used [-Wunused-but-set-variable]
> drivers/usb/core/usb.c: In function 'usb_hub_port_connect_change':
> drivers/usb/core/usb.c:1011:29: warning: variable 'portchange' set but not used [-Wunused-but-set-variable]
>
> drivers/usb/host/ohci-hcd.c: In function 'dl_transfer_length':
> drivers/usb/host/ohci-hcd.c:961:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable]
>
> This one is a little bit strange:
>
> lib/vsprintf.c: In function 'vasprintf':
> lib/vsprintf.c:595:2: warning: generating trampoline in object (requires executable stack) [-Wtrampolines]
We should probably just silence the compiler. Our stack is executable.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-11-27 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-26 15:03 Juergen Beisert
2011-11-27 11:12 ` Sascha Hauer [this message]
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=20111127111221.GL27267@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=jbe@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox