public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Sparc build warnings
@ 2012-07-22  5:15 Marek Vasut
  2012-07-22 21:29 ` Peter Tyser
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2012-07-22  5:15 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-23 17:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-22  5:15 [U-Boot] Sparc build warnings Marek Vasut
2012-07-22 21:29 ` Peter Tyser
2012-07-23 15:03   ` Mike Frysinger
2012-07-23 17:13     ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox