[linux-mm-cc] Compcache warnings on ia64.

John McCabe-Dansted gmatht at gmail.com
Thu Feb 21 00:33:49 EST 2008


BTW, which mailing list should I cc discussion to? Just
linux-mm-cc at laptop.org? CC'ing all three seems a little excessive.

On Tue, Feb 19, 2008 at 6:39 AM, Nitin Gupta <nitingupta910 at gmail.com> wrote:
>  I am excited to announce first release of ccache - Compressed RAM
>  based swap device for Linux (2.6.x kernel).

FYI, I get the following warnings on ia64.

I also got a crash on Gutsy-ia64, although that could well be related
to faulty CD media, or perhaps Gutsy does not swap out ram disk pages
to swap causing it to run out of memory even when plenty of swap is
left. Anyway, I don't think ia64 is urgent for the Ubuntu LiveCDs.
I've run a ia64 machine with 256MB of ram, but if you have such an
unusual hardware configuration you don't really need 64bit pointers :)

--

ubuntu at ubuntu:~/Desktop/compcache-0.1$ make -j2
make -C /lib/modules/2.6.22-14-generic/build
M=/home/ubuntu/Desktop/compcache-0.1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent
make rule.
  CC [M]  /home/ubuntu/Desktop/compcache-0.1/sub-projects/compression/lzo-kmod/lzo1x_decompress.o
  CC [M]  /home/ubuntu/Desktop/compcache-0.1/sub-projects/compression/lzo-kmod/lzo1x_compress.o
  CC [M]  /home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.o
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:
In function 'dump_pool_info':
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:236:
warning: format '%u' expects type 'unsigned int', but argument 2 has
type 'long unsigned int'
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:236:
warning: format '%u' expects type 'unsigned int', but argument 3 has
type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:236:
warning: format '%u' expects type 'unsigned int', but argument 4 has
type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:236:
warning: format '%u' expects type 'unsigned int', but argument 5 has
type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:236:
warning: format '%u' expects type 'unsigned int', but argument 6 has
type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:
In function 'tlsf_create_memory_pool':
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:273:
warning: format '%u' expects type 'unsigned int', but argument 3 has
type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:273:
warning: format '%u' expects type 'unsigned int', but argument 4 has
type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.c:273:
warning: format '%u' expects type 'unsigned int', but argument 5 has
type 'size_t'
  CC [M]  /home/ubuntu/Desktop/compcache-0.1/compcache.o
/home/ubuntu/Desktop/compcache-0.1/compcache.c: In function
'compcache_make_request':
/home/ubuntu/Desktop/compcache-0.1/compcache.c:87: warning: passing
argument 4 of 'lzo1x_decompress_safe' from incompatible pointer type
/home/ubuntu/Desktop/compcache-0.1/compcache.c:129: warning: format
'%u' expects type 'unsigned int', but argument 3 has type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/compcache.c:140: warning: format
'%u' expects type 'unsigned int', but argument 3 has type 'size_t'
/home/ubuntu/Desktop/compcache-0.1/compcache.c: In function 'compcache_init':
/home/ubuntu/Desktop/compcache-0.1/compcache.c:200: warning: format
'%u' expects type 'unsigned int', but argument 2 has type 'size_t'
  Building modules, stage 2.
  MODPOST 4 modules
  CC      /home/ubuntu/Desktop/compcache-0.1/compcache.mod.o
  LD [M]  /home/ubuntu/Desktop/compcache-0.1/compcache.ko
  CC      /home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.mod.o
  LD [M]  /home/ubuntu/Desktop/compcache-0.1/sub-projects/allocators/tlsf-kmod/tlsf.ko
  CC      /home/ubuntu/Desktop/compcache-0.1/sub-projects/compression/lzo-kmod/lzo1x_compress.mod.o
  LD [M]  /home/ubuntu/Desktop/compcache-0.1/sub-projects/compression/lzo-kmod/lzo1x_compress.ko
  CC      /home/ubuntu/Desktop/compcache-0.1/sub-projects/compression/lzo-kmod/lzo1x_decompress.mod.o
  LD [M]  /home/ubuntu/Desktop/compcache-0.1/sub-projects/compression/lzo-kmod/lzo1x_decompress.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


More information about the linux-mm-cc mailing list