← Back to team overview

kernel-packages team mailing list archive

[Bug 1423596] Re: kernel fails to build after enabling arm64 64k page support on Ubuntu-3.13.0-46.75

 

Same here, failing in another expresion: (sizeof(lum) == sizeof(struct lov_mds_md_v3)).
I am using the following kernel compile configuration:

ARCH=ARM (versatilepb)
CROSS_COMPILE=arm-none-linux-gnueabi-
VERSION=linux-source-3.13.0
OS=UBUNTU 14.04

In file included from drivers/staging/lustre/include/linux/libcfs/libcfs.h:159:0,
                 from drivers/staging/lustre/lustre/lov/../include/lustre_net.h:60,
                 from drivers/staging/lustre/lustre/lov/lov_pack.c:45:
drivers/staging/lustre/lustre/lov/lov_pack.c: In function 'lov_getstripe':
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h:418:53: error: duplicate case value
 #define CLASSERT(cond) do {switch(42) {case (cond): case 0: break;}} while (0)
                                                     ^
drivers/staging/lustre/lustre/lov/lov_pack.c:632:2: note: in expansion of macro 'CLASSERT'
  CLASSERT(sizeof(lum) == sizeof(struct lov_mds_md_v3));
  ^
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h:418:40: error: previously used here
 #define CLASSERT(cond) do {switch(42) {case (cond): case 0: break;}} while (0)
                                        ^
drivers/staging/lustre/lustre/lov/lov_pack.c:632:2: note: in expansion of macro 'CLASSERT'
  CLASSERT(sizeof(lum) == sizeof(struct lov_mds_md_v3));
  ^
make[5]: *** [drivers/staging/lustre/lustre/lov/lov_pack.o] Error 1
make[4]: *** [drivers/staging/lustre/lustre/lov] Error 2
make[3]: *** [drivers/staging/lustre/lustre] Error 2
make[2]: *** [drivers/staging/lustre] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [drivers] Error 2

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1423596

Title:
  kernel fails to build after enabling arm64 64k page support on
  Ubuntu-3.13.0-46.75

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Here is the failure:

  In file included from /home/ubuntu/trusty-xgene/drivers/staging/lustre/include/linux/libcfs/libcfs.h:159:0,
                   from /home/ubuntu/trusty-xgene/drivers/staging/lustre/lustre/llite/../include/lustre_lib.h:49,
                   from /home/ubuntu/trusty-xgene/drivers/staging/lustre/lustre/llite/lloop.c:106:
  /home/ubuntu/trusty-xgene/drivers/staging/lustre/lustre/llite/lloop.c: In function ‘loop_set_fd’:
  /home/ubuntu/trusty-xgene/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h:418:53: error: duplicate case
   value
   #define CLASSERT(cond) do {switch(42) {case (cond): case 0: break;}} while (0)
                                                       ^
  /home/ubuntu/trusty-xgene/drivers/staging/lustre/lustre/llite/lloop.c:525:2: note: in expansion of macro ‘CLASSERT’
    CLASSERT(PAGE_CACHE_SIZE < (1 << (sizeof(unsigned short) * 8)));
    ^
  /home/ubuntu/trusty-xgene/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h:418:40: error: previously use
  d here
   #define CLASSERT(cond) do {switch(42) {case (cond): case 0: break;}} while (0)
                                          ^
  /home/ubuntu/trusty-xgene/drivers/staging/lustre/lustre/llite/lloop.c:525:2: note: in expansion of macro ‘CLASSERT’
    CLASSERT(PAGE_CACHE_SIZE < (1 << (sizeof(unsigned short) * 8)));
    ^
  make[7]: *** [drivers/staging/lustre/lustre/llite/lloop.o] Error 1
  make[6]: *** [drivers/staging/lustre/lustre/llite] Error 2
  make[5]: *** [drivers/staging/lustre/lustre] Error 2
  make[4]: *** [drivers/staging/lustre] Error 2
  make[3]: *** [drivers/staging] Error 2
  make[3]: *** Waiting for unfinished jobs....

  A patch was submitted upstream, but it was not up to the standards required for acceptance.
  https://lkml.org/lkml/2015/1/30/212

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1423596/+subscriptions


References