Subject: Linux-libre 5.4.291 fails to build for i686-linux

From: Leo Famulari <[email-masked]>
Date: Wed, 26 Mar 2025 08:58:37 -0400

Linux-libre 5.4.291 is failing to build for i686-linux.

>From <https://ci.guix.gnu.org/build/9644371/details>, performed on March
15 2025:

------
[...]
  CC [M]  arch/x86/oprofile/../../../drivers/oprofile/oprofile_files.o
In file included from ./include/linux/export.h:42,
                 from ./include/linux/linkage.h:7,
                 from ./include/linux/kernel.h:8,
                 from ./include/linux/sched/mm.h:5,
                 from arch/x86/xen/mmu_pv.c:43:
arch/x86/xen/mmu_pv.c: In function 'alloc_discontig_frames':
./include/linux/compiler.h:419:45: error: call to '__compiletime_assert_120' declared with attribute error: BUILD_BUG_ON failed: sizeof(discontig_frames_early) != PAGE_SIZE
  419 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
./include/linux/compiler.h:400:25: note: in definition of macro '__compiletime_assert'
  400 |                         prefix ## suffix();                             \
      |                         ^~~~~~
./include/linux/compiler.h:419:9: note: in expansion of macro '_compiletime_assert'
  419 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
arch/x86/xen/mmu_pv.c:123:9: note: in expansion of macro 'BUILD_BUG_ON'
  123 |         BUILD_BUG_ON(sizeof(discontig_frames_early) != PAGE_SIZE);
      |         ^~~~~~~~~~~~
  CC      drivers/acpi/utils.o
  CC      net/802/fddi.o
  CC [M]  sound/firewire/motu/motu-transaction.o
  CC [M]  fs/btrfs/tree-checker.o
  CC [M]  net/6lowpan/iphc.o
  CC      security/tomoyo/domain.o
  CC [M]  fs/btrfs/space-info.o
  CC [M]  arch/x86/oprofile/../../../drivers/oprofile/oprofilefs.o
  CC [M]  crypto/lrw.o
make[2]: *** [scripts/Makefile.build:262: arch/x86/xen/mmu_pv.o] Error 1
make[1]: *** [scripts/Makefile.build:497: arch/x86/xen] Error 2
make: *** [Makefile:1755: arch/x86] Error 2
make: *** Waiting for unfinished jobs....
[...]
------

And it happened again for
<https://ci.guix.gnu.org/build/9732599/details>, performed on March 24
2025.

Any ideas?