From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Sparc build warnings
Date: Sun, 22 Jul 2012 07:15:53 +0200 [thread overview]
Message-ID: <201207220715.53532.marex@denx.de> (raw)
Hello,
I just recently got the following issues when building Sparc platforms with
debian gcc 4.7.1-5. Peter, you seems to be involved, can you please check on
these?
Configuring for grsim_leon2 board...
text data bss dec hex filename
95530 3328 2640 101498 18c7a ./u-boot
interrupts.c: In function ?do_irqinfo?:
interrupts.c:213:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 3 has type ?unsigned int? [-Wformat]
interrupts.c:213:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 4 has type ?unsigned int? [-Wformat]
interrupts.c:213:11: warning: format ?%ld? expects argument of type ?long int?,
but argument 5 has type ?unsigned int? [-Wformat]
board.c: In function ?board_init_f?:
board.c:169:17: warning: unused variable ?s? [-Wunused-variable]
cmd_bdinfo.c: In function ?do_bdinfo?:
cmd_bdinfo.c:220:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:222:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:224:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:226:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:228:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
Configuring for gr_cpci_ax2000 board...
text data bss dec hex filename
152186 4608 15232 172026 29ffa ./u-boot
board.c: In function ?board_init_f?:
board.c:169:17: warning: unused variable ?s? [-Wunused-variable]
interrupts.c: In function ?do_irqinfo?:
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 3 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 4 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%ld? expects argument of type ?long int?,
but argument 5 has type ?unsigned int? [-Wformat]
cmd_bdinfo.c: In function ?do_bdinfo?:
cmd_bdinfo.c:220:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:222:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:224:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:226:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:228:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
Configuring for gr_ep2s60 board...
text data bss dec hex filename
152082 4600 16192 172874 2a34a ./u-boot
board.c: In function ?board_init_f?:
board.c:169:17: warning: unused variable ?s? [-Wunused-variable]
interrupts.c: In function ?do_irqinfo?:
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 3 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 4 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%ld? expects argument of type ?long int?,
but argument 5 has type ?unsigned int? [-Wformat]
cmd_bdinfo.c: In function ?do_bdinfo?:
cmd_bdinfo.c:220:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:222:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:224:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:226:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:228:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
Configuring for grsim board...
text data bss dec hex filename
120410 4016 12592 137018 2173a ./u-boot
interrupts.c: In function ?do_irqinfo?:
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 3 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 4 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%ld? expects argument of type ?long int?,
but argument 5 has type ?unsigned int? [-Wformat]
board.c: In function ?board_init_f?:
board.c:169:17: warning: unused variable ?s? [-Wunused-variable]
greth.c: In function ?greth_recv?:
greth.c:507:3: warning: format ?%lx? expects argument of type ?long unsigned
int?, but argument 2 has type ?unsigned int? [-Wformat]
greth.c:507:3: warning: format ?%lx? expects argument of type ?long unsigned
int?, but argument 3 has type ?unsigned int? [-Wformat]
greth.c:541:6: warning: pointer targets in assignment differ in signedness [-
Wpointer-sign]
greth.c: In function ?greth_initialize?:
greth.c:623:2: warning: format ?%lx? expects argument of type ?long unsigned
int?, but argument 2 has type ?struct greth_regs *? [-Wformat]
greth.c:655:3: warning: format ?%x? expects argument of type ?unsigned int?, but
argument 2 has type ?struct greth_regs *? [-Wformat]
greth.c:684:2: warning: format ?%x? expects argument of type ?unsigned int?, but
argument 2 has type ?struct greth_regs *? [-Wformat]
cmd_bdinfo.c: In function ?do_bdinfo?:
cmd_bdinfo.c:220:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:222:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:224:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:226:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:228:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
Configuring for gr_xc3s_1500 board...
text data bss dec hex filename
150906 4624 15232 170762 29b0a ./u-boot
interrupts.c: In function ?do_irqinfo?:
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 3 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 4 has type ?unsigned int? [-Wformat]
interrupts.c:215:11: warning: format ?%ld? expects argument of type ?long int?,
but argument 5 has type ?unsigned int? [-Wformat]
board.c: In function ?board_init_f?:
board.c:169:17: warning: unused variable ?s? [-Wunused-variable]
greth.c: In function ?greth_recv?:
greth.c:507:3: warning: format ?%lx? expects argument of type ?long unsigned
int?, but argument 2 has type ?unsigned int? [-Wformat]
greth.c:507:3: warning: format ?%lx? expects argument of type ?long unsigned
int?, but argument 3 has type ?unsigned int? [-Wformat]
greth.c:541:6: warning: pointer targets in assignment differ in signedness [-
Wpointer-sign]
greth.c: In function ?greth_initialize?:
greth.c:623:2: warning: format ?%lx? expects argument of type ?long unsigned
int?, but argument 2 has type ?struct greth_regs *? [-Wformat]
greth.c:655:3: warning: format ?%x? expects argument of type ?unsigned int?, but
argument 2 has type ?struct greth_regs *? [-Wformat]
greth.c:684:2: warning: format ?%x? expects argument of type ?unsigned int?, but
argument 2 has type ?struct greth_regs *? [-Wformat]
cmd_bdinfo.c: In function ?do_bdinfo?:
cmd_bdinfo.c:220:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:222:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:224:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:226:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
cmd_bdinfo.c:228:9: warning: format ?%lx? expects argument of type ?long
unsigned int?, but argument 2 has type ?int? [-Wformat]
--------------------- SUMMARY ----------------------------
Boards compiled: 5
Boards with warnings but no errors: 5 ( grsim_leon2 gr_cpci_ax2000 gr_ep2s60
grsim gr_xc3s_1500 )
----------------------------------------------------------
Best regards,
Marek Vasut
next reply other threads:[~2012-07-22 5:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-22 5:15 Marek Vasut [this message]
2012-07-22 21:29 ` [U-Boot] Sparc build warnings Peter Tyser
2012-07-23 15:03 ` Mike Frysinger
2012-07-23 17:13 ` 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=201207220715.53532.marex@denx.de \
--to=marex@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox