← Back to team overview

kernel-packages team mailing list archive

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

 

Public bug reported:

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References