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

Bug #1423596 reported by Craig Magina
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

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

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1423596

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Craig Magina (craig.magina) wrote :

This is a build failure and the build failure is included in the initial description.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: bot-stop-nagging kernel-da-key
Revision history for this message
Ariel Martin Brunetto (abrunetto) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.