[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    Re: Current fails in MONOLITHIC
From:       "Jonathan A. Kollasch" <jakllsch () kollasch ! net>
Date:       2011-07-25 12:24:25
Message-ID: 20110725122425.GB23664 () tarantulon ! kollasch ! net
[Download RAW message or body]

On Mon, Jul 25, 2011 at 10:39:18AM +0100, Jean-Yves Migeon wrote:
> On Sun, 24 Jul 2011 20:35:09 -0700, Paul Newhouse wrote:
> >Where did I go wrong?
> >
> >  : uname -a
> >NetBSD pimin 5.99.52 NetBSD 5.99.52 (MONOLITHIC) #1: Sat May 28
> >12:55:20 PDT
> >2011  root@pimin:/glorp/obj/sys/arch/i386/compile/MONOLITHIC i386
> >
> >/usr src from head
> >
> >  :cvs update -Pd
> >
> >Run just before build was attempted.
> 
> Snipped, to emphasize the problem:
> 
> >  --- cxdtv.o ---
> [snip]
> >    -nostdinc -DDIAGNOSTIC -DPAE -DMAXUSERS=64 -D_KERNEL
> >-D_KERNEL_OPT
> [snip]
> >  /glorp/src/sys/dev/pci/cxdtv.c: In function
> >'cxdtv_dtv_start_transfer':
> >  /glorp/src/sys/dev/pci/cxdtv.c:670: warning: format '%016lx'
> >expects
> >    type 'long unsigned int', but argument 3 has type 'bus_addr_t'
> >  *** [cxdtv.o] Error code 1
> 
> bus_addr_t is a physical address (paddr_t), and with PAE, it's a 64
> bits entity.
> 
> You should use PRIxPADDR to print paddr_t/bus_addr_t entities, it
> will automagically use the proper specifier.

I ended up removing that, but I'll try to remember to use that in the
future.

Also, should be fixed now.

	Jonathan Kollasch
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic